Skip to content

Decorative Diffuser (Thermal Expansion)

Description

Controls what items can be used in to boost the potion time and level in the Decorative Diffuser.

Identifier

Refer to this via any of the following:

groovy
mods.thermal.diffuser
mods.thermal.Diffuser
mods.thermalexpansion.diffuser/* Used as page default */
mods.thermalexpansion.Diffuser

Adding Entries

  • Adds recipes in the format energy, input, fluidOutput:

    groovy
    mods.thermalexpansion.diffuser.add(ItemStack, int, int)
Example
groovy
mods.thermalexpansion.diffuser.add(item('minecraft:clay'), 2, 30)

Removing Entries

  • Removes the given ItemStack as a catalyst item in the Decorative Diffuser:

    groovy
    mods.thermalexpansion.diffuser.remove(ItemStack)
  • Removes all registered recipes:

    groovy
    mods.thermalexpansion.diffuser.removeAll()
Example
groovy
mods.thermalexpansion.diffuser.remove(item('minecraft:redstone'))
mods.thermalexpansion.diffuser.removeAll()

Getting the value of entries

  • Iterates through every entry in the registry, with the ability to call remove on any element to remove it:

    groovy
    mods.thermalexpansion.diffuser.streamRecipes()

Contributors

Changelog

© 2024 CleanroomMC. All Rights Reserved.