Interface IPneumaticRecipeRegistry

All Known Implementing Classes:
PneumaticRecipeRegistry

public interface IPneumaticRecipeRegistry
Get an instance of this via PneumaticRegistry.IPneumaticCraftInterface.getRecipeRegistry().

Note that machine recipes are now loaded from datapacks.

  • Method Summary

    Modifier and Type
    Method
    Description
    assemblyDrillRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient input, net.minecraft.world.item.ItemStack output)
    Create a standard item drilling recipe.
    assemblyLaserRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient input, net.minecraft.world.item.ItemStack output)
    Create a standard item lasering recipe.
    exothermicThermoPlantRecipe(net.minecraft.resources.ResourceLocation id, FluidIngredient inputFluid, net.minecraft.world.item.crafting.Ingredient inputItem, net.minecraftforge.fluids.FluidStack outputFluid, net.minecraft.world.item.ItemStack outputItem, TemperatureRange operatingTemperature, float requiredPressure, float airUseMultiplier, float speed)
    Create a standard exothermic Thermopneumatic Processing Plant recipe.
    explosionCraftingRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient input, int lossRate, net.minecraft.world.item.ItemStack... outputs)
    Create a basic explosion crafting recipe.
    heatFrameCoolingRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient input, int temperature, net.minecraft.world.item.ItemStack output)
    Create a standard Heat Frame cooling recipe.
    heatFrameCoolingRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient input, int temperature, net.minecraft.world.item.ItemStack output, float bonusMultiplier, float bonusLimit)
    Create a standard Heat Frame cooling recipe with potential output multiplier.
    pressureChamberRecipe(net.minecraft.resources.ResourceLocation id, List<net.minecraft.world.item.crafting.Ingredient> inputs, float pressureRequired, net.minecraft.world.item.ItemStack... outputs)
    Create a standard Pressure Chamber recipe.
    refineryRecipe(net.minecraft.resources.ResourceLocation id, FluidIngredient input, TemperatureRange operatingTemp, net.minecraftforge.fluids.FluidStack... outputs)
    Create a standard Refinery recipe.
    thermoPlantRecipe(net.minecraft.resources.ResourceLocation id, FluidIngredient inputFluid, net.minecraft.world.item.crafting.Ingredient inputItem, net.minecraftforge.fluids.FluidStack outputFluid, net.minecraft.world.item.ItemStack outputItem, TemperatureRange operatingTemperature, float requiredPressure, float airUseMultiplier, float speed)
    Create a standard Thermopneumatic Processing Plant recipe.
  • Method Details

    • assemblyLaserRecipe

      AssemblyRecipe assemblyLaserRecipe(net.minecraft.resources.ResourceLocation id, @Nonnull net.minecraft.world.item.crafting.Ingredient input, @Nonnull net.minecraft.world.item.ItemStack output)
      Create a standard item lasering recipe. See StackedIngredient if you need a recipe taking multiples of an input item.
      Parameters:
      id - a unique recipe ID
      input - the input ingredient
      output - the output item
      Returns:
      a lasering recipe
    • assemblyDrillRecipe

      AssemblyRecipe assemblyDrillRecipe(net.minecraft.resources.ResourceLocation id, @Nonnull net.minecraft.world.item.crafting.Ingredient input, @Nonnull net.minecraft.world.item.ItemStack output)
      Create a standard item drilling recipe. See StackedIngredient if you need a recipe taking multiples of an input item.
      Parameters:
      id - a unique recipe ID
      input - the input ingredient
      output - the output item
      Returns:
      a drilling recipe
    • explosionCraftingRecipe

      ExplosionCraftingRecipe explosionCraftingRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient input, int lossRate, net.minecraft.world.item.ItemStack... outputs)
      Create a basic explosion crafting recipe. This uses in-world explosions to convert nearby items on the ground (in item entity form) to one or more other items. See StackedIngredient if you need a recipe taking multiples of an input item.
      Parameters:
      id - unique ID for the recipe
      input - the input ingredient
      lossRate - the average item loss rate, as a percentage
      outputs - the output items
      Returns:
      a basic Explosion Crafting recipe
    • heatFrameCoolingRecipe

      HeatFrameCoolingRecipe heatFrameCoolingRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient input, int temperature, net.minecraft.world.item.ItemStack output)
      Create a standard Heat Frame cooling recipe.
      Parameters:
      id - unique ID for the recipe
      input - the input ingredient
      temperature - the temperature (Kelvin) below which the cooling process occurs
      output - the output item
      Returns:
      a basic Heat Frame cooling recipe
    • heatFrameCoolingRecipe

      HeatFrameCoolingRecipe heatFrameCoolingRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient input, int temperature, net.minecraft.world.item.ItemStack output, float bonusMultiplier, float bonusLimit)
      Create a standard Heat Frame cooling recipe with potential output multiplier.
      Parameters:
      id - unique ID for the recipe
      input - the input ingredient
      temperature - the temperature (Kelvin) below which the cooling process occurs
      output - the output item
      bonusMultiplier - output multiplier; chance of extra output per degree below the threshold temperature
      bonusLimit - hard limit on the calculated output multiplier
      Returns:
      a basic Heat Frame cooling recipe
    • pressureChamberRecipe

      PressureChamberRecipe pressureChamberRecipe(net.minecraft.resources.ResourceLocation id, List<net.minecraft.world.item.crafting.Ingredient> inputs, float pressureRequired, net.minecraft.world.item.ItemStack... outputs)
      Create a standard Pressure Chamber recipe. See also StackedIngredient, which may be helpful if you want to add a recipe taking multiples of the same input item.
      Parameters:
      id - unique recipe ID
      inputs - a list of input ingredients
      pressureRequired - the pressure require (this is a minimum if positive, and a maximum if negative)
      outputs - the output item(s)
      Returns:
      a pressure chamber recipe
    • refineryRecipe

      RefineryRecipe refineryRecipe(net.minecraft.resources.ResourceLocation id, FluidIngredient input, TemperatureRange operatingTemp, net.minecraftforge.fluids.FluidStack... outputs)
      Create a standard Refinery recipe. Note that multiple recipes with the same input fluid may exist, provided that each recipe has a different number of output fluids; the Refinery will use the recipe with the largest number of outputs, limited by the number of output tanks in the Refinery multiblock.
      Parameters:
      id - unique ID for this recipe
      input - the input fluid
      operatingTemp - a temperature range required for the recipe to craft
      outputs - the output fluids
      Returns:
      a basic Refinery recipe
    • thermoPlantRecipe

      ThermoPlantRecipe thermoPlantRecipe(net.minecraft.resources.ResourceLocation id, @Nonnull FluidIngredient inputFluid, @Nullable net.minecraft.world.item.crafting.Ingredient inputItem, net.minecraftforge.fluids.FluidStack outputFluid, net.minecraft.world.item.ItemStack outputItem, TemperatureRange operatingTemperature, float requiredPressure, float airUseMultiplier, float speed)
      Create a standard Thermopneumatic Processing Plant recipe. Such recipes generally have a minimum temperature requirement. At least one of the input fluid and input item must be non-empty.
      Parameters:
      id - a unique ID for this recipe
      inputFluid - the input fluid, may be empty
      inputItem - the input ingredient, may be empty
      outputFluid - the output fluid
      outputItem - the output item
      operatingTemperature - the operating temperature range
      requiredPressure - the minimum pressure required (pass 0 if no specific pressure is required)
      speed - recipe speed multiplier (smaller values mean recipe takes longer to process)
      airUseMultiplier - air usage cost factor
      Returns:
      a Thermopneumatic Processing Plant recipe (pass TemperatureRange.any() if no specific temperature is required)
    • exothermicThermoPlantRecipe

      ThermoPlantRecipe exothermicThermoPlantRecipe(net.minecraft.resources.ResourceLocation id, @Nonnull FluidIngredient inputFluid, @Nullable net.minecraft.world.item.crafting.Ingredient inputItem, net.minecraftforge.fluids.FluidStack outputFluid, net.minecraft.world.item.ItemStack outputItem, TemperatureRange operatingTemperature, float requiredPressure, float airUseMultiplier, float speed)
      Create a standard exothermic Thermopneumatic Processing Plant recipe. Exothermic recipes produce heat rather than consume it. See ThermoPlantRecipe.isExothermic(). At least one of the input fluid and input item must be non-empty.
      Parameters:
      id - a unique ID for this recipe
      inputFluid - the input fluid, may be empty
      inputItem - the input ingredient, may be empty
      outputFluid - the output fluid
      outputItem - the output item
      operatingTemperature - the operating temperature range
      requiredPressure - the minimum pressure required (pass 0 if no specific pressure is required)
      speed - recipe speed multiplier (smaller values mean recipe takes longer to process)
      airUseMultiplier - air usage cost factor
      Returns:
      a Thermopneumatic Processing Plant recipe (pass TemperatureRange.any() if no specific temperature is required)