Description
Better TNT Minecarts
This add-on makes TNT minecarts work like they do on Java Edition. Blasts get bigger the harder you hit them, flaming arrows and crossbows set them off, carts stack and collide, and arrow cannons actually work. Good for traps, redstone builds and cart PvP.
What it does
Bigger hits, bigger blasts. Carts explode at power 4 like normal TNT, plus a random bonus based on speed, up to 11.5. A quick bow tap barely adds anything, a full bow shot can reach about 8.5, and a crossbow about 8.7. Fast-moving carts and long falls also hit harder.
Arrows. A Flame bow arrow blows a cart up instantly. For crossbows, shoot through fire or lava and the arrow lights up on the way. Normal arrows don't explode carts: a strong shot breaks the cart and drops it, a weak one just makes it wobble. Arrow blasts also take out the rail and the block under it.
Activator rails. Powering one lights the cart with a 4 second fuse, like Java. Fuse-lit carts don't destroy their own rail, so traps can be reused.

Crashes and falls. A cart that slams into a wall or another cart explodes. So does one that falls 3 or more blocks and doesn't land on a rail. Carts caught in a blast go off a moment later.

Stacking. Hold a TNT minecart and click a cart (or its rail) to stack another one in the same spot. Stacks sit still fine, but if one starts moving fast it blows up, same as Java. Carts also push each other when they bump.

Arrow cannons. Explosions push arrows instead of deleting them, so cannons and railguns work. Arrows fly a bit straighter than on Java by default.
Commands
Run /function tnthelp in game to see these. They need operator permissions.
/tntpower <number>base blast power (default 4)/tntspeedfactor <number>how much speed adds to the blast (default 1)/tntdamagemultiplier <number>scale the damage (default 1)/tntfire <true/false>blasts start fires/tntbreakblocks <true/false>blasts break blocks/tntanyarrow <true/false>let any arrow set carts off, not just burning ones/tntstacking <true/false>turn click-to-stack on or off/tntstackcooldown <ticks>delay between stacked carts (20 ticks = 1 second)/tntcollisions <true/false>carts pushing each other/tntprotectrails <true/false>fuse-lit carts keep their rail/tntcreativedrops <true/false>carts broken in Creative drop as items/tntcannonlift <0-1>how much blasts lift arrows (1 is exact Java)/tntsettingsshow your current settings/tntresetput everything back to default
Notes
In Creative, carts you break with normal arrows just disappear without dropping, like on Java. Turn on /tntcreativedrops if you want the item. Needs Bedrock 1.21.90 or newer, no experimental toggles.
Feel free to use this add-on however you like. If something breaks or you want a feature, leave a comment!
