Class MixerRecipes

java.lang.Object
com.hbm_m.recipe.MixerRecipes

public final class MixerRecipes extends Object
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.

  • 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). Returns null if either fluid is empty/none or no recipe matches.
    • getAll

      public static List<MixerRecipes.MixerRecipe> getAll()