Skip to content

Instantly share code, notes, and snippets.

@bookerthegeek
Created December 18, 2018 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bookerthegeek/8fa88a6511e93efb42c314f9f7042045 to your computer and use it in GitHub Desktop.
Save bookerthegeek/8fa88a6511e93efb42c314f9f7042045 to your computer and use it in GitHub Desktop.
// Create Wrench Ore Dictionary
val craftWrench = [
<appliedenergistics2:certus_quartz_wrench>,
<appliedenergistics2:nether_quartz_wrench>
] as IIngredient[];
// Energy Acceptor
recipes.remove(<appliedenergistics2:energy_acceptor>);
for item in craftWrench{
recipes.addShaped(<appliedenergistics2:energy_acceptor>, [
[<ore:ingotIron>, <appliedenergistics2:quartz_glass>, <ore:ingotIron>],
[<appliedenergistics2:quartz_glass>, item.giveBack(), <appliedenergistics2:quartz_glass>],
[<ore:ingotIron>, <appliedenergistics2:quartz_glass>, <ore:ingotIron>]
]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment