Skip to content

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:

    groovy
    mods.industrialforegoing.bio_reactor.add(IReactorEntry)
  • Adds a Bioreactor recipe in the format input:

    groovy
    mods.industrialforegoing.bio_reactor.add(ItemStack)
  • Adds a Bioreactor recipe in the format input, nbtCheck:

    groovy
    mods.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:

    groovy
    mods.industrialforegoing.bio_reactor.remove(IReactorEntry)
  • Removes all recipes that match the given input:

    groovy
    mods.industrialforegoing.bio_reactor.removeByInput(IIngredient)
  • Removes all registered recipes:

    groovy
    mods.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:

    groovy
    mods.industrialforegoing.bio_reactor.streamRecipes()

Contributors

Changelog

© 2024 CleanroomMC. All Rights Reserved.