public interface IBlockDefinition extends IItemDefinition
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSameAs(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos)
Compare Block with world.
|
java.util.Optional<net.minecraft.block.Block> |
maybeBlock() |
java.util.Optional<net.minecraft.item.ItemBlock> |
maybeItemBlock() |
identifier, isEnabled, maybeItem, maybeStackisSameAsjava.util.Optional<net.minecraft.block.Block> maybeBlock()
Block implementation if applicablejava.util.Optional<net.minecraft.item.ItemBlock> maybeItemBlock()
ItemBlock implementation if applicableboolean isSameAs(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos)
world - world of blockpos - location