「魔法を発動させるための装置」 ~リピート 無条件 常時実行~ /scoreboard players add @e magic 0 ~チェーン 無条件 常時実行~ /scoreboard players add @e cooltime 0 /scoreboard players add @e mp 0 /scoreboard players add @a[scores={cooltime=1..}] cooltime -1 /execute as @a[scores={cooltime=1}] at @s run playsound random.pop2 @s ~ ~ ~ 1 1 /execute as @a at @s if entity @s[y=~1.4,dx=0] unless entity @s[y=~1.5,dx=0] run scoreboard players add @s sneak 1 /execute as @a at @s if entity @s[y=~1.4,dx=0] if entity @s[y=~1.5,dx=0] run scoreboard players set @s sneak 0 /execute as @a[scores={sneak=1},hasitem={item=book,location=slot.weapon.mainhand}] at @s run scoreboard players add @s magic 1 /execute as @a[scores={sneak=1},hasitem={item=book,location=slot.weapon.mainhand}] at @s run playsound random.click @s ~ ~ ~ 1 1 /scoreboard players set @a[scores={magic=8..}] magic 0 /execute as @a[scores={sneak=1,cooltime=1..},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1 ※ウィンド /execute as @a[scores={sneak=1,magic=0,mp=..9,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1 /execute as @a[scores={sneak=1,magic=0,mp=10..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^2 facing @s minecraft:on_tame wind /scoreboard players set @a[scores={sneak=1,magic=0,mp=10..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 50 /scoreboard players add @a[scores={sneak=1,magic=0,mp=10..,cooltime=50},hasitem={item=stick,location=slot.weapon.mainhand}] mp -10 /scoreboard players add @e[type=armor_stand,name=wind] wind 1 /execute as @e[type=armor_stand,name=wind,scores={wind=1}] at @s run tp @s ~ ~1001 ~ /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run playsound mob.enderdragon.flap @a ~ ~ ~ 1 1 /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run particle minecraft:dragon_destroy_block ~ ~ ~ /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run particle minecraft:dragon_destroy_block ~ ~2 ~ /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run particle minecraft:dragon_destroy_block ~ ~4 ~ /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run particle minecraft:dragon_destroy_block ~ ~6 ~ /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run damage @e[r=1.5] 1 self_destruct entity @s /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-998 ~ run damage @e[r=1.5] 1 self_destruct entity @s /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-996 ~ run damage @e[r=1.5] 1 self_destruct entity @s /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-994 ~ run damage @e[r=1.5] 1 self_destruct entity @s /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run effect @e[r=1.5] levitation 1 8 true /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-998 ~ run effect @e[r=1.5] levitation 1 8 true /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-996 ~ run effect @e[r=1.5] levitation 1 8 true /execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-994 ~ run effect @e[r=1.5] levitation 1 8 true /tag @e[type=armor_stand,name=wind] add wind /execute as @e[type=armor_stand,name=wind,scores={wind=1..40}] at @s positioned ~ ~-1000 ~ if block ^ ^ ^-1 air positioned ~ ~1 ~ if block ^ ^ ^-1 air positioned ~ ~1 ~ if block ^ ^ ^-1 air positioned ~ ~1 ~ if block ^ ^ ^-1 air positioned ~ ~1 ~ if block ^ ^ ^-1 air positioned ~ ~1 ~ if block ^ ^ ^-1 air positioned ~ ~1 ~ if block ^ ^ ^-1 air positioned ~ ~994 ~ run tag @s remove wind /execute as @e[type=armor_stand,name=wind,scores={wind=1..40},tag=!wind] at @s run tp @s ^ ^ ^-1 /execute as @e[type=armor_stand,name=wind,tag=wind] at @s positioned ~ ~-1000 ~ run particle minecraft:knockback_roar_particle ~ ~ ~ /execute as @e[type=armor_stand,name=wind,tag=wind] at @s positioned ~ ~-998 ~ run particle minecraft:knockback_roar_particle ~ ~ ~ /execute as @e[type=armor_stand,name=wind,tag=wind] at @s positioned ~ ~-996 ~ run particle minecraft:knockback_roar_particle ~ ~ ~ /execute as @e[type=armor_stand,name=wind,tag=wind] at @s positioned ~ ~-994 ~ run particle minecraft:knockback_roar_particle ~ ~ ~ /kill @e[type=armor_stand,name=wind,tag=wind]
※ファイア /execute as @a[scores={sneak=1,magic=1,mp=..19,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1 /execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 0 0 minecraft:on_tame fire /execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 60 0 minecraft:on_tame fire /execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 120 0 minecraft:on_tame fire /execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 180 0 minecraft:on_tame fire /execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 240 0 minecraft:on_tame fire /execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 300 0 minecraft:on_tame fire /execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound mob.blaze.shoot @a ~ ~ ~ 1 1 /scoreboard players set @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 100 /scoreboard players add @a[scores={sneak=1,magic=1,mp=20..,cooltime=100},hasitem={item=stick,location=slot.weapon.mainhand}] mp -20 /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..}]
※ライトニング /execute as @a[scores={sneak=1,magic=2,mp=..29,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1 /execute as @a[scores={sneak=1,magic=2,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 0 0 minecraft:on_tame lightning /execute as @a[scores={sneak=1,magic=2,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound mob.allay.idle @a ~ ~ ~ 1 2 /scoreboard players set @a[scores={sneak=1,magic=2,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 140 /scoreboard players add @a[scores={sneak=1,magic=2,mp=30..,cooltime=140},hasitem={item=stick,location=slot.weapon.mainhand}] mp -30 /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 /kill @e[type=armor_stand,name=lightning,scores={lightning=10}] ※ソニック /execute as @a[scores={sneak=1,magic=3,mp=..19,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1 /execute as @a[scores={sneak=1,magic=3,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound mob.warden.sonic_boom @a ~ ~ ~ 1 1 /execute as @a[scores={sneak=1,magic=3,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon boat ^ ^ ^1 facing @s /execute as @a[scores={sneak=1,magic=3,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^1 run tag @e[type=boat,r=1] add sonic /scoreboard players set @a[scores={sneak=1,magic=3,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 100 /scoreboard players add @a[scores={sneak=1,magic=3,mp=20..,cooltime=100},hasitem={item=stick,location=slot.weapon.mainhand}] mp -20 /execute as @e[type=boat,tag=sonic] at @s run tp @s ~ ~1001.65 ~ ~ここから20回繰り返す~ /execute as @e[type=boat,tag=sonic] at @s positioned ~ ~-1000 ~ if block ^ ^ ^-1 air run particle minecraft:sonic_explosion /execute as @e[type=boat,tag=sonic] at @s positioned ~ ~-1000 ~ run tag @e[r=1.5] add sonic /execute as @e[type=boat,tag=sonic] at @s positioned ~ ~-1001.65 ~ run tag @e[r=1.5] add sonic /execute as @e[type=boat,tag=sonic] at @s positioned ~ ~-1000 ~ if block ^ ^ ^-1 air positioned ~ ~1000 ~ run tp @s ^ ^ ^-1 ~ここまでを20回繰り返す~ /tag @a[scores={sneak=1,magic=3,cooltime=100}] remove sonic /execute as @e[type=!boat,tag=sonic] at @s run damage @s 6 self_destruct entity @p[scores={sneak=1,magic=3,cooltime=100}] /kill @e[type=boat,tag=sonic] /tag @e remove sonic ※アイス /execute as @a[scores={sneak=1,magic=4,mp=..29,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1 /execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound random.anvil_land @a ~ ~ ~ 1 1.3 /execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:knockback_roar_particle ~ ~1.65 ~ /execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run effect @e[r=4.9] slowness 3 255 true /execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run effect @e[r=4.9] weakness 3 255 true /execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run inputpermission set @e[r=4.9] movement disabled /execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run inputpermission set @e[r=4.9] camera disabled /execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run scoreboard players set @e[r=4.9] ice 60 /scoreboard players set @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 140 /scoreboard players add @a[scores={sneak=1,magic=4,mp=30..,cooltime=140},hasitem={item=stick,location=slot.weapon.mainhand}] mp -30 /scoreboard players add @e[scores={ice=1..}] ice -1 /execute as @e[scores={ice=1}] at @s run inputpermission set @s movement enabled /execute as @e[scores={ice=1}] at @s run inputpermission set @s camera enabled
※ハンガー /execute as @a[scores={sneak=1,magic=5,mp=..29,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1 /execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound mob.horse.skeleton.death @a ~ ~ ~ 1 1 /execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:critical_hit_emitter ~ ~2 ~ /execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:critical_hit_emitter ~ ~3 ~ /execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:villager_angry ~1 ~1.5 ~ /execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:villager_angry ~-1 ~1.5 ~ /execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:villager_angry ~ ~1.5 ~1 /execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:villager_angry ~ ~1.5 ~-1 /execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run effect @e[r=4.9] hunger 4 255 /scoreboard players set @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 140 /scoreboard players add @a[scores={sneak=1,magic=5,mp=30..,cooltime=140},hasitem={item=stick,location=slot.weapon.mainhand}] mp -30 ※ヒール /execute as @a[scores={sneak=1,magic=6,mp=..19,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1 /execute as @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run effect @s instant_health 1 1 true /execute as @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound crossbow.loading.middle @a ~ ~ ~ 1 2 /execute as @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run particle minecraft:heart_particle ~1 ~1 ~ /execute as @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run particle minecraft:heart_particle ~-1 ~1 ~ /execute as @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run particle minecraft:heart_particle ~ ~1 ~1 /execute as @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run particle minecraft:heart_particle ~ ~1 ~-1 /scoreboard players set @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 100 /scoreboard players add @a[scores={sneak=1,magic=6,mp=20..,cooltime=100},hasitem={item=stick,location=slot.weapon.mainhand}] mp -20 ※バリア /execute as @a[scores={sneak=1,magic=7,mp=..49,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1 /execute as @a[scores={sneak=1,magic=7,mp=50..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound beacon.power @a ~ ~ ~ 1 1 /scoreboard players set @a[scores={sneak=1,magic=7,mp=50..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] barrier 140 /scoreboard players set @a[scores={sneak=1,magic=7,mp=50..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 10 /scoreboard players add @a[scores={sneak=1,magic=7,mp=50..,cooltime=10},hasitem={item=stick,location=slot.weapon.mainhand}] mp -50 /scoreboard players add @a[scores={barrier=1..}] barrier -1 /execute as @a[scores={barrier=1..}] at @s run particle minecraft:balloon_gas_particle ^5 ^ ^ /execute as @a[scores={barrier=1..}] at @s run particle minecraft:balloon_gas_particle ^-5 ^ ^ /execute as @a[scores={barrier=1..}] at @s run particle minecraft:balloon_gas_particle ^ ^5 ^ /execute as @a[scores={barrier=1..}] at @s run particle minecraft:balloon_gas_particle ^ ^-5 ^ /execute as @a[scores={barrier=1..}] at @s run particle minecraft:balloon_gas_particle ^ ^ ^5 /execute as @a[scores={barrier=1..}] at @s run particle minecraft:balloon_gas_particle ^ ^ ^-5 /execute as @a[scores={barrier=1..}] at @s run damage @e[r=5,rm=0.1] 0 self_destruct entity @s
おー確かに こういうことですかね /scoreboard objectives add kaihuku dummy 回復というスコアを作成する /execute as @a at @s run scoreboard players add @s kaihuku 1 全てのプレイヤーに回復というスコアを1ずつ足していく /execute as @a[scores={kaihuku=40..}] at @s run scoreboard players add @s mp 1 回復というスコアがリアルで2秒たった全てのプレイヤーにmpというスコアを1足す /execute as @a[scores={kaihuku=40..}] at @s run scoreboard players set @s kaihuku 0 回復というスコアがリアルで2秒たった全てのプレイヤーの回復というスコアを0にする 私がコマンドミスっていなければこれで2秒で1ずつmpが増えていくはずです! 長文すみません…
基本魔法シリーズ完成版
~チャットで打つ~
/gamerule commandblockoutput false
/scoreboard objectives add magic dummy
/scoreboard objectives add sneak dummy
/scoreboard objectives add cooltime dummy
/scoreboard objectives add mp dummy
/scoreboard objectives add wind dummy
/scoreboard objectives add fire dummy
/scoreboard objectives add lightning dummy
/scoreboard objectives add sonic dummy
/scoreboard objectives add ice dummy
/scoreboard objectives add barrier dummy
「mpを回復する装置」
~リピート 無条件 常時実行~
/scoreboard players add @a[scores={mp=..99}] mp 1
※コマンドブロックのティックの遅延を20にすると+1mp毎秒
※99の部分は好みの最大mpから1引いたもの
「魔法名、使用可能の有無、消費mp、mpを表示する装置」
~リピート 無条件 常時実行~
/execute as @a[scores={magic=0}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:10 §4使用不可§r "}]}
~チェーン 無条件 常時実行~
/execute as @a[scores={magic=1}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:20 §4使用不可§r "}]}
/execute as @a[scores={magic=2}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:30 §4使用不可§r "}]}
/execute as @a[scores={magic=3}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:20 §4使用不可§r "}]}
/execute as @a[scores={magic=4}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:30 §4使用不可§r "}]}
/execute as @a[scores={magic=5}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:30 §4使用不可§r "}]}
/execute as @a[scores={magic=6}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:30 §4使用不可§r "}]}
/execute as @a[scores={magic=7}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:50 §4使用不可§r "}]}
/execute as @a[scores={magic=0,mp=10..,cooltime=0}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:10 §a使用可能§r "}]}
/execute as @a[scores={magic=1,mp=20..,cooltime=0}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:20 §a使用可能§r "}]}
/execute as @a[scores={magic=2,mp=30..,cooltime=0}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:30 §a使用可能§r "}]}
/execute as @a[scores={magic=3,mp=20..,cooltime=0}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:20 §a使用可能§r "}]}
/execute as @a[scores={magic=4,mp=30..,cooltime=0}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:30 §a使用可能§r "}]}
/execute as @a[scores={magic=5,mp=30..,cooltime=0}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:30 §a使用可能§r "}]}
/execute as @a[scores={magic=6,mp=30..,cooltime=0}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:30 §a使用可能§r "}]}
/execute as @a[scores={magic=7,mp=50..,cooltime=0}] at @s run titleraw @s actionbar {"rawtext":[{"text":" 消費mp:50 §a使用可能§r "}]}
「魔法を発動させるための装置」
~リピート 無条件 常時実行~
/scoreboard players add @e magic 0
~チェーン 無条件 常時実行~
/scoreboard players add @e cooltime 0
/scoreboard players add @e mp 0
/scoreboard players add @a[scores={cooltime=1..}] cooltime -1
/execute as @a[scores={cooltime=1}] at @s run playsound random.pop2 @s ~ ~ ~ 1 1
/execute as @a at @s if entity @s[y=~1.4,dx=0] unless entity @s[y=~1.5,dx=0] run scoreboard players add @s sneak 1
/execute as @a at @s if entity @s[y=~1.4,dx=0] if entity @s[y=~1.5,dx=0] run scoreboard players set @s sneak 0
/execute as @a[scores={sneak=1},hasitem={item=book,location=slot.weapon.mainhand}] at @s run scoreboard players add @s magic 1
/execute as @a[scores={sneak=1},hasitem={item=book,location=slot.weapon.mainhand}] at @s run playsound random.click @s ~ ~ ~ 1 1
/scoreboard players set @a[scores={magic=8..}] magic 0
/execute as @a[scores={sneak=1,cooltime=1..},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1
※ウィンド
/execute as @a[scores={sneak=1,magic=0,mp=..9,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1
/execute as @a[scores={sneak=1,magic=0,mp=10..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^2 facing @s minecraft:on_tame wind
/scoreboard players set @a[scores={sneak=1,magic=0,mp=10..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 50
/scoreboard players add @a[scores={sneak=1,magic=0,mp=10..,cooltime=50},hasitem={item=stick,location=slot.weapon.mainhand}] mp -10
/scoreboard players add @e[type=armor_stand,name=wind] wind 1
/execute as @e[type=armor_stand,name=wind,scores={wind=1}] at @s run tp @s ~ ~1001 ~
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run playsound mob.enderdragon.flap @a ~ ~ ~ 1 1
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run particle minecraft:dragon_destroy_block ~ ~ ~
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run particle minecraft:dragon_destroy_block ~ ~2 ~
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run particle minecraft:dragon_destroy_block ~ ~4 ~
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run particle minecraft:dragon_destroy_block ~ ~6 ~
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run damage @e[r=1.5] 1 self_destruct entity @s
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-998 ~ run damage @e[r=1.5] 1 self_destruct entity @s
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-996 ~ run damage @e[r=1.5] 1 self_destruct entity @s
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-994 ~ run damage @e[r=1.5] 1 self_destruct entity @s
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-1000 ~ run effect @e[r=1.5] levitation 1 8 true
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-998 ~ run effect @e[r=1.5] levitation 1 8 true
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-996 ~ run effect @e[r=1.5] levitation 1 8 true
/execute as @e[type=armor_stand,name=wind,scores={wind=1..}] at @s positioned ~ ~-994 ~ run effect @e[r=1.5] levitation 1 8 true
/tag @e[type=armor_stand,name=wind] add wind
/execute as @e[type=armor_stand,name=wind,scores={wind=1..40}] at @s positioned ~ ~-1000 ~ if block ^ ^ ^-1 air positioned ~ ~1 ~ if block ^ ^ ^-1 air positioned ~ ~1 ~ if block ^ ^ ^-1 air positioned ~ ~1 ~ if block ^ ^ ^-1 air positioned ~ ~1 ~ if block ^ ^ ^-1 air positioned ~ ~1 ~ if block ^ ^ ^-1 air positioned ~ ~1 ~ if block ^ ^ ^-1 air positioned ~ ~994 ~ run tag @s remove wind
/execute as @e[type=armor_stand,name=wind,scores={wind=1..40},tag=!wind] at @s run tp @s ^ ^ ^-1
/execute as @e[type=armor_stand,name=wind,tag=wind] at @s positioned ~ ~-1000 ~ run particle minecraft:knockback_roar_particle ~ ~ ~
/execute as @e[type=armor_stand,name=wind,tag=wind] at @s positioned ~ ~-998 ~ run particle minecraft:knockback_roar_particle ~ ~ ~
/execute as @e[type=armor_stand,name=wind,tag=wind] at @s positioned ~ ~-996 ~ run particle minecraft:knockback_roar_particle ~ ~ ~
/execute as @e[type=armor_stand,name=wind,tag=wind] at @s positioned ~ ~-994 ~ run particle minecraft:knockback_roar_particle ~ ~ ~
/kill @e[type=armor_stand,name=wind,tag=wind]
※ファイア
/execute as @a[scores={sneak=1,magic=1,mp=..19,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1
/execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 0 0 minecraft:on_tame fire
/execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 60 0 minecraft:on_tame fire
/execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 120 0 minecraft:on_tame fire
/execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 180 0 minecraft:on_tame fire
/execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 240 0 minecraft:on_tame fire
/execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 300 0 minecraft:on_tame fire
/execute as @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound mob.blaze.shoot @a ~ ~ ~ 1 1
/scoreboard players set @a[scores={sneak=1,magic=1,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 100
/scoreboard players add @a[scores={sneak=1,magic=1,mp=20..,cooltime=100},hasitem={item=stick,location=slot.weapon.mainhand}] mp -20
/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..}]
※ライトニング
/execute as @a[scores={sneak=1,magic=2,mp=..29,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1
/execute as @a[scores={sneak=1,magic=2,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon armor_stand ^ ^ ^8 0 0 minecraft:on_tame lightning
/execute as @a[scores={sneak=1,magic=2,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound mob.allay.idle @a ~ ~ ~ 1 2
/scoreboard players set @a[scores={sneak=1,magic=2,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 140
/scoreboard players add @a[scores={sneak=1,magic=2,mp=30..,cooltime=140},hasitem={item=stick,location=slot.weapon.mainhand}] mp -30
/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
/kill @e[type=armor_stand,name=lightning,scores={lightning=10}]
※ソニック
/execute as @a[scores={sneak=1,magic=3,mp=..19,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1
/execute as @a[scores={sneak=1,magic=3,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound mob.warden.sonic_boom @a ~ ~ ~ 1 1
/execute as @a[scores={sneak=1,magic=3,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run summon boat ^ ^ ^1 facing @s
/execute as @a[scores={sneak=1,magic=3,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^1 run tag @e[type=boat,r=1] add sonic
/scoreboard players set @a[scores={sneak=1,magic=3,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 100
/scoreboard players add @a[scores={sneak=1,magic=3,mp=20..,cooltime=100},hasitem={item=stick,location=slot.weapon.mainhand}] mp -20
/execute as @e[type=boat,tag=sonic] at @s run tp @s ~ ~1001.65 ~
~ここから20回繰り返す~
/execute as @e[type=boat,tag=sonic] at @s positioned ~ ~-1000 ~ if block ^ ^ ^-1 air run particle minecraft:sonic_explosion
/execute as @e[type=boat,tag=sonic] at @s positioned ~ ~-1000 ~ run tag @e[r=1.5] add sonic
/execute as @e[type=boat,tag=sonic] at @s positioned ~ ~-1001.65 ~ run tag @e[r=1.5] add sonic
/execute as @e[type=boat,tag=sonic] at @s positioned ~ ~-1000 ~ if block ^ ^ ^-1 air positioned ~ ~1000 ~ run tp @s ^ ^ ^-1
~ここまでを20回繰り返す~
/tag @a[scores={sneak=1,magic=3,cooltime=100}] remove sonic
/execute as @e[type=!boat,tag=sonic] at @s run damage @s 6 self_destruct entity @p[scores={sneak=1,magic=3,cooltime=100}]
/kill @e[type=boat,tag=sonic]
/tag @e remove sonic
※アイス
/execute as @a[scores={sneak=1,magic=4,mp=..29,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1
/execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound random.anvil_land @a ~ ~ ~ 1 1.3
/execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:knockback_roar_particle ~ ~1.65 ~
/execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run effect @e[r=4.9] slowness 3 255 true
/execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run effect @e[r=4.9] weakness 3 255 true
/execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run inputpermission set @e[r=4.9] movement disabled
/execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run inputpermission set @e[r=4.9] camera disabled
/execute as @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run scoreboard players set @e[r=4.9] ice 60
/scoreboard players set @a[scores={sneak=1,magic=4,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 140
/scoreboard players add @a[scores={sneak=1,magic=4,mp=30..,cooltime=140},hasitem={item=stick,location=slot.weapon.mainhand}] mp -30
/scoreboard players add @e[scores={ice=1..}] ice -1
/execute as @e[scores={ice=1}] at @s run inputpermission set @s movement enabled
/execute as @e[scores={ice=1}] at @s run inputpermission set @s camera enabled
※ハンガー
/execute as @a[scores={sneak=1,magic=5,mp=..29,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1
/execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound mob.horse.skeleton.death @a ~ ~ ~ 1 1
/execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:critical_hit_emitter ~ ~2 ~
/execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:critical_hit_emitter ~ ~3 ~
/execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:villager_angry ~1 ~1.5 ~
/execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:villager_angry ~-1 ~1.5 ~
/execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:villager_angry ~ ~1.5 ~1
/execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run particle minecraft:villager_angry ~ ~1.5 ~-1
/execute as @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s positioned ^ ^ ^5 run effect @e[r=4.9] hunger 4 255
/scoreboard players set @a[scores={sneak=1,magic=5,mp=30..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 140
/scoreboard players add @a[scores={sneak=1,magic=5,mp=30..,cooltime=140},hasitem={item=stick,location=slot.weapon.mainhand}] mp -30
※ヒール
/execute as @a[scores={sneak=1,magic=6,mp=..19,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1
/execute as @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run effect @s instant_health 1 1 true
/execute as @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound crossbow.loading.middle @a ~ ~ ~ 1 2
/execute as @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run particle minecraft:heart_particle ~1 ~1 ~
/execute as @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run particle minecraft:heart_particle ~-1 ~1 ~
/execute as @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run particle minecraft:heart_particle ~ ~1 ~1
/execute as @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run particle minecraft:heart_particle ~ ~1 ~-1
/scoreboard players set @a[scores={sneak=1,magic=6,mp=20..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 100
/scoreboard players add @a[scores={sneak=1,magic=6,mp=20..,cooltime=100},hasitem={item=stick,location=slot.weapon.mainhand}] mp -20
※バリア
/execute as @a[scores={sneak=1,magic=7,mp=..49,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound note.bass @s ~ ~ ~ 1 1
/execute as @a[scores={sneak=1,magic=7,mp=50..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] at @s run playsound beacon.power @a ~ ~ ~ 1 1
/scoreboard players set @a[scores={sneak=1,magic=7,mp=50..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] barrier 140
/scoreboard players set @a[scores={sneak=1,magic=7,mp=50..,cooltime=0},hasitem={item=stick,location=slot.weapon.mainhand}] cooltime 10
/scoreboard players add @a[scores={sneak=1,magic=7,mp=50..,cooltime=10},hasitem={item=stick,location=slot.weapon.mainhand}] mp -50
/scoreboard players add @a[scores={barrier=1..}] barrier -1
/execute as @a[scores={barrier=1..}] at @s run particle minecraft:balloon_gas_particle ^5 ^ ^
/execute as @a[scores={barrier=1..}] at @s run particle minecraft:balloon_gas_particle ^-5 ^ ^
/execute as @a[scores={barrier=1..}] at @s run particle minecraft:balloon_gas_particle ^ ^5 ^
/execute as @a[scores={barrier=1..}] at @s run particle minecraft:balloon_gas_particle ^ ^-5 ^
/execute as @a[scores={barrier=1..}] at @s run particle minecraft:balloon_gas_particle ^ ^ ^5
/execute as @a[scores={barrier=1..}] at @s run particle minecraft:balloon_gas_particle ^ ^ ^-5
/execute as @a[scores={barrier=1..}] at @s run damage @e[r=5,rm=0.1] 0 self_destruct entity @s
すげぇな
switch勢コマンド初心者は泣くだろこれ
圧倒的感謝
もう3ヶ月か……
リクエスト原神のヌヴィレッドの重撃かフリーナのサロンメンバー作ってください
くりーぱーさんえらい
ウイーソイジョー
テケテケクリーパー
テケテケクリーパー
ッテケクリーパー
ックリーパー
を一度だけ、復活させてほしい
mpに関してですが、mp回復用のスコアを0tickで増やし続け一定の数になったらmpスコアを増やしてmp回復用スコアを0に戻す、というやり方もオススメです
手間は増えますがこっちは相手のmp回復阻害とか応用が効きますしね、機会があれば試してほしいです
おー確かに
こういうことですかね
/scoreboard objectives add kaihuku dummy
回復というスコアを作成する
/execute as @a at @s run scoreboard players add @s kaihuku 1
全てのプレイヤーに回復というスコアを1ずつ足していく
/execute as @a[scores={kaihuku=40..}] at @s run scoreboard players add @s mp 1
回復というスコアがリアルで2秒たった全てのプレイヤーにmpというスコアを1足す
/execute as @a[scores={kaihuku=40..}] at @s run scoreboard players set @s kaihuku 0
回復というスコアがリアルで2秒たった全てのプレイヤーの回復というスコアを0にする
私がコマンドミスっていなければこれで2秒で1ずつmpが増えていくはずです!
長文すみません…
面倒だったら消費量回復量ともに20倍にしても大丈夫そうですね
@@user-uj5jh9tj4e まぁーそれが1番楽ですね!
ですが@user-yu2sh2xn8o の考えも面白いと思います!色々できますしね!
何か§←どうやってswitchでだすんですか?
左下の丸いマークを押して記号の2ページ目に出てきます!
ワンパンマンのマジ殴りつくってほしいです!!
すすげー
試す相手がいない?いや"いる"はず..
"いた"はずなのか?
なっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっっッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッッがっ
改行がんばったな...
クリーパーさんの試す相手は療養中だぜ
仕様かもしれないですがSwitchだとtitlerawの使用可能、使用不可のところが点滅してる(赤と緑に)んですけど仕様ですかね?
switchでもどうにかできました!!たまに赤と緑いろにアクションバーが点滅しますけどまいっかってことで
簡単な虚式茈作って下さい
全てswitch対応ですか?
今までのやつをちょっと改造すれば出来ますか?
それが出来なそうなんですよ…
MPやクールダウン用のコマンドがいるので💦
@@かいまる-c8v マジカ!
報告ありがとうございます(^。^)
Switch勢の僕「よし。作るしかないなw」
一応新魔法以外は作れてるので他頑張ります🔥
これ構文見た感じ今までのと若干違う部分あるからもしかしたら1から作り直しかもしれない((
@@hamuhamutarotaro …
頑張るか(´;ω;`)
えっと…mp、クールダウンのスコアボードを追加しないといけないので恐らく全部作り直しかと…
@@bbaa-yw9yv( ・᷄ὢ・᷅ )…
Switch勢でも作り終わりました!!(500文字を超えるものはありませんでした!)
作った感想ですが、
cloneやstructureを使っえる所もあったり、ひとつ魔法が作れたら其の都度確認できるのが良かったです!
あと、作り終わったらこの仕組みを使って別の魔法を作れたり(僕が作ったのはアースやソウル、コメット、ウィザーなど)、
改良したり(例:ソニックを5方向に打てる、ヒールの見た目を派手にするなど)できるのでここも良い点だと思います!
ただ、長いコマンドを打っても一部分間違ってたら間違っているところを探すのが大変です。また、ダメージ量を変えるなどする時は複数のコマンドを一気に変更しなければならない魔法があることですね。
でも作り終わったらめっちゃ気持ちいいですよー!
長文失礼致しましたm(_ _)m
作ってて分からないことがあれば、僕に答えられることなら答えます!
(クリーパーさんに聞いた方が早い)
このコメントを最後まで見たあなた、良いコマンドライフを!
この下のバーを棒も本持ってる以外消さないようにしたいんですけどできますか?
表示のコマンドにhasitem挟めばいけそう
スゲー
バンドルの右クリック使って魔法つくってください