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
:groovymods.thermalexpansion.lapidary.add(ItemStack, int)
Example
groovy
mods.thermalexpansion.lapidary.add(item('minecraft:clay'), 1000)
Removing Recipes
Removes all recipes with given IIngredient:
groovymods.thermalexpansion.lapidary.removeByInput(IIngredient)
Removes all registered recipes:
groovymods.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:
groovymods.thermalexpansion.lapidary.streamRecipes()