【統合版】基本魔法part2 : ファイアは、主にMinecraftの統合版で使用できる魔法の一つです。この魔法は、火を生成して炎のブロックを作り出すことができます。
魔法は、コマンドを使用して発動させることができます。コマンドは、/execute @p ~ ~ ~ /cast spell fireと入力することで発動します。このコマンドを実行することで、プレイヤーの近くにあるブロックに炎のブロックが生成されます。
ファイア魔法を発動する際には、魔法の効果が発生する方向を指定することができます。例えば、/execute @p ~ ~ ~ /cast spell fire 0 0 1と入力することで、プレイヤーの正面に炎のブロックが生成されます。このように、指定した方向に魔法の効果を発生させることができます。
また、魔法を発動する範囲を指定することもできます。例えば、/execute @p ~ ~ ~ /cast spell fire 0 0 0 3と入力することで、プレイヤーの周囲3ブロックに炎のブロックが生成されます。これにより、より広範囲に魔法を発動することができます。
さらに、ファイア魔法を使用する際には、魔法を発動させる前に/execute @p ~ ~ ~ /cast spell fire readyと入力することで、発動準備状態にすることができます。これにより、魔法を発動するタイミングを調整することができ、より効果的に魔法を使用することができます。
しかし、注意しなければならないのは、ファイア魔法を使用すると周囲のブロックやプレイヤーが火だるまになる可能性があるということです。そのため、使用する際には注意が必要です。
以上が【統合版】基本魔法part2 : ファイアの解説になります。他にも様々な魔法が存在するので、ぜひ探求してみてください。魔法を駆使して、より楽しいMinecraftの世界を楽しんでください。
ファイア
※(スコアを作った後)使用者は自身のスコアmagicを2にする
/scoreboard players set @s magic 2
~チャットで打つ~
/gamerule commandblockoutput false
/scoreboard objectives add magic dummy
/scoreboard objectives add fire dummy
~リピート 無条件 常時実行~
/execute as @a[scores={magic=2},hasitem={item=stick,location=slot.weapon.mainhand}] at @s if entity @s[y=~1.4,dx=0] unless entity @s[y=~1.5,dx=0] run scoreboard players add @s fire 1
~チェーン 無条件 常時実行~
/execute as @a[scores={magic=2},hasitem={item=stick,location=slot.weapon.mainhand}] at @s if entity @s[y=~1.4,dx=0] if entity @s[y=~1.5,dx=0] run scoreboard players set @s fire 0
/execute as @a[scores={magic=2,fire=1},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 0 0 minecraft:on_tame fire
/execute as @a[scores={magic=2,fire=1},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 60 0 minecraft:on_tame fire
/execute as @a[scores={magic=2,fire=1},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 120 0 minecraft:on_tame fire
/execute as @a[scores={magic=2,fire=1},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 180 0 minecraft:on_tame fire
/execute as @a[scores={magic=2,fire=1},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 240 0 minecraft:on_tame fire
/execute as @a[scores={magic=2,fire=1},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 300 0 minecraft:on_tame fire
/execute as @a[scores={magic=2,fire=1},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound mob.blaze.shoot @a ~ ~ ~ 1 1
/scoreboard players add @e[type=armor_stand,name=fire] fire 1
/execute as @e[type=armor_stand,name=fire,scores={fire=1}] at @s run tp @s ~ ~1000 ~
~ここからを5回繰り返す~
/execute as @e[type=armor_stand,name=fire,scores={fire=1..}] at @s run particle minecraft:mobflame_single ~ ~-1000 ~
/execute as @e[type=armor_stand,name=fire,scores={fire=1..}] at @s positioned ~ ~-1000 ~ run damage @e[r=1.5] 8 fire entity @s
/execute as @e[type=armor_stand,name=fire,scores={fire=1..}] at @s run tp @s ^ ^ ^0.5 ~16 ~-5
~ここまでを5回繰り返す~
/kill @e[type=armor_stand,name=fire,scores={fire=5..}]
うぽつです!
火の魔法とは対極に、水や氷の魔法もアリかもですね
惚れてまうやろ
採用率は低い(無い)が、カッメ-ンライダー!作って欲しい
魔法ってことでウィザードとかアリか?
多分1
魔法は消えるから錆にはならないんよ