Package net.minestom.server.recipe
Class SmokingRecipe
java.lang.Object
net.minestom.server.recipe.Recipe
net.minestom.server.recipe.SmokingRecipe
public abstract class SmokingRecipe extends Recipe
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
SmokingRecipe(java.lang.String recipeId, java.lang.String group, ItemStack result, float experience, int cookingTime)
-
Method Summary
Modifier and Type Method Description int
getCookingTime()
float
getExperience()
java.lang.String
getGroup()
DeclareRecipesPacket.Ingredient
getIngredient()
ItemStack
getResult()
void
setCookingTime(int cookingTime)
void
setExperience(float experience)
void
setGroup(java.lang.String group)
void
setIngredient(DeclareRecipesPacket.Ingredient ingredient)
void
setResult(ItemStack result)
Methods inherited from class net.minestom.server.recipe.Recipe
getRecipeId, getRecipeType, shouldShow
-
Constructor Details
-
SmokingRecipe
protected SmokingRecipe(@NotNull java.lang.String recipeId, @NotNull java.lang.String group, @NotNull ItemStack result, float experience, int cookingTime)
-
-
Method Details
-
getGroup
@NotNull public java.lang.String getGroup() -
setGroup
public void setGroup(@NotNull java.lang.String group) -
getIngredient
-
setIngredient
-
getResult
-
setResult
-
getExperience
public float getExperience() -
setExperience
public void setExperience(float experience) -
getCookingTime
public int getCookingTime() -
setCookingTime
public void setCookingTime(int cookingTime)
-