Package com.hbm_m.recipe
Class MixerRecipes
java.lang.Object
com.hbm_m.recipe.MixerRecipes
Recipe table for the Industrial Mixer.
Port of the relevant subset of com.hbm.inventory.recipes.MixerRecipes from 1.7.10:
the Mixer combines two input fluids into a single output fluid over time while consuming
energy. Recipes are populated via a static initializer so this class doesn't need to be
touched/called from MainRegistry - simply referencing getAll() or
findRecipe(Fluid, Fluid) triggers class loading and population.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordSingle mixer recipe: two input fluids (in any tank order) combine into one output fluid. -
Method Summary
Modifier and TypeMethodDescriptionstatic MixerRecipes.MixerRecipefindRecipe(net.minecraft.world.level.material.Fluid tankA, net.minecraft.world.level.material.Fluid tankB) Finds a recipe matching the two given input fluids (order-independent).static List<MixerRecipes.MixerRecipe>getAll()
-
Method Details
-
findRecipe
@Nullable public static MixerRecipes.MixerRecipe findRecipe(net.minecraft.world.level.material.Fluid tankA, net.minecraft.world.level.material.Fluid tankB) Finds a recipe matching the two given input fluids (order-independent). Returnsnullif either fluid is empty/none or no recipe matches. -
getAll
-