Class CrucibleAlloyingRecipe

java.lang.Object
com.hbm_m.recipe.CrucibleRecipe
com.hbm_m.recipe.CrucibleAlloyingRecipe

public class CrucibleAlloyingRecipe extends CrucibleRecipe
Concrete crucible alloying recipe — extends CrucibleRecipe.

Alloying combines multiple input materials into one or more outputs inside the crucible. This class exists as a distinct type so JEI can register a separate category for alloying vs. casting vs. smelting.

Preferred construction via the inherited builder API:


 new CrucibleAlloyingRecipe("bronze_alloy")
         .setup(1, new ItemStack(ModItems.INGOT_BRONZE.get()))
         .inputs(copperStack, tinStack)
         .outputs(bronzeStack);
 

Legacy equivalent: CrucibleRecipe entries registered into CrucibleRecipes.INSTANCE.recipeOrderedList.

  • Constructor Details

    • CrucibleAlloyingRecipe

      public CrucibleAlloyingRecipe(String name)
      Convenience constructor — equivalent to new CrucibleRecipe(name).
    • CrucibleAlloyingRecipe

      public CrucibleAlloyingRecipe(List<net.minecraft.world.item.ItemStack> inputs, List<net.minecraft.world.item.ItemStack> outputs)
      Legacy-compatible constructor for migration convenience. Prefer the builder-style API going forward.
  • Method Details