マインクラフト

【マインクラフト】TNT投げ雪玉のコマンド解説

Ying Nai Wind·2/21/2026

爆弾雪玉を入手する

コマンド:

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

メインコマンド

以下のコマンドはコマンドブロックで設定し、有効化する必要があります。

ループ(無条件)

execute as @e[type=snowball,tag=!tnt,tag=爆弾雪玉] at @s run summon tnt ~~1~

チェーン(無条件)

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

チェーン(無条件)

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

チェーン(無条件)

playanimation @e[tag=爆弾雪玉] animation.creeper.swelling move 1000

チェーン(無条件)

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

チェーン(無条件)

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

チェーン(無条件)

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

チェーン(条件付き)

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

チェーン(無条件、遅延>20)

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