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

Examples of org.spout.vanilla.protocol.msg.entity.pos.EntityVelocityMessage


  public EntityVelocityMessage decode(ByteBuf buffer) throws IOException {
    int id = buffer.readInt();
    int vx = buffer.readUnsignedShort();
    int vy = buffer.readUnsignedShort();
    int vz = buffer.readUnsignedShort();
    return new EntityVelocityMessage(id, vx, vy, vz);
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.protocol.msg.entity.pos.EntityVelocityMessage

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.