Modifier and Type | Method and Description |
---|---|
boolean |
worksWith(net.minecraft.item.ItemStack stack,
java.lang.Class<? extends EnvironmentHost> host)
Used to determine the item types this driver handles.
|
boolean worksWith(net.minecraft.item.ItemStack stack, java.lang.Class<? extends EnvironmentHost> host)
stack
- the item to check.host
- the type of host the environment would live in.