Home Migration Guide Getting Started With Scripts Commands Examples
Generic JSON Recipes
This page relates to Thermal Expansion, which has built-in support!

Lapidary Dynamo / Lapidary Fuel

Methods

Add Fuel

The following script will add Dirt as a Fuel that produces 1000 RF.

script.zs
// <recipetype:thermal:lapidary_fuel>.addFuel(String name, IIngredient ingredient, int energy);
<recipetype:thermal:lapidary_fuel>.addFuel("lapidary_test", <item:minecraft:dirt>, 1000);

Remove Fuel

The following script will remove Rubies as a Fuel.

script.zs
// <recipetype:thermal:lapidary_fuel>.removeFuel(IItemStack outputItem);
<recipetype:thermal:lapidary_fuel>.removeFuel(<item:thermal:ruby>);