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

Method addBlockEvent

src/main/java/net/minecraft/world/World.java:3485–3488  ·  view source on GitHub ↗
(BlockPos pos, Block blockIn, int eventID, int eventParam)

Source from the content-addressed store, hash-verified

3483 }
3484
3485 public void addBlockEvent(BlockPos pos, Block blockIn, int eventID, int eventParam)
3486 {
3487 blockIn.onBlockEventReceived(this, pos, this.getBlockState(pos), eventID, eventParam);
3488 }
3489
3490 /**
3491 * Returns this world's current save handler

Callers 11

handleBlockActionMethod · 0.45
triggerNoteMethod · 0.45
func_98267_aMethod · 0.45
updateMethod · 0.45
openChestMethod · 0.45
closeChestMethod · 0.45
openInventoryMethod · 0.45
closeInventoryMethod · 0.45
checkForMoveMethod · 0.45
onNeighborBlockChangeMethod · 0.45
runMethod · 0.45

Calls 2

getBlockStateMethod · 0.95
onBlockEventReceivedMethod · 0.45

Tested by

no test coverage detected