Class WrapperPlayServerRelEntityMoveLook

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerRelEntityMoveLook

public class WrapperPlayServerRelEntityMoveLook extends AbstractPacket
Sent by the server when an entity rotates and moves less than 8 blocks; if an entity moves more than 8 blocks WrapperPlayServerEntityTeleport should be sent instead.
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The packet type that is wrapped by this wrapper.
  • Constructor Details

    • WrapperPlayServerRelEntityMoveLook

      public WrapperPlayServerRelEntityMoveLook()
      Constructs a new wrapper and initialize it with a packet handle with default values
    • WrapperPlayServerRelEntityMoveLook

      public WrapperPlayServerRelEntityMoveLook(com.comphenix.protocol.events.PacketContainer packet)
      Constructors a new wrapper for the specified packet
      Parameters:
      packet - the packet to wrap
  • Method Details

    • getEntityId

      public int getEntityId()
    • setEntityId

      public void setEntityId(int value)
    • getDeltaX

      public short getDeltaX()
    • setDeltaX

      public void setDeltaX(short value)
    • getDeltaY

      public short getDeltaY()
    • setDeltaY

      public void setDeltaY(short value)
    • getDeltaZ

      public short getDeltaZ()
    • setDeltaZ

      public void setDeltaZ(short value)
    • getYaw

      public float getYaw()
    • setYaw

      public void setYaw(float value)
    • getPitch

      public float getPitch()
    • setPitch

      public void setPitch(float value)
    • getOnGround

      public boolean getOnGround()
    • setOnGround

      public void setOnGround(boolean value)