Class RunicAltarRecipe

java.lang.Object
vazkii.botania.common.crafting.RunicAltarRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>, RecipeWithReagent, RunicAltarRecipe
Direct Known Subclasses:
HeadRecipe

public class RunicAltarRecipe extends Object implements RunicAltarRecipe
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.world.item.crafting.RecipeSerializer<RunicAltarRecipe>
     

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

    CODEC, STREAM_CODEC

    Fields inherited from interface vazkii.botania.api.recipe.RunicAltarRecipe

    HEAD_TYPE_ID, TYPE_ID
  • Constructor Summary

    Constructors
    Constructor
    Description
    RunicAltarRecipe(net.minecraft.world.item.ItemStack output, net.minecraft.world.item.crafting.Ingredient reagent, int mana, net.minecraft.world.item.crafting.Ingredient[] ingredients, net.minecraft.world.item.crafting.Ingredient[] catalysts)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    assemble(net.minecraft.world.item.crafting.RecipeInput inv, net.minecraft.core.HolderLookup.Provider registries)
     
    net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient>
     
    net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient>
     
    int
     
    net.minecraft.world.item.ItemStack
     
    net.minecraft.world.item.crafting.Ingredient
     
    net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack>
    getRemainingItems(net.minecraft.world.item.crafting.RecipeInput container)
     
    final net.minecraft.world.item.ItemStack
    getResultItem(net.minecraft.core.HolderLookup.Provider registries)
     
    net.minecraft.world.item.crafting.RecipeSerializer<? extends RunicAltarRecipe>
     
    net.minecraft.world.item.ItemStack
     
    boolean
    matches(net.minecraft.world.item.crafting.RecipeInput container, net.minecraft.world.level.Level world)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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

    getGroup, isIncomplete, showNotification

    Methods inherited from interface vazkii.botania.api.recipe.RecipeWithReagent

    canCraftInDimensions, isSpecial

    Methods inherited from interface vazkii.botania.api.recipe.RunicAltarRecipe

    getType
  • Field Details

    • SERIALIZER

      public static final net.minecraft.world.item.crafting.RecipeSerializer<RunicAltarRecipe> SERIALIZER
  • Constructor Details

    • RunicAltarRecipe

      public RunicAltarRecipe(net.minecraft.world.item.ItemStack output, net.minecraft.world.item.crafting.Ingredient reagent, int mana, net.minecraft.world.item.crafting.Ingredient[] ingredients, net.minecraft.world.item.crafting.Ingredient[] catalysts)
  • Method Details

    • matches

      public boolean matches(net.minecraft.world.item.crafting.RecipeInput container, net.minecraft.world.level.Level world)
      Specified by:
      matches in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • getRemainingItems

      public net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getRemainingItems(net.minecraft.world.item.crafting.RecipeInput container)
      Specified by:
      getRemainingItems in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
      Specified by:
      getRemainingItems in interface RunicAltarRecipe
    • getResultItem

      public final net.minecraft.world.item.ItemStack getResultItem(net.minecraft.core.HolderLookup.Provider registries)
      Specified by:
      getResultItem in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • assemble

      public net.minecraft.world.item.ItemStack assemble(net.minecraft.world.item.crafting.RecipeInput inv, net.minecraft.core.HolderLookup.Provider registries)
      Specified by:
      assemble in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • getIngredients

      public net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> getIngredients()
      Specified by:
      getIngredients in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • getCatalysts

      public net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> getCatalysts()
      Specified by:
      getCatalysts in interface RunicAltarRecipe
    • getToastSymbol

      public net.minecraft.world.item.ItemStack getToastSymbol()
      Specified by:
      getToastSymbol in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • getSerializer

      public net.minecraft.world.item.crafting.RecipeSerializer<? extends RunicAltarRecipe> getSerializer()
      Specified by:
      getSerializer in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • getMana

      public int getMana()
      Specified by:
      getMana in interface RunicAltarRecipe
    • getOutput

      public net.minecraft.world.item.ItemStack getOutput()
    • getReagent

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