Class WrapperPlayServerWindowItems

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

public class WrapperPlayServerWindowItems extends AbstractPacket
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The packet type that is wrapped by this wrapper.
  • Constructor Details

    • WrapperPlayServerWindowItems

      public WrapperPlayServerWindowItems()
      Constructs a new wrapper and initialize it with a packet handle with default values
    • WrapperPlayServerWindowItems

      public WrapperPlayServerWindowItems(com.comphenix.protocol.events.PacketContainer packet)
      Constructors a new wrapper for the specified packet
      Parameters:
      packet - the packet to wrap
  • 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'
    • getStateId

      public int getStateId()
      Retrieves the value of field 'stateId'
      Returns:
      'stateId'
    • setStateId

      public void setStateId(int value)
      Sets the value of field 'stateId'
      Parameters:
      value - New value for field 'stateId'
    • getItems

      public List<org.bukkit.inventory.ItemStack> getItems()
      Retrieves the value of field 'items'
      Returns:
      'items'
    • setItems

      public void setItems(List<org.bukkit.inventory.ItemStack> value)
      Sets the value of field 'items'
      Parameters:
      value - New value for field 'items'
    • getCarriedItem

      public org.bukkit.inventory.ItemStack getCarriedItem()
      Retrieves the value of field 'carriedItem'
      Returns:
      'carriedItem'
    • setCarriedItem

      public void setCarriedItem(org.bukkit.inventory.ItemStack value)
      Sets the value of field 'carriedItem'
      Parameters:
      value - New value for field 'carriedItem'