public interface EnvironmentProvider
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getEnvironment(net.minecraft.item.ItemStack stack)
Get the environment provided by the specified stack.
|
java.lang.Class<?> getEnvironment(net.minecraft.item.ItemStack stack)
Environment
interface
could be injected by the class transformer at runtime.
DriverItem.createEnvironment(net.minecraft.item.ItemStack, li.cil.oc.api.network.EnvironmentHost)
method.stack
- the stack to get the environment type for.