Package net.lightstone.msg

Examples of net.lightstone.msg.EntityTeleportMessage


    int x = buffer.readInt();
    int y = buffer.readInt();
    int z = buffer.readInt();
    int rotation = buffer.readUnsignedByte();
    int pitch = buffer.readUnsignedByte();
    return new EntityTeleportMessage(id, x, y, z, rotation, pitch);
  }
View Full Code Here


    int yaw = rotation.getIntYaw();
    int pitch = rotation.getIntPitch();

    if (moved && teleport) {
      return new EntityTeleportMessage(id, x, y, z, yaw, pitch);
    } else if (moved && rotated) {
      return new RelativeEntityPositionRotationMessage(id, dx, dy, dz, yaw, pitch);
    } else if (moved) {
      return new RelativeEntityPositionMessage(id, dx, dy, dz);
    } else if (rotated) {
View Full Code Here

TOP

Related Classes of net.lightstone.msg.EntityTeleportMessage

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.