Package net.minestom.server.recipe
Class SmokingRecipe
java.lang.Object
net.minestom.server.recipe.Recipe
net.minestom.server.recipe.SmokingRecipe
-
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
ModifierConstructorDescriptionprotected
SmokingRecipe
(@NotNull String recipeId, @NotNull String group, RecipeCategory.Cooking category, @NotNull ItemStack result, float experience, int cookingTime) -
Method Summary
Modifier and TypeMethodDescriptionint
float
@NotNull String
getGroup()
@NotNull ItemStack
void
setCategory
(RecipeCategory.Cooking category) void
setCookingTime
(int cookingTime) void
setExperience
(float experience) void
void
setIngredient
(DeclareRecipesPacket.Ingredient ingredient) void
Methods inherited from class net.minestom.server.recipe.Recipe
getRecipeId, getRecipeType, shouldShow
-
Constructor Details
-
SmokingRecipe
protected SmokingRecipe(@NotNull @NotNull String recipeId, @NotNull @NotNull String group, @NotNull RecipeCategory.Cooking category, @NotNull @NotNull ItemStack result, float experience, int cookingTime)
-
-
Method Details
-
getGroup
-
setGroup
-
getCategory
-
setCategory
-
getIngredient
-
setIngredient
-
getResult
-
setResult
-
getExperience
public float getExperience() -
setExperience
public void setExperience(float experience) -
getCookingTime
public int getCookingTime() -
setCookingTime
public void setCookingTime(int cookingTime)
-