Class CraftingTable
java.lang.Object
studio.magemonkey.fusion.data.recipes.CraftingTable
- All Implemented Interfaces:
org.bukkit.configuration.serialization.ConfigurationSerializable
public class CraftingTable
extends Object
implements org.bukkit.configuration.serialization.ConfigurationSerializable
-
Constructor Summary
ConstructorsConstructorDescriptionCraftingTable(String name, String inventoryName, studio.magemonkey.codex.api.items.ItemType iconItem, InventoryPattern recipePattern, org.bukkit.inventory.ItemStack fillItem, int masteryUnlock, int masteryFee) CraftingTable(String name, String inventoryName, studio.magemonkey.codex.api.items.ItemType iconItem, InventoryPattern recipePattern, InventoryPattern catPattern, boolean useCategories, org.bukkit.inventory.ItemStack fillItem, int masteryUnlock, int masteryFee, Map<String, Recipe> recipes, Map<String, Category> categories) CraftingTable(Map<String, Object> map) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidstatic CraftingTablecopy(CraftingTable source) getCategory(String name) getRecipes(Collection<org.bukkit.inventory.ItemStack> items, org.bukkit.entity.Player p) booleanvoidvoidvoid
-
Constructor Details
-
CraftingTable
public CraftingTable(String name, String inventoryName, studio.magemonkey.codex.api.items.ItemType iconItem, InventoryPattern recipePattern, InventoryPattern catPattern, boolean useCategories, org.bukkit.inventory.ItemStack fillItem, int masteryUnlock, int masteryFee, Map<String, Recipe> recipes, Map<String, Category> categories) -
CraftingTable
public CraftingTable(String name, String inventoryName, studio.magemonkey.codex.api.items.ItemType iconItem, InventoryPattern recipePattern, org.bukkit.inventory.ItemStack fillItem, int masteryUnlock, int masteryFee) -
CraftingTable
public CraftingTable(Map<String, Object> map) throws studio.magemonkey.codex.api.items.exception.MissingProviderException, studio.magemonkey.codex.api.items.exception.MissingItemException- Throws:
studio.magemonkey.codex.api.items.exception.MissingProviderExceptionstudio.magemonkey.codex.api.items.exception.MissingItemException
-
-
Method Details
-
getCategoryList
-
getRecipe
-
addRecipe
-
getUseCategories
public boolean getUseCategories() -
getRecipes
public Collection<Recipe> getRecipes(Collection<org.bukkit.inventory.ItemStack> items, org.bukkit.entity.Player p) -
getCategory
-
updateCategoryOrder
public void updateCategoryOrder() -
moveEntry
-
serialize
- Specified by:
serializein interfaceorg.bukkit.configuration.serialization.ConfigurationSerializable
-
save
-
copy
-
cleanUpRecipesForEditor
public void cleanUpRecipesForEditor()
-