codetaylor / pyrotech-1.12

An early game mod with new primitive devices, combustion machines, smelting mechanics, storage options, tools, torches, advancements, and absolutely zero GUIs -- with exception to the substantially complete, mostly illustrated, and charred guidebook.
https://pyrotech.readthedocs.io/en/latest/
Other
52 stars 19 forks source link

A compatibility problem about CraftTweaker #340

Closed Origins-Eternity closed 3 years ago

Origins-Eternity commented 3 years ago

I want to creates and returns a new bloomery recipe builder. I follow the course on wiki: Bloomery.createBloomeryBuilder( "bloom_from_Copperore", <immersiveengineering:metal> <ore:oreCopper> **//I use the Ore Dictionaries here_. ) .setBurnTimeTicks(14400) .setFailureChance(0.10) .setSlagItem(<pyrotech:slag>, 1) .setSlagItem(<pyrotech:rock:0>, 1) .addFailureItem(<pyrotech:slag>, 4) .addFailureItem(<pyrotech:rock:0>, 1) .register(); But the craftTweaker pointed out me that I had made a mistake: [INITIALIZATION][CLIENT][ERROR] [crafttweaker | SIDE_CLIENT]: Error parsing pyrotech.zs:18 -- ) expected. I don't understand,Can I use Ore Dictionaries here?**

codetaylor commented 3 years ago

It looks like you need a comma after the second argument.

If you have questions about scripting, please use the Discord in the future: http://discord.codetaylor.com