Skip to content

Steam Dynamo (Thermal Expansion)

Description

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

Info

If no energy is provided from an itemstack, the furnace fuel burn time will be checked, with the time in ticks being multiplied by 10 to calculate the energy output and if the energy is over 3000 the itemstack will be a valid fuel.

Identifier

Refer to this via any of the following:

groovy
mods.thermal.steam
mods.thermal.Steam
mods.thermalexpansion.steam/* Used as page default */
mods.thermalexpansion.Steam

Adding Recipes

  • Adds recipes in the format itemStack, energy:

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

Removing Recipes

  • Removes all recipes with given IIngredient:

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

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

Contributors

© 2024 CleanroomMC. All Rights Reserved.