Fermentation Station (Industrial Foregoing)
Description
Converts an input fluidstack into an output fluidstack.
Identifier
Refer to this via any of the following:
groovy
mods.industrialforegoing.ore_fermenter/* Used as page default */
mods.industrialforegoing.orefermenter
mods.industrialforegoing.oreFermenter
mods.industrialforegoing.OreFermenter
mods.industrialforegoing.fermentation
mods.industrialforegoing.Fermentation
Adding Recipes
Add the given recipe to the recipe list:
groovymods.industrialforegoing.ore_fermenter.add(OreFluidEntryFermenter)
Adds a Fermentation Station recipe in the format
input
,output
:groovymods.industrialforegoing.ore_fermenter.add(FluidStack, FluidStack)
Example
groovy
mods.industrialforegoing.ore_fermenter.add(fluid('if.ore_fluid_raw').withNbt(['Ore': 'oreGold']), fluid('if.ore_fluid_fermented').withNbt(['Ore': 'oreGold']) * 2)
Removing Recipes
Removes the given recipe from the recipe list:
groovymods.industrialforegoing.ore_fermenter.remove(OreFluidEntryFermenter)
Removes all recipes that match the given input:
groovymods.industrialforegoing.ore_fermenter.removeByInput(IIngredient)
Removes all recipes that match the given output:
groovymods.industrialforegoing.ore_fermenter.removeByOutput(IIngredient)
Removes all registered recipes:
groovymods.industrialforegoing.ore_fermenter.removeAll()
Example
groovy
mods.industrialforegoing.ore_fermenter.removeByInput(fluid('if.ore_fluid_raw').withNbt([Ore: 'oreRedstone']))
mods.industrialforegoing.ore_fermenter.removeByOutput(fluid('if.ore_fluid_fermented').withNbt([Ore: 'oreRedstone']))
mods.industrialforegoing.ore_fermenter.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.ore_fermenter.streamRecipes()