java.lang.Object
ru.cwcode.tkach.refreshmenu.inventory.type.ChestType
All Implemented Interfaces:
InventoryTypeHolder

public class ChestType extends Object implements InventoryTypeHolder
  • Constructor Details

    • ChestType

      public ChestType(int size)
    • ChestType

      public ChestType()
  • Method Details

    • getNearest

      public static int getNearest(int size)
    • getSize

      public int getSize()
      Specified by:
      getSize in interface InventoryTypeHolder
    • getType

      public org.bukkit.event.inventory.InventoryType getType()
      Specified by:
      getType in interface InventoryTypeHolder
    • createInventory

      public org.bukkit.inventory.Inventory createInventory(View view, net.kyori.adventure.text.Component name)
      Specified by:
      createInventory in interface InventoryTypeHolder
    • setSize

      public int setSize(int size)