Package net.minestom.server.recipe
Class Recipe
java.lang.Object
net.minestom.server.recipe.Recipe
- Direct Known Subclasses:
BlastingRecipe
,CampfireCookingRecipe
,ShapedRecipe
,ShapelessRecipe
,SmeltingRecipe
,SmithingRecipe
,SmokingRecipe
,StonecutterRecipe
public abstract class Recipe
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
Recipe.RecipeType
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
recipeId
protected Recipe.RecipeType
recipeType
-
Constructor Summary
Constructors Modifier Constructor Description protected
Recipe(Recipe.RecipeType recipeType, java.lang.String recipeId)
-
Method Summary
Modifier and Type Method Description java.lang.String
getRecipeId()
Recipe.RecipeType
getRecipeType()
abstract boolean
shouldShow(Player player)
-
Field Details
-
recipeType
-
recipeId
protected final java.lang.String recipeId
-
-
Constructor Details
-
Method Details
-
shouldShow
-
getRecipeType
-
getRecipeId
@NotNull public java.lang.String getRecipeId()
-