Interface RecipeWithReagent

All Superinterfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
All Known Subinterfaces:
PetalApothecaryRecipe, RunicAltarRecipe
All Known Implementing Classes:
HeadRecipe, PetalApothecaryRecipe, RunicAltarRecipe

public interface RecipeWithReagent extends net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
  • Field Summary

    Fields inherited from interface net.minecraft.world.item.crafting.Recipe

    CODEC, STREAM_CODEC
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    canCraftInDimensions(int width, int height)
     
    net.minecraft.world.item.crafting.Ingredient
     
    default boolean
     

    Methods inherited from interface net.minecraft.world.item.crafting.Recipe

    assemble, getGroup, getIngredients, getRemainingItems, getResultItem, getSerializer, getToastSymbol, getType, isIncomplete, matches, showNotification
  • Method Details

    • getReagent

      net.minecraft.world.item.crafting.Ingredient getReagent()
      Returns:
      Ingredient matching the final item that needs to be thrown into the apothecary to perform a craft after a matching recipe is in.
    • canCraftInDimensions

      default boolean canCraftInDimensions(int width, int height)
      Specified by:
      canCraftInDimensions in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • isSpecial

      default boolean isSpecial()
      Specified by:
      isSpecial in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>