Skip to content

Numismatic Dynamo (Thermal Expansion)

Description

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

Identifier

Refer to this via any of the following:

groovy
mods.thermal.numismatic
mods.thermal.Numismatic
mods.thermalexpansion.numismatic/* Used as page default */
mods.thermalexpansion.Numismatic

Adding Recipes

  • Adds recipes in the format itemStack, energy:

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

Removing Recipes

  • Removes all recipes with given IIngredient:

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

    groovy
    mods.thermalexpansion.numismatic.removeAll()
Example
groovy
mods.thermalexpansion.numismatic.removeByInput(item('thermalfoundation:coin:69'))
mods.thermalexpansion.numismatic.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.numismatic.streamRecipes()

Contributors

Changelog

© 2024 CleanroomMC. All Rights Reserved.