Bioreactor (Industrial Foregoing)
Description
Converts an input item into Biofuel, with the amount of Biofuel generated being based on the number of concurrent conversion processes inside the Bioreactor.
Identifier
Refer to this via any of the following:
groovy
mods.industrialforegoing.bio_reactor/* Used as page default */
mods.industrialforegoing.bioreactor
mods.industrialforegoing.bioReactor
mods.industrialforegoing.BioReactor
Adding Recipes
Add the given recipe to the recipe list:
groovymods.industrialforegoing.bio_reactor.add(IReactorEntry)
Adds a Bioreactor recipe in the format
input
:groovymods.industrialforegoing.bio_reactor.add(ItemStack)
Adds a Bioreactor recipe in the format
input
,nbtCheck
:groovymods.industrialforegoing.bio_reactor.add(ItemStack, Predicate<NBTTagCompound>)
Example
groovy
mods.industrialforegoing.bio_reactor.add(item('minecraft:clay'))
Removing Recipes
Removes the given recipe from the recipe list:
groovymods.industrialforegoing.bio_reactor.remove(IReactorEntry)
Removes all recipes that match the given input:
groovymods.industrialforegoing.bio_reactor.removeByInput(IIngredient)
Removes all registered recipes:
groovymods.industrialforegoing.bio_reactor.removeAll()
Example
groovy
mods.industrialforegoing.bio_reactor.removeByInput(item('minecraft:wheat_seeds'))
mods.industrialforegoing.bio_reactor.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.bio_reactor.streamRecipes()