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

Support/Config for other Igniter items, like vanilla torches #324

Open barttraeger opened 3 years ago

barttraeger commented 3 years ago

Would be great if campfires, combustible machines etc. could be lit on fire with vanilla torches or other suitable items. A whitelist of such items in the config would be great.

I already tried a workaround via the mod Scavange by Speiger to change the metadata of an unlit campfire from 0 to 1 when right clicking it with a torch. This kinda works and also sets the variant from "NORMAL" to "LIT", but it doesn't set values for "burnTimeRemaining" and "active", so the campfire is basically burning forever and cannot smelt any items. Not sure if other workarounds are possible, this is the closest I could achieve.

Would it be possible to set other items as Igniters via config or by simply adding an OreDict entry like "itemIgniter"?