int blockId = this.getBlockIdWithoutLoad(blockEvent.getX(), blockEvent.getY(), blockEvent.getZ());
if (blockId != -1 && blockId == blockEvent.getBlockID()) {
Block block = Block.blocksList[blockId];
if (block != null) {
block.onBlockEventReceived(this, blockEvent.getX(), blockEvent.getY(), blockEvent.getZ(), blockEvent.getEventID(), blockEvent.getEventParameter());
return true;
}
}
return false;
}