Class PlayerContainer

java.lang.Object
com.github.darksoulq.abyssallib.world.menu.PlayerContainer
All Implemented Interfaces:
Container

public class PlayerContainer extends Object implements Container
  • Constructor Details

    • PlayerContainer

      public PlayerContainer()
  • Method Details

    • getContainerSize

      public int getContainerSize()
      Specified by:
      getContainerSize in interface Container
    • isEmpty

      public boolean isEmpty(org.bukkit.entity.Player player)
      Specified by:
      isEmpty in interface Container
    • getItem

      public org.bukkit.inventory.ItemStack getItem(org.bukkit.entity.Player player, int slot)
      Specified by:
      getItem in interface Container
    • removeItem

      public org.bukkit.inventory.ItemStack removeItem(org.bukkit.entity.Player player, int slot, int amount)
      Specified by:
      removeItem in interface Container
    • removeItemNoUpdate

      public org.bukkit.inventory.ItemStack removeItemNoUpdate(org.bukkit.entity.Player player, int slot)
      Specified by:
      removeItemNoUpdate in interface Container
    • setItem

      public void setItem(org.bukkit.entity.Player player, int slot, org.bukkit.inventory.ItemStack stack)
      Specified by:
      setItem in interface Container
    • getMaxStackSize

      public int getMaxStackSize()
      Specified by:
      getMaxStackSize in interface Container
    • setChanged

      public void setChanged()
      Specified by:
      setChanged in interface Container
    • stillValid

      public boolean stillValid(org.bukkit.entity.Player player)
      Specified by:
      stillValid in interface Container
    • canPlaceItem

      public boolean canPlaceItem(org.bukkit.entity.Player player, int slot, org.bukkit.inventory.ItemStack stack)
      Specified by:
      canPlaceItem in interface Container
    • clearContent

      public void clearContent(org.bukkit.entity.Player player)
      Specified by:
      clearContent in interface Container
    • addListener

      public void addListener(ContainerListener listener)
      Specified by:
      addListener in interface Container
    • removeListener

      public void removeListener(ContainerListener listener)
      Specified by:
      removeListener in interface Container