java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.recipe.data.ShapedRecipeData
All Implemented Interfaces:
RecipeData

public class ShapedRecipeData extends Object implements RecipeData
  • 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

      @NonNull public @NonNull String getGroup()
    • getCategory

      @NonNull public @NonNull CraftingBookCategory getCategory()
    • getIngredients

      @NonNull public @NonNull Ingredient[] getIngredients()
    • getResult

      public @Nullable ItemStack getResult()
    • isShowNotification

      public boolean isShowNotification()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object