classpublicPriority 3
ChangeVelocity
com.hypixel.hytale.protocol.packets.entities.ChangeVelocity
implements Packet
7
Methods
7
Public Methods
5
Fields
3
Constructors
Constants
intFIXED_BLOCK_SIZE= 35
booleanIS_COMPRESSED= false
intMAX_SIZE= 35
intNULLABLE_BIT_FIELD_SIZE= 1
intPACKET_ID= 163
intVARIABLE_BLOCK_START= 35
intVARIABLE_FIELD_COUNT= 0
Constructors
public
ChangeVelocity()public
ChangeVelocity(float x, float y, float z, ChangeVelocityType changeType, VelocityConfig config)public
ChangeVelocity(ChangeVelocity other)Methods
Public Methods (7)
publicstatic
int computeBytesConsumed(ByteBuf buf, int offset)public
int computeSize()@Override
public
boolean equals(Object obj)@Override
public
int getId()@Override
public
int hashCode()@Override
public
void serialize(ByteBuf buf)@Override
publicstatic
ValidationResult validateStructure(ByteBuf buffer, int offset)Fields
Public Fields (5)
public
ChangeVelocityType changeTypepublic
VelocityConfig configpublic
float xpublic
float ypublic
float z