Class InventoryShape
java.lang.Object
ru.cwcode.tkach.refreshmenu.inventory.shape.InventoryShape
-
Constructor Summary
ConstructorsConstructorDescriptionInventoryShape(String name, String[] shape, InventoryTypeHolder type, HashMap<Character, Ingredient> ingredients) -
Method Summary
Modifier and TypeMethodDescriptionstatic ShapeBuilderbuilder()charcharAtIndex(int index) Deprecated.clone()org.bukkit.inventory.InventorycreateInventory(View view) static ShapeBuilderstatic ShapeBuilderstatic ShapeBuilderstatic ShapeBuilderfindCharAtIndex(int index) inthowMany(char toCount) void
-
Constructor Details
-
InventoryShape
public InventoryShape()
-
Method Details
-
builder
-
defaultPagedShape
-
defaultCraftShape
-
defaultArtExtendedShape
-
defaultMultiShapeArtExtendedShape
-
charAtIndex
Deprecated.- Throws:
IndexOutOfBoundsException- if theindexargument is negative or not less than the length of this shape.
Use thefindCharAtIndexinstead
-
findCharAtIndex
-
howMany
public int howMany(char toCount) -
setShape
-
getJoinedShape
-
clone
-