Class ShapedRecipeData
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.recipe.data.ShapedRecipeData
- All Implemented Interfaces:
RecipeData
-
Constructor Summary
ConstructorsConstructorDescriptionShapedRecipeData(int width, int height, @NonNull String group, @NonNull CraftingBookCategory category, @NonNull Ingredient[] ingredients, @Nullable ItemStack result, boolean showNotification) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@NonNull CraftingBookCategory@NonNull StringgetGroup()int@NonNull Ingredient[]@Nullable ItemStackintgetWidth()inthashCode()boolean@NonNull StringtoString()
-
Constructor Details
-
ShapedRecipeData
public ShapedRecipeData(int width, int height, @NonNull @NonNull String group, @NonNull @NonNull CraftingBookCategory category, @NonNull @NonNull Ingredient[] ingredients, @Nullable ItemStack result, boolean showNotification)
-
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getGroup
-
getCategory
-
getIngredients
-
getResult
-
isShowNotification
public boolean isShowNotification() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-