C0BPacketEntityAction
Constructs a new C0BPacketEntityAction object for the specified entity and action. The entity parameter is an instance of Entity, and the action is a string representing the action to be performed.
getAction(): String
getAction(): StringReturns the action name associated with this packet. The action is returned as a string.
setAction(String action): void
setAction(String action): voidSets the action of the packet.
getAuxData(): int
getAuxData(): intRetrieves the auxiliary data associated with the action. This is typically an integer value providing additional context or details about the action.
setAuxData(int data): void
setAuxData(int data): voidSets the packet's auxData attribute.
Entity actions
START_SNEAKINGSTOP_SNEAKINGSTOP_SLEEPINGSTART_SPRINTINGSTOP_SPRINTINGRIDING_JUMPOPEN_INVENTORY
Last updated