Class WrapperPlayServerEntityEquipment

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerEntityEquipment

public class WrapperPlayServerEntityEquipment extends AbstractPacket
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Constructors
    Constructor
    Description
    Constructs a new wrapper and initialize it with a packet handle with default values
    WrapperPlayServerEntityEquipment(com.comphenix.protocol.events.PacketContainer packet)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Retrieves the value of field 'entity'
    List<com.comphenix.protocol.wrappers.Pair<com.comphenix.protocol.wrappers.EnumWrappers.ItemSlot,org.bukkit.inventory.ItemStack>>
    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The 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'