Updated:
Primed TNT: entity ID and summon command
The entity ID for Primed TNT is minecraft:tnt. Use it with /summon and in selectors such as @e[type=…]. The ID has been the same since Java 1.13.
Basic data
| Name | Primed TNT |
|---|---|
| ID (Java Edition) | minecraft:tnt |
| Type | Other entity |
| Java versions | Java 1.13 to 26.3 |
| Bedrock 26.52 | Same ID works (tested on a server) |
| Size | 0.98 wide × 0.98 tall (blocks) |
Commands you can copy
Java Edition
Summon at your position
/summon minecraft:tnt ~ ~ ~Remove all of them
/kill @e[type=minecraft:tnt]Remove only within 10 blocks
/kill @e[type=minecraft:tnt,distance=..10]Test whether one exists
/execute if entity @e[type=minecraft:tnt]Bedrock Edition
Summon at your position
/summon tntRemove all of them
/kill @e[type=tnt]Remove only within 10 blocks
/kill @e[type=tnt,r=10]Version notes
This ID has not changed from Java 1.13 to the latest 26.3.
In selectors, Java Edition uses type=minecraft:ID and Bedrock uses type=ID. Add ! as in type=!minecraft:ID to match everything else.
Questions
What is the ID for Primed TNT?
It is minecraft:tnt. In commands you can also write tnt without minecraft:.
How far does /kill reach?
@e[type=minecraft:tnt] matches every one in loaded chunks. To limit it to nearby ones, add distance=..10 (r=10 on Bedrock).