Skip to content

Latex Extractor (Industrial Foregoing) ​

Description ​

Converts an input block in-world into a fluidstack over time, eventually breaking the block.

Identifier ​

The identifier mods.industrialforegoing.extractor will be used as the default on this page.

All Identifiers

Any of these can be used to refer to this compat:

groovy
mods.industrialforegoing.extractor/* Used as page default */
mods.industrialforegoing.Extractor
mods.industrialforegoing.treefluidextractor
mods.industrialforegoing.treeFluidExtractor
mods.industrialforegoing.TreeFluidExtractor
mods.industrialforegoing.tree_fluid_extractor

Adding Recipes ​

  • Add the given recipe to the recipe list:

    groovy
    mods.industrialforegoing.extractor.add(ExtractorEntry)
  • Adds a Latex Extractor recipe in the format input, output:

    groovy
    mods.industrialforegoing.extractor.add(ItemStack, FluidStack)
  • Adds a Latex Extractor recipe in the format input, output, breakChance:

    groovy
    mods.industrialforegoing.extractor.add(ItemStack, FluidStack, float)
Example
groovy
mods.industrialforegoing.extractor.add(item('minecraft:clay'), fluid('lava') * 50)
mods.industrialforegoing.extractor.add(item('minecraft:stone'), fluid('water') * 100, 1)

Removing Recipes ​

  • Removes the given recipe from the recipe list:

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

    groovy
    mods.industrialforegoing.extractor.removeByInput(IIngredient)
  • Removes all recipes that match the given output:

    groovy
    mods.industrialforegoing.extractor.removeByOutput(IIngredient)
  • Removes all registered recipes:

    groovy
    mods.industrialforegoing.extractor.removeAll()
Example
groovy
mods.industrialforegoing.extractor.removeByInput(item('minecraft:log2:1'))
mods.industrialforegoing.extractor.removeByOutput(fluid('latex'))
mods.industrialforegoing.extractor.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.extractor.streamRecipes()

Contributors

© 2024 CleanroomMC. All Rights Reserved.