Package net.minestom.server.recipe
Class SmeltingRecipe
java.lang.Object
net.minestom.server.recipe.Recipe
net.minestom.server.recipe.SmeltingRecipe
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
SmeltingRecipe
(@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
id, shouldShow, type
-
Constructor Details
-
SmeltingRecipe
protected SmeltingRecipe(@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)
-