Alloy
Package
import mods.terrafirmacraft.Alloy;import mods.terrafirmacraft.AlloyRecipeBuilder;
Addition
- For manipulating Alloy recipes a recipe builder is provided
AlloyRecipeBuilder builder = Alloy.addAlloy(String metal);builder.addMetal(String input, double min, double max);builder.build();
Removal
Alloy.removeAlloy(String metal);
Example scripts
- Please refer to Metal for a complete reference on TFC Metals.
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();