Minecraft summary | マイクラ動画
マインクラフトの動画まとめ
ホーム
人気記事
mod
魔法
建築
家
エンチャント
コマンド
ポーション
村人増殖
【5種類】魔法スロットにアイテムをセットして切り替え!オフハンドを魔法スロット化してみた【コピペ可能】【マイクラBE】【コマンド】【hasitem革命】【β版】
2022.03.27
マイクラ動画
HOME
マイクラ動画
【5種類】魔法スロットにアイテムをセットして切り替え!オフハンドを魔法スロット化してみた【コピペ可能】【マイクラBE】【コマンド】【hasitem革命】【β版】
マイクラ動画
カテゴリの最新記事
2025.05.07
白色を見たら即終了マイクラ!!#shorts #マイクラ
2025.05.07
【罰ゲーム】マジで終わった。#shorts #マイクラ
2025.05.07
存在しない思い出たち #マイクラ #切り抜き #切り抜き
2025.05.07
村人が最強である理由#shorts #マイクラ #マインクラフト
2025.05.07
超巨大な金のリンゴがなる木を育てるまで終われません!【マイクラ】
2025.05.07
リアルなブラコン #shorts #minecraft #マイクラ #中学生 #マイクラ統合版
オフハンドに持つアイテムが撃つ魔法を決めるコマンド(豪華に5種類もの魔法付き!)
▼概要
・オフハンドに持つ効果付きの矢によって投げる雪玉につく効果が変わる
・耐火(0:22)がファイアボール(MP消費3)
・力(1:00)がブラスト(MP消費7)
・スピード(0:22)がフリーズ(MP消費5)
・低速落下(0:30)がボルト(MP消費6)
・再生(0:15)がリジェネ(MP消費10)
・各魔法の効果は動画内で説明しています
・雪玉を持つとアクションバーに自分の最大MPと現在MPが表示される
・最大MPの初期値は30(/scoreboard players set セレクター max_mp 値 で変更可能)
・現在MPは/scoreboard players add セレクター mp 値 で増やしてください
▼下準備
・全て一度は実行する
/scoreboard objectives add mp dummy
/scoreboard objectives add max_mp dummy
/scoreboard objectives add snow_type dummy
/scoreboard objectives add magic_type dummy
/scoreboard objectives add magic_henkou dummy
/scoreboard objectives add magic_henkou2 dummy
▼コマンド本体
・全て1列に繋げる
・1番初めのコマンドのみ「反復 無条件 常にアクティブ」
・1番初めのコマンド以外は「チェーン 無条件 常にアクティブ」
/scoreboard players add @a mp 0
/scoreboard players add @a max_mp 0
/scoreboard players set @a[scores={max_mp=0}] max_mp 30
/execute @a[hasitem={item=snowball,location=slot.weapon.mainhand}] ~~~ titleraw @s actionbar{“rawtext”:[{“text”:”§l[MP]§r “},{“score”:{“name”:”@s”,”objective”:”mp”}},{“text”:” / “},{“score”:{“name”:”@s”,”objective”:”max_mp”}}]}
/title @a[hasitem={item=snowball,location=slot.weapon.mainhand},scores={magic_type=0}] subtitle 雪玉 [0] §f
/title @a[hasitem={item=snowball,location=slot.weapon.mainhand},scores={magic_type=1}] subtitle ファイアボール [3] §f
/title @a[hasitem={item=snowball,location=slot.weapon.mainhand},scores={magic_type=2}] subtitle ブラスト [7] §f
/title @a[hasitem={item=snowball,location=slot.weapon.mainhand},scores={magic_type=3}] subtitle フリーズ [5] §f
/title @a[hasitem={item=snowball,location=slot.weapon.mainhand},scores={magic_type=4}] subtitle ボルト [6] §f
/title @a[hasitem={item=snowball,location=slot.weapon.mainhand},scores={magic_type=5}] subtitle リジェネ [10] §f
/title @a[hasitem={item=snowball,location=slot.weapon.mainhand},scores={magic_type=0..}] times 0 2 0
/title @a[hasitem={item=snowball,location=slot.weapon.mainhand},scores={magic_type=0..}] title §l
/scoreboard players set @a magic_type 0
/scoreboard players set @a[hasitem={item=arrow,location=slot.weapon.offhand,data=13}] magic_type 1
/scoreboard players set @a[hasitem={item=arrow,location=slot.weapon.offhand,data=33}] magic_type 2
/scoreboard players set @a[hasitem={item=arrow,location=slot.weapon.offhand,data=15}] magic_type 3
/scoreboard players set @a[hasitem={item=arrow,location=slot.weapon.offhand,data=42}] magic_type 4
/scoreboard players set @a[hasitem={item=arrow,location=slot.weapon.offhand,data=30}] magic_type 5
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ give @s[scores={magic_type=1..}] snowball
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={magic_type=1}] ~~~ execute @s[scores={mp=3..}] ~~~ scoreboard players set @e[type=snowball,tag=!snowball] snow_type 1
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={mp=..2}] ~~~ tag @s[scores={magic_type=1}] add no_mp
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={mp=3..}] ~~~ scoreboard players add @s[scores={magic_type=1}] mp -3
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={magic_type=2}] ~~~ execute @s[scores={mp=7..}] ~~~ scoreboard players set @e[type=snowball,tag=!snowball] snow_type 2
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={mp=..6}] ~~~ tag @s[scores={magic_type=2}] add no_mp
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={mp=7..}] ~~~ scoreboard players add @s[scores={magic_type=2}] mp -7
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={magic_type=3}] ~~~ execute @s[scores={mp=5..}] ~~~ scoreboard players set @e[type=snowball,tag=!snowball] snow_type 3
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={mp=..4}] ~~~ tag @s[scores={magic_type=3}] add no_mp
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={mp=5..}] ~~~ scoreboard players add @s[scores={magic_type=3}] mp -5
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={magic_type=4}] ~~~ execute @s[scores={mp=6..}] ~~~ scoreboard players set @e[type=snowball,tag=!snowball] snow_type 4
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={mp=..5}] ~~~ tag @s[scores={magic_type=4}] add no_mp
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={mp=6..}] ~~~ scoreboard players add @s[scores={magic_type=4}] mp -6
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={magic_type=5}] ~~~ execute @s[scores={mp=10..}] ~~~ scoreboard players set @e[type=snowball,tag=!snowball] snow_type 5
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={mp=..9}] ~~~ tag @s[scores={magic_type=5}] add no_mp
/execute @e[type=snowball,tag=!snowball] ~~~ execute @p[r=3] ~~~ execute @s[scores={mp=10..}] ~~~ scoreboard players add @s[scores={magic_type=5}] mp -10
/execute @a[tag=no_mp] ~~~ playsound random.click @s ~~~ 1 2
/execute @a[tag=no_mp] ~~~ tellraw @s{“rawtext”:[{“text”:”§4MPが足りません!”}]}
/execute @a[tag=no_mp] ~~~ kill @e[type=snowball,tag=!snowball,c=1]
/tag @a remove no_mp
/tag @e[type=snowball] add snowball
/tag @e[type=armor_stand,name=snow_tyakudan] add snow_tyakudan
/execute @e[scores={snow_type=1..}] ~~1000~ tag @e[r=3,type=armor_stand] remove snow_tyakudan
/execute @e[tag=snow_tyakudan,scores={snow_type=1}] ~~~ particle minecraft:mobflame_single ~~-1000~
/execute @e[tag=snow_tyakudan,scores={snow_type=1}] ~~-1000~ damage @e[r=2,family=mob] 6 fire entity @s
/execute @e[tag=snow_tyakudan,scores={snow_type=1}] ~~-1000~ playsound mob.blaze.shoot @a ~~~ 1 1
/execute @e[type=snowball,scores={snow_type=1}] ~~~ particle minecraft:basic_flame_particle ~~~
/execute @e[tag=snow_tyakudan,scores={snow_type=2}] ~~~ particle minecraft:dragon_death_explosion_emitter ~~-1000~
/execute @e[tag=snow_tyakudan,scores={snow_type=2}] ~~-1000~ damage @e[r=5,family=mob] 15 entity_attack entity @s
/execute @e[tag=snow_tyakudan,scores={snow_type=2}] ~~-1000~ playsound random.explode @a ~~~ 1 1
/execute @e[type=snowball,scores={snow_type=2}] ~~~ particle minecraft:lava_particle ~~~
/execute @e[tag=snow_tyakudan,scores={snow_type=3}] ~~~ particle minecraft:knockback_roar_particle ~~-1000~
/execute @e[tag=snow_tyakudan,scores={snow_type=3}] ~~-1000~ damage @e[r=5,family=mob] 4 entity_attack entity @s
/execute @e[tag=snow_tyakudan,scores={snow_type=3}] ~~-1000~ effect @e[r=5,family=mob] slowness 3 255 true
/execute @e[tag=snow_tyakudan,scores={snow_type=3}] ~~-1000~ playsound random.glass @a ~~~ 1 1
/execute @e[type=snowball,scores={snow_type=3}] ~~~ particle minecraft:falling_dust_top_snow_particle ~~~
/execute @e[tag=snow_tyakudan,scores={snow_type=4}] ~~~ summon lightning_bolt ~ ~-1002 ~
/execute @e[type=snowball,scores={snow_type=4}] ~~~ particle minecraft:basic_crit_particle ~~~
/execute @e[tag=snow_tyakudan,scores={snow_type=5}] ~~-1000~ playsound random.orb @a ~~~ 1 1
/execute @e[tag=snow_tyakudan,scores={snow_type=5}] ~~~ particle minecraft:totem_particle ~ ~-1000 ~
/execute @e[tag=snow_tyakudan,scores={snow_type=5}] ~~-1000~ effect @a[r=5] regeneration 1 255
/execute @e[type=snowball,scores={snow_type=5}] ~~~ particle minecraft:heart_particle ~~~
/kill @e[type=armor_stand,scores={snow_type=1..}]
/execute @e[scores={snow_type=1..}] ~~~ summon armor_stand snow_tyakudan ~ ~1000 ~
/execute @e[scores={snow_type=1..}] ~~1000~ scoreboard players opeartion @e[r=3,type=armor_stand] snow_type = @s snow_type
/execute @a ~~~ scoreboard players operation @s magic_henkou = @s magic_type
/execute @a ~~~ scoreboard players operation @s magic_henkou -= @s magic_henkou2
/tag @a[scores={magic_henkou=!0}] add change_magic_type
/execute @a ~~~ scoreboard players operation @s magic_henkou2 = @s magic_type
/execute @a[tag=change_magic_type] ~~~ particle minecraft:critical_hit_emitter ~~1~
/execute @a[tag=change_magic_type] ~~~ playsound random.click @a ~~~ 1 1
/execute @a[tag=change_magic_type] ~~~ playsound ui.cartography_table.take_result @a ~~~ 1 1
/execute @a[tag=change_magic_type] ~~~ tellraw @s{“rawtext”:[{“text”:”§l魔法を変更しました”}]}
tag @a remove change_magic_type
完成!お疲れさまでした
一言
「長すぎ」
弓で左手に持っている矢を消費しちゃうのでオームガイの方が良いですよ!
へへ、トーンでもないな。スケルトンだけに?
やっぱりスケールが違うよな。スケルトンだけに?
コツコツ頑張ってんだろな。骨だけに?
凄すぎて目が点になったよ!目は無いけどな!
\ツクテーン/
1コメ取りたかった(´・ω・`)
マジで魔法とかいいなー
釣竿の需要が高まるな
あーあー、早くhasitem来ないかなー
マジでhasitem来ないなー
正式リリースされてデータち管理がきちんとしてくれば、地図なんかで関知できますね
知らなかった(知ってたの対義語)
弓矢の引き具合によって、強さ帰れたら良さそう