1016101710181019102010211022
event.getMessages().add(new EntityRemoveEffectMessage(event.getEntity().getId(), (byte) event.getEffect().getId())); } @EventHandler public void onBlockBreakAnimation(BlockBreakAnimationEvent event) { event.getMessages().add(new BlockBreakAnimationMessage(event.getEntity().getId(), (int) event.getPoint().getX(), (int) event.getPoint().getY(), (int) event.getPoint().getZ(), event.getLevel(), getRepositionManager())); }
46474849505152
int entityId = buffer.readInt(); int x = buffer.readInt(); int y = buffer.readInt(); int z = buffer.readInt(); byte stage = buffer.readByte(); return new BlockBreakAnimationMessage(entityId, x, y, z, stage, NullRepositionManager.getInstance()); }