MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / onBlockEventReceived

Method onBlockEventReceived

src/main/java/net/minecraft/block/Block.java:1093–1096  ·  view source on GitHub ↗

Called on both Client and Server when World#addBlockEvent is called

(World worldIn, BlockPos pos, IBlockState state, int eventID, int eventParam)

Source from the content-addressed store, hash-verified

1091 * Called on both Client and Server when World#addBlockEvent is called
1092 */
1093 public boolean onBlockEventReceived(World worldIn, BlockPos pos, IBlockState state, int eventID, int eventParam)
1094 {
1095 return false;
1096 }
1097
1098 /**
1099 * Return the state of blocks statistics flags - if the block is counted for mined and placed.

Callers 2

addBlockEventMethod · 0.45
fireBlockEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected