Class WrapperPlayServerRelEntityMoveLook
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerRelEntityMoveLook
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketType
The packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerRelEntityMoveLook
(com.comphenix.protocol.events.PacketContainer packet) Constructors a new wrapper for the specified packet -
Method Summary
Modifier and TypeMethodDescriptionshort
short
short
int
boolean
float
getPitch()
float
getYaw()
void
setDeltaX
(short value) void
setDeltaY
(short value) void
setDeltaZ
(short value) void
setEntityId
(int value) void
setOnGround
(boolean value) void
setPitch
(float value) void
setYaw
(float value) Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPEThe 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)
-