ご視聴ありがとうございます。
よければチャンネル登録、高評価よろしくお願いします。
※この動画は【東方project】の二次創作です。
東方Projectの二次創作ガイドライン
touhou-project.news/guideline/
スニーク検知
リピート 常時実行
execute as @a at @s if entity @s[y=~1.4,dx=0] unless entity @s[y=~1.5,dx=0] run tag @s add sneak
チェーン 常時実行
execute as @a at @s if entity @s[y=~1.8,dy=0] run tag @s remove sneak
二段ジャンプ
まずは上のスニーク検知を作ってください
チャット欄
/scoreboard objectives add janpu dummy
/scoreboard objectives add bu-tu dummy
一列目
リピート 常時実行
execute as @a at @s unless block ^^-1^ air [] run tag @s add tijou
リピート 常時実行
execute as @a at @s if block ^^-1^ air [] run tag @s remove tijou
二列目
リピート 常時実行
scoreboard players set @a[scores={bu-tu=1}] janpu 0
チェーン 常時実行
scoreboard players set @a[tag=!sneak,tag=tijou,scores={janpu=4..}] janpu 0
チェーン 常時実行
scoreboard players set @a[hasitem={item=iron_boots,location=slot.armor.feet},tag=sneak,scores={janpu=0}] janpu 1
チェーン 常時実行
scoreboard players add @a[hasitem={item=iron_boots,location=slot.armor.feet},scores={janpu=1..}] janpu 1
チェーン 常時実行
effect @a[hasitem={item=iron_boots,location=slot.armor.feet},scores={janpu=2}] levitation 1 110 true
チェーン 常時実行
execute at @a[hasitem={item=iron_boots,location=slot.armor.feet},scores={janpu=2}] run playsound armor.equip_generic @s ^^^1
チェーン 常時実行
effect @a[hasitem={item=iron_boots,location=slot.armor.feet},scores={janpu=3}] clear
チェーン 常時実行
effect @a[hasitem={item=iron_boots,location=slot.armor.feet}] jump_boost 1 2 true
チェーン 常時実行
scoreboard players add @a[hasitem={item=iron_boots,location=slot.armor.feet}] bu-tu 1
ドームシールド
チャット欄
/scoreboard objectives add do-mutime dummy
一列目
リピート 常時実行
execute at @e[type=item,name=ガラス] run replaceitem entity @p[r=3] slot.weapon.mainhand 0 glass
チェーン 常時実行
execute at @e[type=item,name=ガラス] run summon armor_stand do-mu ~~-1~
チェーン 常時実行
execute as @e[type=item,name=ガラス] at @s run fill ~1~-1~2 ~-1~1~2 glass keep
チェーン 常時実行
execute as @e[type=item,name=ガラス] at @s run fill ~1~-1~-2 ~-1~1~-2 glass keep
チェーン 常時実行
execute as @e[type=item,name=ガラス] at @s run fill ~2~-1~1 ~2~1~-1 glass keep
チェーン 常時実行
execute as @e[type=item,name=ガラス] at @s run fill ~-2~-1~1 ~-2~1~-1 glass keep
チェーン 常時実行
execute as @e[type=item,name=ガラス] at @s run fill ~1~2~1 ~-1~2~-1 glass keep
チェーン 常時実行
execute as @e[type=item,name=ガラス] at @s run playsound random.glass @a ^^1^
チェーン 常時実行
kill @e[type=item,name=ガラス]
二列目
リピート 常時実行
effect @e[type=armor_stand,name=do-mu] invisibility 1 1 true
チェーン 常時実行
effect @e[type=armor_stand,name=do-mu] resistance 1 255 true
チェーン 常時実行
execute as @e[type=armor_stand,name=do-mu] at @s run tp @s
チェーン 常時実行
scoreboard players add @e[type=armor_stand,name=do-mu] do-mutime 1
チェーン 常時実行
execute at @e[type=armor_stand,name=do-mu,scores={do-mutime=70..}] run fill ~2~3~2 ~-2~-1~-2 air replace glass
チェーン 常時実行
execute as @e[type=armor_stand,name=do-mu,scores={do-mutime=70..}] at @s run playsound random.glass @a ^^^1
チェーン 常時実行
execute as @e[type=armor_stand,name=do-mu,scores={do-mutime=69..}] at @s run particle minecraft:critical_hit_emitter ~~0.3~
チェーン 常時実行
execute as @e[type=armor_stand,name=do-mu,scores={do-mutime=70..}] at @s run kill @s
チャージショット
まずは上のスニーク検知を作ってください
チャット欄
/scoreboard objectives add arrow dummy
/scoreboard objectives add aset dummy
リピート 常時実行
scoreboard players set @a[scores={aset=1}] arrow 0
チェーン 常時実行
scoreboard players set @a[tag=!sneak,scores={arrow=..25}] arrow 0
チェーン 常時実行
scoreboard players add @a[hasitem={item=bow,location=slot.weapon.mainhand},tag=sneak,scores={arrow=..25}] arrow 1
チェーン 常時実行
execute as @a[hasitem={item=bow,location=slot.weapon.mainhand},scores={arrow=25}] at @s run enchant @s power 5
チェーン 常時実行
execute as @a[scores={arrow=25}] at @s run playsound random.anvil_land @a ^^^1
チェーン 常時実行
scoreboard players add @a[scores={arrow=25..}] arrow 1
チェーン 常時実行
replaceitem entity @a[scores={arrow=65}] slot.weapon.mainhand 0 bow
チェーン 常時実行
scoreboard players set @a[scores={arrow=65..}] arrow 0
チェーン 常時実行
scoreboard players add @a[hasitem={item=bow,location=slot.weapon.mainhand}] aset 1
チェーン 常時実行
これはパーティクルを出すコマンドです
動画のものは40個ぐらい使っているのでこちらは簡易的なものです
execute at @a[scores={arrow=25..27}] run particle minecraft:eyeofender_death_explode_particle ~~0.2~
コメント