Package net.minestom.server.recipe
Class ShapelessRecipe
java.lang.Object
net.minestom.server.recipe.Recipe
net.minestom.server.recipe.ShapelessRecipe
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minestom.server.recipe.Recipe
Recipe.Type -
Field Summary
Fields inherited from class net.minestom.server.recipe.Recipe
recipeId, recipeType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedShapelessRecipe(@NotNull String recipeId, @NotNull String group, RecipeCategory.Crafting category, @Nullable List<DeclareRecipesPacket.Ingredient> ingredients, @NotNull ItemStack result) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIngredient(DeclareRecipesPacket.Ingredient ingredient) @NotNull StringgetGroup()@NotNull List<DeclareRecipesPacket.Ingredient> @NotNull ItemStackvoidsetCategory(RecipeCategory.Crafting category) voidvoidMethods inherited from class net.minestom.server.recipe.Recipe
getRecipeId, getRecipeType, shouldShow
-
Constructor Details
-
ShapelessRecipe
protected ShapelessRecipe(@NotNull @NotNull String recipeId, @NotNull @NotNull String group, @NotNull RecipeCategory.Crafting category, @Nullable @Nullable List<DeclareRecipesPacket.Ingredient> ingredients, @NotNull @NotNull ItemStack result)
-
-
Method Details
-
getGroup
-
setGroup
-
getCategory
-
setCategory
-
addIngredient
-
getIngredients
-
getResult
-
setResult
-