Package net.minestom.server.recipe
Class BlastingRecipe
java.lang.Object
net.minestom.server.recipe.Recipe
net.minestom.server.recipe.BlastingRecipe
-
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
ConstructorsModifierConstructorDescriptionprotectedBlastingRecipe(@NotNull String recipeId, @NotNull String group, RecipeCategory.Cooking category, @NotNull ItemStack result, float experience, int cookingTime) -
Method Summary
Modifier and TypeMethodDescriptionintfloat@NotNull StringgetGroup()@NotNull ItemStackvoidsetCategory(RecipeCategory.Cooking category) voidsetCookingTime(int cookingTime) voidsetExperience(float experience) voidvoidsetIngredient(DeclareRecipesPacket.Ingredient ingredient) voidMethods inherited from class net.minestom.server.recipe.Recipe
getRecipeId, getRecipeType, shouldShow
-
Constructor Details
-
BlastingRecipe
protected BlastingRecipe(@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)
-