Examples of PlayerUseEntityMessage


Examples of org.spout.vanilla.protocol.msg.player.PlayerUseEntityMessage

  @Override
  public PlayerUseEntityMessage decode(ByteBuf buffer) throws IOException {
    int id = buffer.readInt();
    int target = buffer.readInt();
    boolean punching = buffer.readByte() != 0;
    return new PlayerUseEntityMessage(id, target, punching);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.