Skip to content
[/craft]
Disable TNT Explosions

Disable TNT Explosions

Turn off TNT from detonating

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Stops primed TNT from exploding, so it can still be lit but does no damage or block destruction. Useful for preventing accidental griefing on a build server. This gamerule exists on both editions; to also stop TNT minecarts, this same rule blocks their ignition when false.

/gamerule tntExplodes false
27 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command and press Enter.
  3. TNT can be lit but will not explode.

Related commands