Class InventoryPattern
java.lang.Object
studio.magemonkey.fusion.data.professions.pattern.InventoryPattern
- All Implemented Interfaces:
org.bukkit.configuration.serialization.ConfigurationSerializable
public class InventoryPattern
extends Object
implements org.bukkit.configuration.serialization.ConfigurationSerializable
-
Constructor Summary
ConstructorsConstructorDescriptionInventoryPattern(String[] pattern, HashMap<Character, org.bukkit.inventory.ItemStack> items) InventoryPattern(Map<String, Object> map) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()static InventoryPatterncopy(InventoryPattern pattern) List<studio.magemonkey.codex.api.DelayedCommand> getCommands(char c) getCycledCharacter(char c, boolean forward) intgetSlot(int slot) booleanisUsed(char c) voidreplaceSlot(int slot, char c) toString()
-
Constructor Details
-
InventoryPattern
-
InventoryPattern
-
-
Method Details
-
getCommands
-
getSlot
-
replaceSlot
public void replaceSlot(int slot, char c) -
getCycledCharacter
-
getInventorySize
public int getInventorySize() -
getItemsAsList
-
toString
-
serialize
- Specified by:
serializein interfaceorg.bukkit.configuration.serialization.ConfigurationSerializable
-
clear
public void clear() -
isUsed
public boolean isUsed(char c) -
copy
-