Package com.hbm_m.recipe
Class CrucibleMoldRecipes
java.lang.Object
com.hbm_m.recipe.CrucibleMoldRecipes
Simple registry for crucible mold-casting recipes.
Each recipe is stored as a four-element array:
[0] = input material (ingot / ore with material-id NBT once Mats is ported)
[1] = mold item
[2] = reserved / unused placeholder (was "basin" stack in legacy code)
[3] = cast output
Populate via
register(net.minecraft.world.item.ItemStack, net.minecraft.world.item.ItemStack, net.minecraft.world.item.ItemStack) once the Mats / ItemMold system is ported.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<net.minecraft.world.item.ItemStack[]>Returns all registered mold recipes as [material, mold, placeholder, output] arrays.static voidregister(net.minecraft.world.item.ItemStack material, net.minecraft.world.item.ItemStack mold, net.minecraft.world.item.ItemStack output) Register a mold casting recipe.
-
Constructor Details
-
CrucibleMoldRecipes
public CrucibleMoldRecipes()
-
-
Method Details
-
register
public static void register(net.minecraft.world.item.ItemStack material, net.minecraft.world.item.ItemStack mold, net.minecraft.world.item.ItemStack output) Register a mold casting recipe.- Parameters:
material- the input material stackmold- the mold item stackoutput- the resulting cast item
-
getMoldRecipes
Returns all registered mold recipes as [material, mold, placeholder, output] arrays.
-