Class ICraftRecipe
java.lang.Object
studio.magemonkey.codex.util.craft.api.IAbstractRecipe
studio.magemonkey.codex.util.craft.api.ICraftRecipe
-
Field Summary
Fields inherited from class studio.magemonkey.codex.util.craft.api.IAbstractRecipe
id, key, plugin, result -
Constructor Summary
ConstructorsConstructorDescriptionICraftRecipe(org.bukkit.plugin.java.JavaPlugin plugin, String id, org.bukkit.inventory.ItemStack result, boolean shaped) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIngredient(int pos, org.bukkit.inventory.ItemStack item) org.bukkit.inventory.ItemStack[]org.bukkit.inventory.RecipeString[]getShape()booleanisShaped()Methods inherited from class studio.magemonkey.codex.util.craft.api.IAbstractRecipe
getId, getKey, getResult, setResult
-
Constructor Details
-
ICraftRecipe
public ICraftRecipe(@NotNull org.bukkit.plugin.java.JavaPlugin plugin, @NotNull String id, @NotNull org.bukkit.inventory.ItemStack result, boolean shaped)
-
-
Method Details
-
addIngredient
public void addIngredient(int pos, @Nullable org.bukkit.inventory.ItemStack item) - Specified by:
addIngredientin classIAbstractRecipe
-
getRecipe
@NotNull public org.bukkit.inventory.Recipe getRecipe()- Specified by:
getRecipein classIAbstractRecipe
-
isShaped
public boolean isShaped() -
getShape
-
getIngredients
public org.bukkit.inventory.ItemStack[] getIngredients()
-