Skip to content

Enervation Dynamo (Thermal Expansion)

Description

Converts an input itemstack into power, taking time based on the power.

Identifier

The identifier mods.thermalexpansion.enervation will be used as the default on this page.

All Identifiers

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

groovy
mods.thermal.enervation
mods.thermal.Enervation
mods.thermalexpansion.enervation/* Used as page default */
mods.thermalexpansion.Enervation

Adding Recipes

  • Adds recipes in the format itemStack, energy:

    groovy
    mods.thermalexpansion.enervation.add(ItemStack, int)
Example
groovy
mods.thermalexpansion.enervation.add(item('minecraft:clay'), 100)

Removing Recipes

  • Removes all recipes with given IIngredient:

    groovy
    mods.thermalexpansion.enervation.removeByInput(IIngredient)
  • Removes all registered recipes:

    groovy
    mods.thermalexpansion.enervation.removeAll()
Example
groovy
mods.thermalexpansion.enervation.removeByInput(item('minecraft:redstone'))
mods.thermalexpansion.enervation.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.thermalexpansion.enervation.streamRecipes()

Contributors

© 2024 CleanroomMC. All Rights Reserved.