ZenScript
Copy
import mods.terrafirmacraft.Alloy;
import mods.terrafirmacraft.AlloyRecipeBuilder;
  • For manipulating Alloy recipes a recipe builder is provided
ZenScript
Copy
AlloyRecipeBuilder builder = Alloy.addAlloy(String metal);
builder.addMetal(String input, double min, double max);
builder.build();
ZenScript
Copy
Alloy.removeAlloy(String metal);
  • Please refer to Metal for a complete reference on TFC Metals.
ZenScript
Copy
Alloy.addAlloy("BRONZE").addMetal("COPPER", 0.88, 0.92).addMetal("TIN", 0.08, 0.12).build();
Alloy.addAlloy("BISMUTH_BRONZE").addMetal("COPPER", 0.5, 0.65).addMetal("BISMUTH", 0.1, 0.2).addMetal("zinc", 0.2, 0.3).build();