Class WrapperPlayClientEnchantItem
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientEnchantItem
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientEnchantItem
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves the value of field 'buttonId'int
Retrieves the value of field 'containerId'void
setButtonId
(int value) Sets the value of field 'buttonId'void
setContainerId
(int value) Sets the value of field 'containerId'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
-
WrapperPlayClientEnchantItem
public WrapperPlayClientEnchantItem() -
WrapperPlayClientEnchantItem
public WrapperPlayClientEnchantItem(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getContainerId
public int getContainerId()Retrieves the value of field 'containerId'- Returns:
- 'containerId'
-
setContainerId
public void setContainerId(int value) Sets the value of field 'containerId'- Parameters:
value
- New value for field 'containerId'
-
getButtonId
public int getButtonId()Retrieves the value of field 'buttonId'- Returns:
- 'buttonId'
-
setButtonId
public void setButtonId(int value) Sets the value of field 'buttonId'- Parameters:
value
- New value for field 'buttonId'
-