Class WrapperPlayClientUseItem
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientUseItem
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientUseItem
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptioncom.comphenix.protocol.wrappers.EnumWrappers.Hand
getHand()
Retrieves the value of field 'hand'int
Retrieves the value of field 'sequence'long
Retrieves the value of field 'timestamp'void
setHand
(com.comphenix.protocol.wrappers.EnumWrappers.Hand value) Sets the value of field 'hand'void
setSequence
(int value) Sets the value of field 'sequence'void
setTimestamp
(long value) Sets the value of field 'timestamp'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
-
WrapperPlayClientUseItem
public WrapperPlayClientUseItem() -
WrapperPlayClientUseItem
public WrapperPlayClientUseItem(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getHand
public com.comphenix.protocol.wrappers.EnumWrappers.Hand getHand()Retrieves the value of field 'hand'- Returns:
- 'hand'
-
setHand
public void setHand(com.comphenix.protocol.wrappers.EnumWrappers.Hand value) Sets the value of field 'hand'- Parameters:
value
- New value for field 'hand'
-
getSequence
public int getSequence()Retrieves the value of field 'sequence'- Returns:
- 'sequence'
-
setSequence
public void setSequence(int value) Sets the value of field 'sequence'- Parameters:
value
- New value for field 'sequence'
-
getTimestamp
public long getTimestamp()Retrieves the value of field 'timestamp'- Returns:
- 'timestamp'
-
setTimestamp
public void setTimestamp(long value) Sets the value of field 'timestamp'- Parameters:
value
- New value for field 'timestamp'
-