Class WrapperPlayClientEntityAction
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientEntityAction
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle -
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientEntityAction(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptioncom.comphenix.protocol.wrappers.EnumWrappers.PlayerActionRetrieves the value of field 'action'intgetData()Retrieves the value of field 'data'intgetId()Retrieves the value of field 'id'voidsetAction(com.comphenix.protocol.wrappers.EnumWrappers.PlayerAction value) Sets the value of field 'action'voidsetData(int value) Sets the value of field 'data'voidsetId(int value) Sets the value of field 'id'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 TYPE
-
-
Constructor Details
-
WrapperPlayClientEntityAction
public WrapperPlayClientEntityAction() -
WrapperPlayClientEntityAction
public WrapperPlayClientEntityAction(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'
-
getAction
public com.comphenix.protocol.wrappers.EnumWrappers.PlayerAction getAction()Retrieves the value of field 'action'- Returns:
- 'action'
-
setAction
public void setAction(com.comphenix.protocol.wrappers.EnumWrappers.PlayerAction value) Sets the value of field 'action'- Parameters:
value- New value for field 'action'
-
getData
public int getData()Retrieves the value of field 'data'- Returns:
- 'data'
-
setData
public void setData(int value) Sets the value of field 'data'- Parameters:
value- New value for field 'data'
-