Skip to content

Arboreal Extractor (Thermal Expansion)

Description

Controls what items and blocks can be turned into what fluids. Output can be boosted via Fertilizer items.

Note

The Item map also controls the Resin Funnel augment for the Sawmill.

Identifier

Refer to this via any of the following:

groovy
mods.thermal.tapper
mods.thermal.Tapper
mods.thermalexpansion.tapper/* Used as page default */
mods.thermalexpansion.Tapper

Adding Recipes

  • Adds recipes to the block map in the format itemStack, fluidStack, but only if itemStack is an ItemBlock:

    groovy
    mods.thermalexpansion.tapper.addBlock(ItemStack, FluidStack)
  • Adds recipes to the item map in the format itemStack, fluidStack:

    groovy
    mods.thermalexpansion.tapper.addItem(ItemStack, FluidStack)
Example
groovy
mods.thermalexpansion.tapper.addBlock(item('minecraft:clay'), fluid('lava') * 150)
mods.thermalexpansion.tapper.addItem(item('minecraft:clay'), fluid('lava') * 300)

Removing Recipes

  • Removes all entries with the IIngredient input from block map:

    groovy
    mods.thermalexpansion.tapper.removeBlockByInput(IIngredient)
  • Removes all entries with the IIngredient input from the item map:

    groovy
    mods.thermalexpansion.tapper.removeItemByInput(IIngredient)
  • Removes all registered recipes:

    groovy
    mods.thermalexpansion.tapper.removeAll()
  • Removes all entries in the block map:

    groovy
    mods.thermalexpansion.tapper.removeAllBlocks()
  • Removes all entries in the item map:

    groovy
    mods.thermalexpansion.tapper.removeAllItems()
Example
groovy
mods.thermalexpansion.tapper.removeBlockByInput(item('minecraft:log'))
mods.thermalexpansion.tapper.removeItemByInput(item('minecraft:log:1'))
mods.thermalexpansion.tapper.removeAll()
mods.thermalexpansion.tapper.removeAllBlocks()
mods.thermalexpansion.tapper.removeAllItems()

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.thermalexpansion.tapper.streamBlockRecipes()
  • Iterates through every entry in the registry, with the ability to call remove on any element to remove it:

    groovy
    mods.thermalexpansion.tapper.streamRecipes()

Contributors

Changelog

© 2024 CleanroomMC. All Rights Reserved.