Class Recipe

java.lang.Object
net.minestom.server.recipe.Recipe
Direct Known Subclasses:
BlastingRecipe, CampfireCookingRecipe, ShapedRecipe, ShapelessRecipe, SmeltingRecipe, SmithingTransformRecipe, SmithingTrimRecipe, SmokingRecipe, StonecutterRecipe

public abstract class Recipe extends Object
  • Field Details

    • recipeType

      protected final Recipe.Type recipeType
    • recipeId

      protected final String recipeId
  • Constructor Details

    • Recipe

      protected Recipe(@NotNull @NotNull Recipe.Type recipeType, @NotNull @NotNull String recipeId)
  • Method Details

    • shouldShow

      public abstract boolean shouldShow(@NotNull @NotNull Player player)
    • getRecipeType

      @NotNull public @NotNull Recipe.Type getRecipeType()
    • getRecipeId

      @NotNull public @NotNull String getRecipeId()