public interface IBlockDefinition extends IItemDefinition
Modifier and Type | Method and Description |
---|---|
boolean |
isSameAs(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
Compare Block with world.
|
com.google.common.base.Optional<net.minecraft.block.Block> |
maybeBlock() |
com.google.common.base.Optional<net.minecraft.item.ItemBlock> |
maybeItemBlock() |
isEnabled, maybeItem, maybeStack
isSameAs
com.google.common.base.Optional<net.minecraft.block.Block> maybeBlock()
Block
implementation if applicablecom.google.common.base.Optional<net.minecraft.item.ItemBlock> maybeItemBlock()
ItemBlock
implementation if applicableboolean isSameAs(net.minecraft.world.IBlockAccess world, int x, int y, int z)
isSameAs
in interface IComparableDefinition
world
- world of blockx
- x pos of blocky
- y pos of blockz
- z pos of block