Fluid Dictionary Converter (Industrial Foregoing)
Description
Converts one fluid into another fluid at a given ratio.
Identifier
The identifier mods.industrialforegoing.fluid_dictionary will be used as the default on this page.
All Identifiers
Any of these can be used to refer to this compat:
mods.industrialforegoing.fluiddictionary
mods.industrialforegoing.fluidDictionary
mods.industrialforegoing.FluidDictionary
mods.industrialforegoing.fluid_dictionary/* Used as page default */Adding Recipes
Add the given recipe to the recipe list:
groovymods.industrialforegoing.fluid_dictionary.add(FluidDictionaryEntry)Adds a Fluid Dictionary Converter recipe in the format
input,output:groovymods.industrialforegoing.fluid_dictionary.add(FluidStack, FluidStack)Adds a Fluid Dictionary Converter recipe in the format
input,output,ratio:groovymods.industrialforegoing.fluid_dictionary.add(String, String, double)Adds a Fluid Dictionary Converter recipe in the format
input,output,ratio:groovymods.industrialforegoing.fluid_dictionary.add(FluidStack, FluidStack, double)
Example
mods.industrialforegoing.fluid_dictionary.add(fluid('biofuel'), fluid('latex'),)
mods.industrialforegoing.fluid_dictionary.add(fluid('latex'), fluid('biofuel'),)
mods.industrialforegoing.fluid_dictionary.add(fluid('essence'), fluid('latex'), 2)
mods.industrialforegoing.fluid_dictionary.add(fluid('latex'), fluid('essence'), 0.5)Removing Recipes
Removes the given recipe from the recipe list:
groovymods.industrialforegoing.fluid_dictionary.remove(FluidDictionaryEntry)Removes all recipes that match the given input:
groovymods.industrialforegoing.fluid_dictionary.removeByInput(String)Removes all recipes that match the given input:
groovymods.industrialforegoing.fluid_dictionary.removeByInput(FluidStack)Removes all recipes that match the given output:
groovymods.industrialforegoing.fluid_dictionary.removeByOutput(String)Removes all recipes that match the given output:
groovymods.industrialforegoing.fluid_dictionary.removeByOutput(FluidStack)Removes all registered recipes:
groovymods.industrialforegoing.fluid_dictionary.removeAll()
Example
mods.industrialforegoing.fluid_dictionary.removeByInput(fluid('essence'))
mods.industrialforegoing.fluid_dictionary.removeByOutput(fluid(essence'))
mods.industrialforegoing.fluid_dictionary.removeAll()Getting the value of recipes
Iterates through every entry in the registry, with the ability to call remove on any element to remove it:
groovymods.industrialforegoing.fluid_dictionary.streamRecipes()
