Package net.minestom.server.recipe
Class SmeltingRecipe
java.lang.Object
net.minestom.server.recipe.Recipe
net.minestom.server.recipe.SmeltingRecipe
public abstract class SmeltingRecipe extends Recipe
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
SmeltingRecipe(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
-
SmeltingRecipe
protected SmeltingRecipe(@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)
-