public class HygroregulatorManager extends java.lang.Object implements IHygroregulatorManager
| Constructor and Description |
|---|
HygroregulatorManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRecipe(net.minecraftforge.fluids.FluidStack resource,
int transferTime,
float tempChange,
float humidChange)
Add a recipe to the alveary hygroregulator and the habitatformer.
|
boolean |
addRecipe(IHygroregulatorRecipe recipe)
Add a new recipe to the crafting provider.
|
static IHygroregulatorRecipe |
findMatchingRecipe(net.minecraftforge.fluids.FluidStack liquid) |
static java.util.Set<net.minecraftforge.fluids.Fluid> |
getRecipeFluids() |
java.util.Set<IHygroregulatorRecipe> |
recipes() |
boolean |
removeRecipe(IHygroregulatorRecipe recipe)
Remove a specific recipe from the crafting provider.
|
public void addRecipe(net.minecraftforge.fluids.FluidStack resource,
int transferTime,
float tempChange,
float humidChange)
IHygroregulatorManageraddRecipe in interface IHygroregulatorManagerresource - FluidStack containing information on fluid and amount.transferTime - The time between the removal of the fluid from the tank and the actual addition to the alveary climate.tempChange - The temperature change that this recipe causes in one work cycle.humidChange - The humidity change that this recipe causes in one work cycle.@Nullable public static IHygroregulatorRecipe findMatchingRecipe(net.minecraftforge.fluids.FluidStack liquid)
public boolean addRecipe(IHygroregulatorRecipe recipe)
ICraftingProvideraddRecipe in interface ICraftingProvider<IHygroregulatorRecipe>public boolean removeRecipe(IHygroregulatorRecipe recipe)
ICraftingProviderremoveRecipe in interface ICraftingProvider<IHygroregulatorRecipe>public static java.util.Set<net.minecraftforge.fluids.Fluid> getRecipeFluids()
public java.util.Set<IHygroregulatorRecipe> recipes()
recipes in interface ICraftingProvider<IHygroregulatorRecipe>