Skip to content

Numismatic Dynamo - Lapidary Calibration (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.lapidary
mods.thermal.Lapidary
mods.thermalexpansion.lapidary/* Used as page default */
mods.thermalexpansion.Lapidary

Adding Recipes

  • Adds recipes in the format itemStack, energy:

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

Removing Recipes

  • Removes all recipes with given IIngredient:

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

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

Contributors

Changelog

© 2024 CleanroomMC. All Rights Reserved.