Minecraft

[Minecraft] Projectile TNT Command Tutorial

Ying Nai Wind·2/21/2026

Obtaining the Bomb Snowball

Command:

/give @p snowball 1 1145 {"minecraft:can_destroy":{"blocks":["tnt"]}}

Main Commands

The following commands need to be set up and activated in command blocks.

Repeating (Unconditional)

execute as @e[type=snowball,tag=!tnt,tag=bomb_snowball] at @s run summon tnt ~~1~

Chain (Unconditional)

execute as @e[type=snowball,tag=bomb_snowball] at @s if block ~~1~ air run tp @e[c=1,type=tnt] ~~1~

Chain (Unconditional)

execute as @e[type=snowball,tag=bomb_snowball] at @s if entity @e[r=1.5,type=tnt] run tag @s add tnt

Chain (Unconditional)

playanimation @e[tag=bomb_snowball] animation.creeper.swelling move 1000

Chain (Unconditional)

execute as @e[type=tnt] at @s if entity @e[tag=bomb_snowball,r=2] run particle minecraft:redstone_wire_dust_particle

Chain (Unconditional)

execute as @a[hasitem={item=snowball,location=slot.weapon.mainhand,data=1145}] at @s run tag @s add addtnt

Chain (Unconditional)

execute as @a[tag=addtnt] at @s run tag @e[type=snowball,r=2.5,c=1] add bomb_snowball

Chain (Conditional)

execute as @a[hasitem={item=snowball,location=slot.weapon.mainhand,data=1145,quantity=0}] at @s run tag @s remove addtnt

Chain (Unconditional, Delay>20)

execute as @a[hasitem={item=snowball,location=slot.weapon.mainhand,data=1145,quantity=0}] at @s run tag @s remove addtnt