Class CampfireCookingRecipe

java.lang.Object
net.minestom.server.recipe.Recipe
net.minestom.server.recipe.CampfireCookingRecipe

public abstract class CampfireCookingRecipe extends Recipe
  • Constructor Details

    • CampfireCookingRecipe

      protected CampfireCookingRecipe(@NotNull @NotNull String recipeId, @NotNull @NotNull String group, @NotNull RecipeCategory.Cooking category, @NotNull @NotNull ItemStack result, float experience, int cookingTime)
  • Method Details

    • getGroup

      @NotNull public @NotNull String getGroup()
    • setGroup

      public void setGroup(@NotNull @NotNull String group)
    • getCategory

      @NotNull public RecipeCategory.Cooking getCategory()
    • setCategory

      public void setCategory(@NotNull RecipeCategory.Cooking category)
    • getIngredient

      @NotNull public DeclareRecipesPacket.Ingredient getIngredient()
    • setIngredient

      public void setIngredient(@NotNull DeclareRecipesPacket.Ingredient ingredient)
    • getResult

      @NotNull public @NotNull ItemStack getResult()
    • setResult

      public void setResult(@NotNull @NotNull ItemStack result)
    • getExperience

      public float getExperience()
    • setExperience

      public void setExperience(float experience)
    • getCookingTime

      public int getCookingTime()
    • setCookingTime

      public void setCookingTime(int cookingTime)