public interface IBlockBehaviors
Modifier and Type | Method and Description |
---|---|
void |
neighborChanged(World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos)
Called when a neighboring block was changed and marks that this state should perform any checks during a neighbor
change.
|
boolean |
onBlockEventReceived(World worldIn,
BlockPos pos,
int id,
int param)
Called on both Client and Server when World#addBlockEvent is called.
|
boolean onBlockEventReceived(World worldIn, BlockPos pos, int id, int param)
void neighborChanged(World worldIn, BlockPos pos, Block blockIn, BlockPos fromPos)