Class MinestomInventorySize

java.lang.Object
me.hsgamer.hscore.minestom.gui.object.MinestomInventorySize
All Implemented Interfaces:
InventorySize

public class MinestomInventorySize extends Object implements InventorySize
The InventorySize of Inventory
  • Constructor Details

    • MinestomInventorySize

      public MinestomInventorySize(net.minestom.server.inventory.Inventory inventory)
      Create a new instance
      Parameters:
      inventory - the inventory
  • Method Details

    • getSize

      public int getSize()
      Description copied from interface: InventorySize
      Get the size of the inventory
      Specified by:
      getSize in interface InventorySize
      Returns:
      the size
    • getSlotPerRow

      public int getSlotPerRow()
      Description copied from interface: InventorySize
      Get the slot per row
      Specified by:
      getSlotPerRow in interface InventorySize
      Returns:
      the slot per row