Class CustomShapedRecipe
java.lang.Object
com.github.darksoulq.abyssallib.world.recipe.type.CustomShapedRecipe
- All Implemented Interfaces:
BukkitRecipeProvider, CustomRecipe
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomShapedRecipe(org.bukkit.NamespacedKey id, List<String> shape, Map<Character, org.bukkit.inventory.RecipeChoice> ingredients, org.bukkit.inventory.ItemStack result, Optional<String> group, Optional<org.bukkit.inventory.recipe.CraftingBookCategory> category, boolean replace) -
Method Summary
-
Field Details
-
TYPE
-
-
Constructor Details
-
CustomShapedRecipe
-
-
Method Details
-
getKey
public org.bukkit.NamespacedKey getKey()- Specified by:
getKeyin interfaceCustomRecipe
-
replace
public boolean replace()- Specified by:
replacein interfaceCustomRecipe
-
getType
- Specified by:
getTypein interfaceCustomRecipe
-
getShape
-
getIngredients
-
getResult
public org.bukkit.inventory.ItemStack getResult() -
getGroup
-
getCategory
-
toBukkit
public org.bukkit.inventory.Recipe toBukkit()- Specified by:
toBukkitin interfaceBukkitRecipeProvider
-