Hey guys,
I'm trying to re-write the tnt mod in minetest_game to allow my brother to build a TNT cannon, but I've gotten stuck. According to everything I've read, a TNT cannon in Minecraft is based on two things:
1. That when TNT is in water, it won't destroy blocks, but will throw around entities. This is probably easy to add but I don't know how.
2. That TNT, when lit, becomes an entity. I've managed half of this. TNT does become an entity, but at the same time I create another (preferably invisible, but that won't work either) node at the TNT's location. The node explodes after a few seconds, the entity launches itself as far as it can.
I'll post what I've done so far for you to look at, it'd be great if you could give me a few pointers or show me another mod.
Thanks,
EthanD57
https://drive.google.com/file/d/0Bx5AqMqZu7eJTDV2WDFhWjZwZjg/view?usp=sharing