public static interface IBlockListener.Pre extends IChunkBlock
| Modifier and Type | Method and Description |
|---|---|
boolean |
onBlockSet(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos listener,
net.minecraft.util.math.BlockPos modified,
net.minecraft.block.state.IBlockState oldState,
net.minecraft.block.state.IBlockState newState)
Called when a block is placed around this
IBlockListener block. |
blockRange, isInRangeboolean onBlockSet(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos listener,
net.minecraft.util.math.BlockPos modified,
net.minecraft.block.state.IBlockState oldState,
net.minecraft.block.state.IBlockState newState)
IBlockListener block.world - the worldlistener - the listenermodified - the modifiedoldState - the old statenewState - the new state