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 ShapeBuilderfindCharAtIndex(int index)getName()String[]getShape()getType()inthowMany(char toCount)voidvoidvoidsetType(InventoryTypeHolder type)
-
Constructor Details
-
InventoryShape
public InventoryShape()
-
Method Details
-
builder
-
defaultPagedShape
-
defaultArtExtendedShape
-
defaultMultiShapeArtExtendedShape
-
getType
-
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) -
getName
-
setName
-
getShape
-
setShape
-
getIngredientMap
-
getJoinedShape
-
clone
-