Interface OrechidRecipe

All Superinterfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
All Known Implementing Classes:
MarimorphosisRecipe, OrechidIgnemRecipe, OrechidRecipe

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

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
     
    static final net.minecraft.resources.ResourceLocation
     
    static final net.minecraft.resources.ResourceLocation
     

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

    CODEC, STREAM_CODEC
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.world.item.ItemStack
    assemble(net.minecraft.world.item.crafting.RecipeInput container, net.minecraft.core.HolderLookup.Provider registryAccess)
    Deprecated.
    Not meant to be used for item crafting in a container.
    default boolean
    canCraftInDimensions(int width, int height)
    Deprecated.
    Not meant to be used for item crafting in a container.
    Valid inputs for the recipe
    Output to display in recipes and to be used by default.
    getOutput(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
    Location-sensitive output, called with the position of the block to convert.
    default net.minecraft.world.item.ItemStack
    getResultItem(net.minecraft.core.HolderLookup.Provider registryAccess)
    Deprecated.
    Not meant to be used for item crafting in a container.
    Optional<net.minecraft.commands.CacheableFunction>
     
    net.minecraft.world.item.crafting.RecipeType<? extends OrechidRecipe>
     
    int
    Default weight, used if no special weight logic is provided, and to display in recipes (the JEI/REI displayed output per 64 input depends on the sum of default weights).
    default int
    getWeight(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
    Location-sensitive weight, called with the position of the block to convert.
    default boolean
     
    default boolean
    matches(net.minecraft.world.item.crafting.RecipeInput container, net.minecraft.world.level.Level level)
    Deprecated.
    Not meant to be used for item crafting in a container.

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

    getGroup, getIngredients, getRemainingItems, getSerializer, getToastSymbol, isIncomplete, showNotification
  • Field Details

    • TYPE_ID

      static final net.minecraft.resources.ResourceLocation TYPE_ID
    • IGNEM_TYPE_ID

      static final net.minecraft.resources.ResourceLocation IGNEM_TYPE_ID
    • MARIMORPHOSIS_TYPE_ID

      static final net.minecraft.resources.ResourceLocation MARIMORPHOSIS_TYPE_ID
  • Method Details

    • getInput

      StateIngredient getInput()
      Valid inputs for the recipe
    • getOutput

      StateIngredient getOutput()
      Output to display in recipes and to be used by default.
    • getType

      net.minecraft.world.item.crafting.RecipeType<? extends OrechidRecipe> getType()
      Specified by:
      getType in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • getOutput

      default StateIngredient getOutput(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
      Location-sensitive output, called with the position of the block to convert.
    • getWeight

      int getWeight()
      Default weight, used if no special weight logic is provided, and to display in recipes (the JEI/REI displayed output per 64 input depends on the sum of default weights).
    • getWeight

      default int getWeight(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
      Location-sensitive weight, called with the position of the block to convert.
    • getSuccessFunction

      Optional<net.minecraft.commands.CacheableFunction> getSuccessFunction()
    • matches

      @Deprecated default boolean matches(net.minecraft.world.item.crafting.RecipeInput container, net.minecraft.world.level.Level level)
      Deprecated.
      Not meant to be used for item crafting in a container.
      Specified by:
      matches in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • assemble

      @Deprecated default net.minecraft.world.item.ItemStack assemble(net.minecraft.world.item.crafting.RecipeInput container, net.minecraft.core.HolderLookup.Provider registryAccess)
      Deprecated.
      Not meant to be used for item crafting in a container.
      Specified by:
      assemble in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • canCraftInDimensions

      @Deprecated default boolean canCraftInDimensions(int width, int height)
      Deprecated.
      Not meant to be used for item crafting in a container.
      Specified by:
      canCraftInDimensions in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • getResultItem

      @Deprecated default net.minecraft.world.item.ItemStack getResultItem(net.minecraft.core.HolderLookup.Provider registryAccess)
      Deprecated.
      Not meant to be used for item crafting in a container.
      Specified by:
      getResultItem 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>