Class ExpandRecipeHolder

java.lang.Object
com.blamejared.crafttweaker.natives.recipe.ExpandRecipeHolder

@ZenRegister public class ExpandRecipeHolder extends Object
Holds Recipe recipe and a ResourceLocation id.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.resources.ResourceLocation
    id(net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>> internal)
    Gets the id of this holder
    static net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    value(net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>> internal)
    Gets the recipe held by this holder.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandRecipeHolder

      public ExpandRecipeHolder()
  • Method Details

    • id

      public static net.minecraft.resources.ResourceLocation id(net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>> internal)
      Gets the id of this holder
      Returns:
      The id of this holder
    • value

      public static net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput> value(net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>> internal)
      Gets the recipe held by this holder.
      Returns:
      The recipe held by this holder.