Minecraft : Primed TNT for Java 1.17

Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors.

Minecraft Summon Primed TNT Command Generator

BOOM BOOM BOOM! Summon primed TNT into the world via command, setting the Fuse sets the time until it explosed. They can also be summoned with spawn eggs and spawners. Spawners create ongoing tnt at regular intervals and can be used as infinite explosion areas, however tnt can explode the spawner so some planning of the build is required. Motion can be used to fire tnt in a certain direction.

Fuse

Time until tnt explodes, the default 0 will explode instantly.

1 second delay.

/summon tnt ~ ~ ~ {fuse:20} /summon tnt ~ ~ ~ {Fuse:20}

5 second delay.

/summon tnt ~ ~ ~ {fuse:100} /summon tnt ~ ~ ~ {Fuse:100}

Primed TNT Spawners

Because primed TNT is an entity, it also works in spawners. The spawner works best if you set all the spawner options. You may want to fence the area with bedrock or obsidian. It can also tend to delete the spawner itself.

give @p command_block[block_entity_data={id:command_block,auto:1,Command:"/setblock ~ ~0 ~ spawner{SpawnCount:5,MaxNearbyEntities:100,SpawnRange:10,Delay:10,MinSpawnDelay:10,MaxSpawnDelay:100,RequiredPlayerRange:10,SpawnData:{entity:{id:tnt,fuse:50}}} replace"}] 1 /give @p command_block{BlockEntityTag: {auto:1, Command:"/setblock ~ ~0 ~ minecraft:spawner{SpawnCount:5, MaxNearbyEntities:100, SpawnRange:10, Delay:10, MinSpawnDelay:10, MaxSpawnDelay:100, RequiredPlayerRange:10, SpawnData:{entity:{id:tnt, Fuse:50}}} replace"}} 1

Minecraft Versions Permalinks

If you find yourself using a particular version all the time, you can link directly. There is some crossover between versions, so there will be quirks.

Version History

2 Jul 2026
minecraft/command-generator 2.38.5

addedSummon axolotl, and summon cow pages now use Mob Generator v2
patchText editor formatting not grouping like with like

25 Jun 2026
minecraft/command-generator 2.38.4

addedSummon Generators moved to the Mob Generator v2

18 Jun 2026
minecraft/command-generator 2.38.3

addedMinecraft 26.2 content
addedWIP Beta Mob Generator v2

30 May 2026
minecraft/command-generator 2.38.2

patchGive item armor patch item detection

29 May 2026
minecraft/command-generator 2.38.1

addedpre-release 26.2 content

28 May 2026
minecraft/command-generator 2.38

addedWIP Beta Mob Generator v2


Read version history »
(120 More Updates)