Class SuspiciousStewRecipe

java.lang.Object
net.minecraft.recipe.SpecialCraftingRecipe
net.minecraft.recipe.SuspiciousStewRecipe
All Implemented Interfaces:
CraftingRecipe, Recipe<CraftingInventory>

public class SuspiciousStewRecipe
extends SpecialCraftingRecipe
  • Constructor Details

    • SuspiciousStewRecipe

      public SuspiciousStewRecipe​(Identifier id)
  • Method Details

    • matches

      public boolean matches​(CraftingInventory craftingInventory, World world)
      Description copied from interface: Recipe
      Determines whether this recipe matches the contents currently placed inside the available crafting grid.
    • craft

      public ItemStack craft​(CraftingInventory craftingInventory)
      Description copied from interface: Recipe
      Crafts this recipe.

      This method may perform side effects on the inventory argument.

      This method should return a new item stack on each call.

      Returns:
      the resulting item stack
    • fits

      @Environment(CLIENT) public boolean fits​(int width, int height)
      Determines whether this recipe's pattern will fit into the available crafting area.
    • getSerializer

      public RecipeSerializer<?> getSerializer()