Class WrapperPlayServerEntityEquipment
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerEntityEquipment
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketType
The packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerEntityEquipment
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves the value of field 'entity'List<com.comphenix.protocol.wrappers.Pair<com.comphenix.protocol.wrappers.EnumWrappers.ItemSlot,
org.bukkit.inventory.ItemStack>> getSlots()
Retrieves the value of field 'slots'void
setEntity
(int value) Sets the value of field 'entity'void
setSlots
(List<com.comphenix.protocol.wrappers.Pair<com.comphenix.protocol.wrappers.EnumWrappers.ItemSlot, org.bukkit.inventory.ItemStack>> value) Sets the value of field 'slots'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 TYPEThe packet type that is wrapped by this wrapper.
-
-
Constructor Details
-
WrapperPlayServerEntityEquipment
public WrapperPlayServerEntityEquipment()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerEntityEquipment
public WrapperPlayServerEntityEquipment(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getEntity
public int getEntity()Retrieves the value of field 'entity'- Returns:
- 'entity'
-
setEntity
public void setEntity(int value) Sets the value of field 'entity'- Parameters:
value
- New value for field 'entity'
-
getSlots
public List<com.comphenix.protocol.wrappers.Pair<com.comphenix.protocol.wrappers.EnumWrappers.ItemSlot,org.bukkit.inventory.ItemStack>> getSlots()Retrieves the value of field 'slots'- Returns:
- 'slots'
-
setSlots
public void setSlots(List<com.comphenix.protocol.wrappers.Pair<com.comphenix.protocol.wrappers.EnumWrappers.ItemSlot, org.bukkit.inventory.ItemStack>> value) Sets the value of field 'slots'- Parameters:
value
- New value for field 'slots'
-