Class WrapperPlayServerEntityVelocity
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerEntityVelocity
-
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 valuesWrapperPlayServerEntityVelocity
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
Retrieves the value of field 'id'int
getXa()
Retrieves the value of field 'xa'int
getYa()
Retrieves the value of field 'ya'int
getZa()
Retrieves the value of field 'za'void
setId
(int value) Sets the value of field 'id'void
setXa
(int value) Sets the value of field 'xa'void
setYa
(int value) Sets the value of field 'ya'void
setZa
(int value) Sets the value of field 'za'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
-
WrapperPlayServerEntityVelocity
public WrapperPlayServerEntityVelocity()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerEntityVelocity
public WrapperPlayServerEntityVelocity(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getId
public int getId()Retrieves the value of field 'id'- Returns:
- 'id'
-
setId
public void setId(int value) Sets the value of field 'id'- Parameters:
value
- New value for field 'id'
-
getXa
public int getXa()Retrieves the value of field 'xa'- Returns:
- 'xa'
-
setXa
public void setXa(int value) Sets the value of field 'xa'- Parameters:
value
- New value for field 'xa'
-
getYa
public int getYa()Retrieves the value of field 'ya'- Returns:
- 'ya'
-
setYa
public void setYa(int value) Sets the value of field 'ya'- Parameters:
value
- New value for field 'ya'
-
getZa
public int getZa()Retrieves the value of field 'za'- Returns:
- 'za'
-
setZa
public void setZa(int value) Sets the value of field 'za'- Parameters:
value
- New value for field 'za'
-