Package org.spout.vanilla.protocol.msg.player

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

Related Classes of org.spout.vanilla.protocol.msg.player.PlayerUseEntityMessage

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.