Class ShapedRecipe

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

public abstract class ShapedRecipe extends Recipe
  • Constructor Details

  • Method Details

    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getGroup

      @NotNull public @NotNull String getGroup()
    • setGroup

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

      @NotNull public RecipeCategory.Crafting getCategory()
    • setCategory

      public void setCategory(@NotNull RecipeCategory.Crafting category)
    • addIngredient

      public void addIngredient(DeclareRecipesPacket.Ingredient ingredient)
    • getIngredients

      @NotNull public @NotNull List<DeclareRecipesPacket.Ingredient> getIngredients()
    • getResult

      @NotNull public @NotNull ItemStack getResult()
    • setResult

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

      public boolean getShowNotification()
    • setShowNotification

      public void setShowNotification(boolean showNotification)