Class WrapperPlayServerRelEntityMove

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

public class WrapperPlayServerRelEntityMove extends AbstractPacket
Sent by the server when an entity 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

    • WrapperPlayServerRelEntityMove

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

      public WrapperPlayServerRelEntityMove(com.comphenix.protocol.events.PacketContainer packet)
  • 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)
    • getOnGround

      public boolean getOnGround()
    • setOnGround

      public void setOnGround(boolean value)