Package org.spout.vanilla.protocol.msg.world.block

Examples of org.spout.vanilla.protocol.msg.world.block.BlockBreakAnimationMessage


    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()));
  }
View Full Code Here


    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());
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.protocol.msg.world.block.BlockBreakAnimationMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.