public enum PneumaticRecipeRegistry extends java.lang.Enum<PneumaticRecipeRegistry> implements IPneumaticRecipeRegistry
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
AssemblyRecipe |
assemblyDrillRecipe(net.minecraft.util.ResourceLocation id,
net.minecraft.item.crafting.Ingredient input,
net.minecraft.item.ItemStack output)
Create a standard item drilling recipe.
|
AssemblyRecipe |
assemblyLaserRecipe(net.minecraft.util.ResourceLocation id,
net.minecraft.item.crafting.Ingredient input,
net.minecraft.item.ItemStack output)
Create a standard item lasering recipe.
|
ThermoPlantRecipe |
exothermicThermoPlantRecipe(net.minecraft.util.ResourceLocation id,
FluidIngredient inputFluid,
net.minecraft.item.crafting.Ingredient inputItem,
net.minecraftforge.fluids.FluidStack outputFluid,
net.minecraft.item.ItemStack outputItem,
TemperatureRange operatingTemperature,
float requiredPressure,
float speed)
Create a standard exothermic Thermopneumatic Processing Plant recipe.
|
ExplosionCraftingRecipe |
explosionCraftingRecipe(net.minecraft.util.ResourceLocation id,
net.minecraft.item.crafting.Ingredient input,
int lossRate,
net.minecraft.item.ItemStack... outputs)
Create a basic explosion crafting recipe.
|
static PneumaticRecipeRegistry |
getInstance() |
HeatFrameCoolingRecipe |
heatFrameCoolingRecipe(net.minecraft.util.ResourceLocation id,
net.minecraft.item.crafting.Ingredient input,
int temperature,
net.minecraft.item.ItemStack output)
Create a standard Heat Frame cooling recipe.
|
HeatFrameCoolingRecipe |
heatFrameCoolingRecipe(net.minecraft.util.ResourceLocation id,
net.minecraft.item.crafting.Ingredient input,
int temperature,
net.minecraft.item.ItemStack output,
float bonusMultiplier,
float bonusLimit)
Create a standard Heat Frame cooling recipe with potential output multiplier.
|
PressureChamberRecipe |
pressureChamberRecipe(net.minecraft.util.ResourceLocation id,
java.util.List<net.minecraft.item.crafting.Ingredient> inputs,
float pressureRequired,
net.minecraft.item.ItemStack... outputs)
Create a standard Pressure Chamber recipe.
|
RefineryRecipe |
refineryRecipe(net.minecraft.util.ResourceLocation id,
FluidIngredient input,
TemperatureRange operatingTemp,
net.minecraftforge.fluids.FluidStack... outputs)
Create a standard Refinery recipe.
|
ThermoPlantRecipe |
thermoPlantRecipe(net.minecraft.util.ResourceLocation id,
FluidIngredient inputFluid,
net.minecraft.item.crafting.Ingredient inputItem,
net.minecraftforge.fluids.FluidStack outputFluid,
net.minecraft.item.ItemStack outputItem,
TemperatureRange operatingTemperature,
float requiredPressure,
float speed)
Create a standard Thermopneumatic Processing Plant recipe.
|
static PneumaticRecipeRegistry |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PneumaticRecipeRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PneumaticRecipeRegistry INSTANCE
public static PneumaticRecipeRegistry[] values()
for (PneumaticRecipeRegistry c : PneumaticRecipeRegistry.values()) System.out.println(c);
public static PneumaticRecipeRegistry valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static PneumaticRecipeRegistry getInstance()
public AssemblyRecipe assemblyLaserRecipe(net.minecraft.util.ResourceLocation id, @Nonnull net.minecraft.item.crafting.Ingredient input, @Nonnull net.minecraft.item.ItemStack output)
IPneumaticRecipeRegistryStackedIngredient if
you need a recipe taking multiples of an input item.assemblyLaserRecipe in interface IPneumaticRecipeRegistryid - a unique recipe IDinput - the input ingredientoutput - the output itempublic AssemblyRecipe assemblyDrillRecipe(net.minecraft.util.ResourceLocation id, @Nonnull net.minecraft.item.crafting.Ingredient input, @Nonnull net.minecraft.item.ItemStack output)
IPneumaticRecipeRegistryStackedIngredient if
you need a recipe taking multiples of an input item.assemblyDrillRecipe in interface IPneumaticRecipeRegistryid - a unique recipe IDinput - the input ingredientoutput - the output itempublic ExplosionCraftingRecipe explosionCraftingRecipe(net.minecraft.util.ResourceLocation id, net.minecraft.item.crafting.Ingredient input, int lossRate, net.minecraft.item.ItemStack... outputs)
IPneumaticRecipeRegistryStackedIngredient
if you need a recipe taking multiples of an input item.explosionCraftingRecipe in interface IPneumaticRecipeRegistryid - unique ID for the recipeinput - the input ingredientlossRate - the average item loss rate, as a percentageoutputs - the output itemspublic HeatFrameCoolingRecipe heatFrameCoolingRecipe(net.minecraft.util.ResourceLocation id, net.minecraft.item.crafting.Ingredient input, int temperature, net.minecraft.item.ItemStack output, float bonusMultiplier, float bonusLimit)
IPneumaticRecipeRegistryheatFrameCoolingRecipe in interface IPneumaticRecipeRegistryid - unique ID for the recipeinput - the input ingredienttemperature - the temperature (Kelvin) below which the cooling process occursoutput - the output itembonusMultiplier - output multiplier; chance of extra output per degree below the threshold temperaturebonusLimit - hard limit on the calculated output multiplierpublic HeatFrameCoolingRecipe heatFrameCoolingRecipe(net.minecraft.util.ResourceLocation id, net.minecraft.item.crafting.Ingredient input, int temperature, net.minecraft.item.ItemStack output)
IPneumaticRecipeRegistryheatFrameCoolingRecipe in interface IPneumaticRecipeRegistryid - unique ID for the recipeinput - the input ingredienttemperature - the temperature (Kelvin) below which the cooling process occursoutput - the output itempublic PressureChamberRecipe pressureChamberRecipe(net.minecraft.util.ResourceLocation id, java.util.List<net.minecraft.item.crafting.Ingredient> inputs, float pressureRequired, net.minecraft.item.ItemStack... outputs)
IPneumaticRecipeRegistryStackedIngredient, which may be helpful if you
want to add a recipe taking multiples of the same input item.pressureChamberRecipe in interface IPneumaticRecipeRegistryid - unique recipe IDinputs - a list of input ingredientspressureRequired - the pressure require (this is a minimum if positive, and a maximum if negative)outputs - the output item(s)public RefineryRecipe refineryRecipe(net.minecraft.util.ResourceLocation id, FluidIngredient input, TemperatureRange operatingTemp, net.minecraftforge.fluids.FluidStack... outputs)
IPneumaticRecipeRegistryrefineryRecipe in interface IPneumaticRecipeRegistryid - unique ID for this recipeinput - the input fluidoperatingTemp - a temperature range required for the recipe to craftoutputs - the output fluidspublic ThermoPlantRecipe thermoPlantRecipe(net.minecraft.util.ResourceLocation id, @Nonnull FluidIngredient inputFluid, @Nullable net.minecraft.item.crafting.Ingredient inputItem, net.minecraftforge.fluids.FluidStack outputFluid, net.minecraft.item.ItemStack outputItem, TemperatureRange operatingTemperature, float requiredPressure, float speed)
IPneumaticRecipeRegistrythermoPlantRecipe in interface IPneumaticRecipeRegistryid - a unique ID for this recipeinputFluid - the input fluid, may be emptyinputItem - the input ingredient, may be emptyoutputFluid - the output fluidoutputItem - the output itemoperatingTemperature - the operating temperature rangerequiredPressure - the minimum pressure required (pass 0 if no specific pressure is required)speed - recipe speed multiplier (smaller values mean recipe takes longer to process)TemperatureRange.any() if no specific temperature
is required)public ThermoPlantRecipe exothermicThermoPlantRecipe(net.minecraft.util.ResourceLocation id, @Nonnull FluidIngredient inputFluid, @Nullable net.minecraft.item.crafting.Ingredient inputItem, net.minecraftforge.fluids.FluidStack outputFluid, net.minecraft.item.ItemStack outputItem, TemperatureRange operatingTemperature, float requiredPressure, float speed)
IPneumaticRecipeRegistryThermoPlantRecipe.isExothermic(). At least one of the input fluid
and input item must be non-empty.exothermicThermoPlantRecipe in interface IPneumaticRecipeRegistryid - a unique ID for this recipeinputFluid - the input fluid, may be emptyinputItem - the input ingredient, may be emptyoutputFluid - the output fluidoutputItem - the output itemoperatingTemperature - the operating temperature rangerequiredPressure - the minimum pressure required (pass 0 if no specific pressure is required)speed - recipe speed multiplier (smaller values mean recipe takes longer to process)TemperatureRange.any() if no specific temperature is required)