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

Examples of org.spout.vanilla.protocol.msg.player.pos.PlayerLookMessage


  @Override
  public PlayerLookMessage decode(ByteBuf buffer) throws IOException {
    float yaw = -buffer.readFloat();
    float pitch = buffer.readFloat();
    boolean onGround = buffer.readByte() == 1;
    return new PlayerLookMessage(yaw, pitch, onGround);
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.protocol.msg.player.pos.PlayerLookMessage

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.