WireDrawing - TFC-Metallum/TFCTech GitHub Wiki

For manipulating Wiredrawing recipes, a hook is provided:

import mods.tfctech.WireDrawing; // Imports the WireDrawing methods into your script
// Register a recipe using the given parameters
WireDrawing.addRecipe(String registryName, IIngredient input, int minTier, IItemStack output, int color);
// Removes all recipes that have a given output
Smeltery.removeRecipe(IItemStack output);
// Removes a single recipe by registry name
Smeltery.removeRecipe(String registryName);

Important things to note:

  • minTier is the minimum draw plate tier required to work. Currently, there's only TIER_III, TIER_IV and TIER_V (wrought iron, steel and black steel) draw plates.
  • color is the hexadecimal (ie: 0xFFA6B525) color that the drawing bench will color the wiring process.

You can add anything (yes, even non-wires) to the recipe and make it draw like if it was a wire with the color specified.