public interface IBlockListener extends IChunkBlock
| Modifier and Type | Method and Description |
|---|---|
boolean |
onBlockRemoved(net.minecraft.world.World world,
net.minecraft.util.BlockPos pos,
net.minecraft.util.BlockPos blockRemoved)
Called when a block is removed around this
IBlockListener block. |
boolean |
onBlockSet(net.minecraft.world.World world,
net.minecraft.util.BlockPos pos,
MBlockState blockSet)
Called when a block is placed around this
IBlockListener block. |
blockRangeboolean onBlockSet(net.minecraft.world.World world,
net.minecraft.util.BlockPos pos,
MBlockState blockSet)
IBlockListener block.world - the worldpos - the posblockSet - the block setboolean onBlockRemoved(net.minecraft.world.World world,
net.minecraft.util.BlockPos pos,
net.minecraft.util.BlockPos blockRemoved)
IBlockListener block.world - the worldpos - the posblockRemoved - the block removed