Package com.hbm_m.recipe
Class CrucibleRecipes
java.lang.Object
com.hbm_m.recipe.CrucibleRecipes
Central recipe registry for the crucible machine.
Modern port of legacy CrucibleRecipes extends GenericRecipes<CrucibleRecipe>.
The three recipe types are held in separate dedicated registries, and this class
just wires their JEI-facing display representations up from the same data the
actual game logic uses:
CrucibleSmeltingRecipes— item → molten material (used byMachineCrucibleBlockEntity)MoltenAlloyRecipes— molten material combinations → molten material (used byMachineCrucibleBlockEntity)MoldCastingRecipes— molten material + mold → item (used byMachineFoundryBasinBlockEntity)
CrucibleAlloyingRecipes and CrucibleMoldRecipes are pure ItemStack-based
JEI display mirrors of MoltenAlloyRecipes / MoldCastingRecipes, generated here.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CrucibleRecipesSingleton — mirrors legacyCrucibleRecipes.INSTANCE. -
Method Summary
Modifier and TypeMethodDescriptionReturns all alloying recipes in insertion order.static List<net.minecraft.world.item.ItemStack[]>Returns all mold-casting recipes as [material, mold, placeholder, output] arrays.Returns the smelting recipe list.voidRegisters all built-in crucible recipes and their JEI display mirrors.
-
Field Details
-
INSTANCE
Singleton — mirrors legacyCrucibleRecipes.INSTANCE.
-
-
Method Details
-
registerDefaults
public void registerDefaults()Registers all built-in crucible recipes and their JEI display mirrors. Call once during mod initialisation (e.g. from the common setup event). -
getAlloyingRecipes
Returns all alloying recipes in insertion order. Mirrors legacyCrucibleRecipes.INSTANCE.recipeOrderedList. -
getSmeltingRecipes
Returns the smelting recipe list. Mirrors legacyCrucibleRecipes.getSmeltingRecipes(). -
getMoldRecipes
Returns all mold-casting recipes as [material, mold, placeholder, output] arrays. Mirrors legacyCrucibleRecipes.getMoldRecipes().
-