Class WrapperPlayClientWindowClick

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientWindowClick

public class WrapperPlayClientWindowClick extends AbstractPacket
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
  • Constructor Details

    • WrapperPlayClientWindowClick

      public WrapperPlayClientWindowClick()
    • WrapperPlayClientWindowClick

      public WrapperPlayClientWindowClick(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'
    • 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'
    • getSlotNum

      public int getSlotNum()
      Retrieves the value of field 'slotNum'
      Returns:
      'slotNum'
    • setSlotNum

      public void setSlotNum(int value)
      Sets the value of field 'slotNum'
      Parameters:
      value - New value for field 'slotNum'
    • getButtonNum

      public int getButtonNum()
      Retrieves the value of field 'buttonNum'
      Returns:
      'buttonNum'
    • setButtonNum

      public void setButtonNum(int value)
      Sets the value of field 'buttonNum'
      Parameters:
      value - New value for field 'buttonNum'
    • getClickTypeInternal

      @Deprecated public com.comphenix.protocol.events.InternalStructure getClickTypeInternal()
      Deprecated.
      {Use getClickType() instead}
      Retrieves the value of field 'clickType'
      Returns:
      'clickType'
    • setClickType

      @Deprecated public void setClickType(com.comphenix.protocol.events.InternalStructure value)
      Deprecated.
      Sets the value of field 'clickType'
      Parameters:
      value - New value for field 'clickType'
    • getClickType

      Retrieves the value of field 'clickType'
      Returns:
      'clickType'
    • setClickType

      public void setClickType(WrapperPlayClientWindowClick.WrappedClickType value)
      Sets the value of field 'clickType'
      Parameters:
      value - New value for field 'clickType'
    • 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'
    • getChangedSlots

      public it.unimi.dsi.fastutil.ints.Int2ObjectMap<org.bukkit.inventory.ItemStack> getChangedSlots()
      Retrieves the value of field 'changedSlots'
      Returns:
      'changedSlots'
    • setChangedSlots

      public void setChangedSlots(it.unimi.dsi.fastutil.ints.Int2ObjectMap<org.bukkit.inventory.ItemStack> value)
      Sets the value of field 'changedSlots'
      Parameters:
      value - New value for field 'changedSlots'