ライトニングは、統合版マインクラフトで使用することのできる基本魔法の一つです。プレイヤーが指定した場所に落雷を発生させることができます。
ライトニングを使用するには、コマンド「/summon lightning_bolt」を使用します。このコマンドを入力すると、プレイヤーの位置に落雷が発生します。ただし、コマンドを実行すると即座に落雷が発生するため、注意が必要です。
また、落雷が発生する地点は、必ずしもプレイヤーの位置とは限りません。落雷の発生位置はランダムに決まりますので、意図した位置に落雷を発生させるには、事前にプレイヤーが移動しておく必要があります。
さらに、ライトニングは周囲の物体や生き物にもダメージを与えることができます。プレイヤーの位置や落雷の発生位置に近い敵対的なモブやブロックにはダメージが与えられますので、戦闘で使用すると有効な手段となります。
以上が、ライトニングの基本的な使い方についての説明です。プレイヤーの想像力と戦略次第で、さまざまな活用方法が考えられるので、ぜひ試してみてください。
ライトニング
※(スコアを作った後)使用者は自身のスコアmagicを3にする
/scoreboard players set @s magic 3
~チャットで打つ~
/gamerule commandblockoutput false
/scoreboard objectives add magic dummy
/scoreboard objectives add lightning dummy
~リピート 無条件 常時実行~
/execute as @a[scores={magic=3},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 lightning 1
~チェーン 無条件 常時実行~
/execute as @a[scores={magic=3},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 lightning 0
/execute as @a[scores={magic=3,lightning=1},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 0 0 minecraft:on_tame lightning
/execute as @a[scores={magic=3,lightning=1},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound mob.allay.idle @a ~ ~ ~ 1 2
/scoreboard players add @e[type=armor_stand,name=lightning] lightning 1
/execute as @e[type=armor_stand,name=lightning,scores={lightning=1}] at @s run tp @s ~ ~1001 ~
/execute as @e[type=armor_stand,name=lightning,scores={lightning=1}] at @s positioned ~ ~-1000 ~ run particle minecraft:sonic_explosion ^ ^ ^2
/execute as @e[type=armor_stand,name=lightning,scores={lightning=1}] at @s positioned ~ ~-1000 ~ run particle minecraft:sonic_explosion ^1.732 ^ ^-1
/execute as @e[type=armor_stand,name=lightning,scores={lightning=1}] at @s positioned ~ ~-1000 ~ run particle minecraft:sonic_explosion ^-1.732 ^ ^-1
/execute as @e[type=armor_stand,name=lightning,scores={lightning=2..}] at @s positioned ~ ~-1000 ~ run particle minecraft:balloon_gas_particle ^ ^ ^2
/execute as @e[type=armor_stand,name=lightning,scores={lightning=2..}] at @s positioned ~ ~-1000 ~ run particle minecraft:balloon_gas_particle ^1.732 ^ ^-1
/execute as @e[type=armor_stand,name=lightning,scores={lightning=2..}] at @s positioned ~ ~-1000 ~ run particle minecraft:balloon_gas_particle ^-1.732 ^ ^-1
/execute as @e[type=armor_stand,name=lightning,scores={lightning=1..}] at @s run tp @s ~ ~ ~ ~12
/execute as @e[type=armor_stand,name=lightning,scores={lightning=10}] at @s positioned ~ ~-1000 ~ run summon lightning_bolt ^ ^ ^2
/execute as @e[type=armor_stand,name=lightning,scores={lightning=10}] at @s positioned ~ ~-1000 ~ run summon lightning_bolt ^1.732 ^ ^-1
/execute as @e[type=armor_stand,name=lightning,scores={lightning=10}] at @s positioned ~ ~-1000 ~ run summon lightning_bolt ^-1.732 ^ ^-1
/execute as @e[type=armor_stand,name=lightning,scores={lightning=10}] at @s positioned ~ ~-1000 ~ run particle minecraft:knockback_roar_particle ^ ^ ^2
/execute as @e[type=armor_stand,name=lightning,scores={lightning=10}] at @s positioned ~ ~-1000 ~ run particle minecraft:knockback_roar_particle ^1.732 ^ ^-1
/execute as @e[type=armor_stand,name=lightning,scores={lightning=10}] at @s positioned ~ ~-1000 ~ run particle minecraft:knockback_roar_particle ^-1.732 ^ ^-1
/execute as @e[type=armor_stand,name=lightning,scores={lightning=11}] at @s positioned ~ ~-1000 ~ run stopsound @a[r=10]
/execute as @e[type=armor_stand,name=lightning,scores={lightning=12}] at @s positioned ~ ~-1000 ~ run playsound cauldron.explode @a ~ ~ ~ 1 1
/kill @e[type=armor_stand,name=lightning,scores={lightning=12..}]
雷はやっぱ単純にかっこいい
クリーパーを召喚して敵に突進させる杖があればなぁ……
最高
防具立てが召喚されません。コマンドもすべて合っているはずです。どうすればいいでしょうか?
呪術廻戦の陀艮の術式 死累累湧軍(しるるゆうぐん) を作ってほしいです!
ダイの大冒険より
カイザーフェニックス お願いします
リクエストです
出来ればでいいので、原神の雷電将軍かアルレッキーノのスキル、又は元素爆発をお願いします!
音とか見た目とかこれが一番好き