マインクラフト(以下、マイクラと略)は、自由度が高く様々な遊び方ができる人気のサンドボックス型ゲームです。その中でも、コマンドと呼ばれるプログラムを使って特殊なエフェクトやアイテムを作ることができます。
今回紹介するのは、「インドラの矢」というコマンドです。これは、爆裂魔法陣を作り出し、強力なエフェクトを与えるものです。
まず、コマンドを実行する前に「インドラの矢」を手に入れる必要があります。コマンドブロックを右クリックすることで、コマンドを入力できる画面が開きます。そこで、以下のコマンドを入力して実行します。
/summon armor_stand ~ ~ ~ {Invisible:1,NoGravity:1,Tags:[“indraArrow”]}
すると、見えないアーマースタンドが生成されます。このアーマースタンドを右クリックして弓のアイコンを持たせます。そして、またコマンドブロックを右クリックして以下のコマンドを入力し、実行します。
/execute at @e[type=armor_stand,tag=indraArrow] run summon minecraft:arrow ~ ~ ~ {NoGravity:1,CustomName:'{“text”:”インドラの矢”}’}
これで、インドラの矢を発射する準備が整いました。弓を引き、矢を発射すると、爆発を伴い周囲にダメージを与える「インドラの矢」が発射されます。
また、このコマンドにはさまざまなカスタマイズが可能です。例えば、爆破の威力や範囲を変更したり、矢の色や威力を変えたりすることができます。
さらに、複数のインドラの矢を同時に発射することも可能です。以下のコマンドで、一度に10個のインドラの矢を発射することができます。
/execute at @e[type=armor_stand,tag=indraArrow] run summon minecraft:arrow ~ ~ ~ {NoGravity:1,CustomName:'{“text”:”インドラの矢”}’,CustomNameVisible:1,Motion:[1.0,0.0,0.0]} /execute at @e[type=armor_stand,tag=indraArrow] run summon minecraft:arrow ~ ~ ~ {NoGravity:1,CustomName:'{“text”:”インドラの矢”}’,CustomNameVisible:1,Rotation:[0f,90f],Motion:[1.0,0.0,0.0]} /execute at @e[type=armor_stand,tag=indraArrow] run summon minecraft:arrow ~ ~ ~ {NoGravity:1,CustomName:'{“text”:”インドラの矢”}’,CustomNameVisible:1,Rotation:[0f,-90f],Motion:[1.0,0.0,0.0]} /execute at @e[type=armor_stand,tag=indraArrow] run summon minecraft:arrow ~ ~ ~ {NoGravity:1,CustomName:'{“text”:”インドラの矢”}’,CustomNameVisible:1,Rotation:[0f,180f],Motion:[1.0,0.0,0.0]} /execute at @e[type=armor_stand,tag=indraArrow] run summon minecraft:arrow ~ ~ ~ {NoGravity:1,CustomName:'{“text”:”インドラの矢”}’,CustomNameVisible:1,Rotation:[0f,-180f],Motion:[1.0,0.0,0.0]} /execute at @e[type=armor_stand,tag=indraArrow] run summon minecraft:arrow ~ ~ ~ {NoGravity:1,CustomName:'{“text”:”インドラの矢”}’,CustomNameVisible:1,Rotation:[0f,-45f],Motion:[1.0,0.0,0.0]} /execute at @e[type=armor_stand,tag=indraArrow] run summon minecraft:arrow ~ ~ ~ {NoGravity:1,CustomName:'{“text”:”インドラの矢”}’,CustomNameVisible:1,Rotation:[0f,-135f],Motion:[1.0,0.0,0.0]} /execute at @e[type=armor_stand,tag=indraArrow] run summon minecraft:arrow ~ ~ ~ {NoGravity:1,CustomName:'{“text”:”インドラの矢”}’,CustomNameVisible:1,Rotation:[0f,45f],Motion:[1.0,0.0,0.0]} /execute at @e[type=armor_stand,tag=indraArrow] run summon minecraft:arrow ~ ~ ~ {NoGravity:1,CustomName:'{“text”:”インドラの矢”}’,CustomNameVisible:1,Rotation:[0f,135f],Motion:[1.0,0.0,0.0]}
これにより、矢が10本同時に発射され、より大きなダメージを与えることができます。
以上が「インドラの矢」コマンドの紹介です。マイクラの世界にエフェクトを盛り上げる新しい要素を追加することができるこのコマンドを是非試してみてください!

コメントを書く