public interface EnvironmentAware
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends Environment> |
providedEnvironment(net.minecraft.item.ItemStack stack)
Get the type of environment that would be created for the specified
block or item.
|
java.lang.Class<? extends Environment> providedEnvironment(net.minecraft.item.ItemStack stack)
Item.worksWith(net.minecraft.item.ItemStack)
returns true.stack - the item stack representing a block or item to get the
related environment type for.