Back to Minecraft

【Minecraft】Tutorial de comandos para lanzar TNT

By 影奈Wind2/21/2026

Obtener la bola de nieve bomba

Comando:

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

Comandos principales

Los siguientes comandos deben configurarse y activarse en bloques de comandos.

Bucle (incondicional)

execute as @e[type=snowball,tag=!tnt,tag=bola de nieve bomba] at @s run summon tnt ~~1~

Cadena (incondicional)

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

Cadena (incondicional)

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

Cadena (incondicional)

playanimation @e[tag=bola de nieve bomba] animation.creeper.swelling move 1000

Cadena (incondicional)

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

Cadena (incondicional)

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

Cadena (incondicional)

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

Cadena (condicional)

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

Cadena (incondicional, retraso>20)

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