Class InventoryShape

java.lang.Object
ru.cwcode.tkach.refreshmenu.inventory.shape.InventoryShape

public class InventoryShape extends Object
  • Constructor Details

  • Method Details

    • builder

      public static ShapeBuilder builder()
    • defaultPagedShape

      public static ShapeBuilder defaultPagedShape()
    • defaultArtExtendedShape

      public static ShapeBuilder defaultArtExtendedShape()
    • defaultMultiShapeArtExtendedShape

      public static ShapeBuilder defaultMultiShapeArtExtendedShape()
    • createInventory

      public org.bukkit.inventory.Inventory createInventory(View view)
    • charAtIndex

      @Deprecated public char charAtIndex(int index)
      Deprecated.
      Throws:
      IndexOutOfBoundsException - if the index argument is negative or not less than the length of this shape.
      Use the findCharAtIndex instead
    • findCharAtIndex

      public Optional<Character> findCharAtIndex(int index)
    • howMany

      public int howMany(char toCount)
    • setShape

      public void setShape(String... shape)
    • getJoinedShape

      public String getJoinedShape()
    • clone

      public InventoryShape clone()
      Overrides:
      clone in class Object