-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
299 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/mob/0393.labyria_first/ai/general/1.teleport.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#> asset:mob/0392.ecual_first/ai/general/1.teleport | ||
# | ||
# 汎用・テレポートコマンド | ||
# | ||
# @within function asset:mob/0393.labyria_first/** | ||
|
||
# 壁の中にはテレポートしない | ||
execute if block ~ ~ ~ #lib:no_collision run tp @s ~ ~ ~ ~ ~ |
16 changes: 16 additions & 0 deletions
16
Asset/data/asset/functions/mob/0393.labyria_first/ai/general/2.rotate.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#> asset:mob/0392.ecual_first/ai/general/2.rotate | ||
# | ||
# 汎用・方向回転コマンド | ||
# | ||
# @within function asset:mob/0393.labyria_first/** | ||
|
||
# 予め自身に tag = AW.Temp.This を付与すること | ||
# 実行者は向く対象 | ||
|
||
# タグ付与 | ||
tag @s add AW.Temp.Target | ||
# 滑らかに回転 | ||
Check failure on line 12 in Asset/data/asset/functions/mob/0393.labyria_first/ai/general/2.rotate.mcfunction GitHub Actions / lint
|
||
execute as @e[type=wither_skeleton,tag=AW.Temp.This,distance=..64,sort=nearest,limit=1] at @s rotated ~ 0 positioned ^ ^ ^-2 facing entity @e[tag=AW.Temp.Target,distance=..66,limit=1] feet rotated ~ 0 positioned ^ ^ ^-1 facing entity @s feet positioned as @s run tp @s ^ ^ ^ ~ 0 | ||
Check failure on line 13 in Asset/data/asset/functions/mob/0393.labyria_first/ai/general/2.rotate.mcfunction GitHub Actions / lint
Check failure on line 13 in Asset/data/asset/functions/mob/0393.labyria_first/ai/general/2.rotate.mcfunction GitHub Actions / lint
|
||
execute as @e[type=wither_skeleton,tag=AW.Temp.This,distance=..64,sort=nearest,limit=1] at @s rotated ~ 0 positioned ^ ^ ^1 facing entity @e[tag=AW.Temp.Target,distance=..66,limit=1] feet rotated ~ 0 positioned ^ ^ ^1 if entity @e[type=wither_skeleton,tag=AW.Temp.This,distance=..0.1,sort=nearest,limit=1] at @s run tp @s ^ ^ ^ ~1 ~ | ||
# 終了 | ||
tag @s remove AW.Temp.Target |
16 changes: 16 additions & 0 deletions
16
Asset/data/asset/functions/mob/0393.labyria_first/ai/general/3.teleport_effect/.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#> asset:mob/0392.ecual_first/ai/general/3.teleport_effect/ | ||
# | ||
# 汎用・テレポート演出 | ||
# テレポートコマンドでTPした直後に使用すること | ||
# | ||
# @within function asset:mob/0392.ecual_first/** | ||
|
||
# 音(現在地点とテレポート先で鳴らす) | ||
playsound entity.blaze.shoot hostile @a[distance=..16] ~ ~ ~ 1 1 | ||
playsound entity.breeze.death hostile @a[distance=..16] ~ ~ ~ 0.5 1.5 | ||
playsound item.trident.riptide_1 hostile @a[distance=..16] ~ ~ ~ 0.4 0.5 | ||
execute at @s run playsound entity.blaze.shoot hostile @a[distance=..16] ~ ~ ~ 1 1 | ||
execute at @s run playsound entity.breeze.death hostile @a[distance=..16] ~ ~ ~ 0.5 1.5 | ||
execute at @s run playsound item.trident.riptide_1 hostile @a[distance=..16] ~ ~ ~ 0.4 0.5 | ||
# ループ演出 | ||
execute facing entity @s feet unless entity @s[distance=..0.5] run function asset:mob/0392.ecual_first/ai/general/3.teleport_effect/loop |
11 changes: 11 additions & 0 deletions
11
.../data/asset/functions/mob/0393.labyria_first/ai/general/3.teleport_effect/loop.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#> asset:mob/0391.axia_first/ai/general/3.teleport_effect/loop | ||
# | ||
# テレポート演出ループコマンド | ||
# | ||
# @within function | ||
# asset:mob/0392.ecual_first/ai/general/3.teleport_effect/ | ||
# asset:mob/0392.ecual_first/ai/general/3.teleport_effect/loop | ||
|
||
# 演出 | ||
particle dust -0.8 -100000000 -100000000 1 ~ ~1 ~ 0.25 0.5 0.25 0 30 force @a[distance=..32] | ||
execute positioned ^ ^ ^0.5 unless entity @s[distance=..0.5] run function asset:mob/0392.ecual_first/ai/general/3.teleport_effect/loop |
24 changes: 24 additions & 0 deletions
24
Asset/data/asset/functions/mob/0393.labyria_first/ai/general/4.summon_turret.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#> asset:mob/0392.ecual_first/ai/general/4.summon_turret | ||
# | ||
# 汎用 クリスタルタレット召喚 | ||
# | ||
# @within function asset:mob/0392.ecual_first/** | ||
|
||
playsound entity.zombie_villager.converted hostile @a[distance=..32] ~ ~ ~ 1 1.5 0 | ||
# 円 | ||
particle end_rod ^-0.0 ^0.0 ^1.0 ^-0.0 ^1000000000.0 ^1.0 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^0.866 ^0.0 ^0.5 ^0.866 ^1000000000.0 ^0.5 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^0.866 ^0.0 ^-0.5 ^0.866 ^1000000000.0 ^-0.5 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^-0.0 ^0.0 ^-1.0 ^-0.0 ^1000000000.0 ^-1.0 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^-0.866 ^0.0 ^-0.5 ^-0.866 ^1000000000.0 ^-0.5 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^-0.866 ^0.0 ^0.5 ^-0.866 ^1000000000.0 ^0.5 0.00000000020 0 force @a[distance=..32] | ||
# 円.001 | ||
particle end_rod ^0.5 ^0.0 ^0.866 ^0.5 ^1000000000.0 ^0.866 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^1.0 ^0.0 ^0.0 ^1.0 ^1000000000.0 ^0.0 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^0.5 ^0.0 ^-0.866 ^0.5 ^1000000000.0 ^-0.866 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^-0.5 ^0.0 ^-0.866 ^-0.5 ^1000000000.0 ^-0.866 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^-1.0 ^0.0 ^0.0 ^-1.0 ^1000000000.0 ^0.0 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^-0.5 ^0.0 ^0.866 ^-0.5 ^1000000000.0 ^0.866 0.00000000030 0 force @a[distance=..32] | ||
|
||
data modify storage api: Argument.ID set value 397 | ||
function api:mob/summon |
24 changes: 24 additions & 0 deletions
24
Asset/data/asset/functions/mob/0393.labyria_first/ai/general/5.summon_healer.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#> asset:mob/0392.ecual_first/ai/general/5.summon_healer | ||
# | ||
# 汎用 クリスタルヒーラー召喚 | ||
# | ||
# @within function asset:mob/0392.ecual_first/** | ||
|
||
playsound entity.zombie_villager.converted hostile @a[distance=..32] ~ ~ ~ 1 1.5 0 | ||
# 円 | ||
particle end_rod ^-0.0 ^0.0 ^1.0 ^-0.0 ^1000000000.0 ^1.0 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^0.866 ^0.0 ^0.5 ^0.866 ^1000000000.0 ^0.5 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^0.866 ^0.0 ^-0.5 ^0.866 ^1000000000.0 ^-0.5 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^-0.0 ^0.0 ^-1.0 ^-0.0 ^1000000000.0 ^-1.0 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^-0.866 ^0.0 ^-0.5 ^-0.866 ^1000000000.0 ^-0.5 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^-0.866 ^0.0 ^0.5 ^-0.866 ^1000000000.0 ^0.5 0.00000000020 0 force @a[distance=..32] | ||
# 円.001 | ||
particle end_rod ^0.5 ^0.0 ^0.866 ^0.5 ^1000000000.0 ^0.866 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^1.0 ^0.0 ^0.0 ^1.0 ^1000000000.0 ^0.0 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^0.5 ^0.0 ^-0.866 ^0.5 ^1000000000.0 ^-0.866 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^-0.5 ^0.0 ^-0.866 ^-0.5 ^1000000000.0 ^-0.866 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^-1.0 ^0.0 ^0.0 ^-1.0 ^1000000000.0 ^0.0 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^-0.5 ^0.0 ^0.866 ^-0.5 ^1000000000.0 ^0.866 0.00000000030 0 force @a[distance=..32] | ||
|
||
data modify storage api: Argument.ID set value 398 | ||
function api:mob/summon |
18 changes: 18 additions & 0 deletions
18
Asset/data/asset/functions/mob/0393.labyria_first/ai/general/6.falter_start.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#> asset:mob/0392.ecual_first/ai/general/6.falter_start | ||
# | ||
# 怯みアニメーション 開始 | ||
# | ||
# @within function asset:mob/0392.ecual_first/** | ||
|
||
# アニメーションストップ | ||
function asset:mob/0392.ecual_first/ai/animation/all_stop | ||
|
||
# 怯みアニメーション | ||
scoreboard players set @s AW.AnimationNum 990 | ||
execute if predicate lib:random_pass_per/50 run scoreboard players set @s AW.AnimationNum 991 | ||
|
||
# アニメーションリセット | ||
scoreboard players set @s AW.AnimationTick 0 | ||
|
||
# 怯み回数を増やす | ||
scoreboard players add @s AW.FalterCount 1 |
12 changes: 12 additions & 0 deletions
12
Asset/data/asset/functions/mob/0393.labyria_first/ai/general/7.idle_motion_change.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#> asset:mob/0392.ecual_first/ai/general/7.idle_motion_change | ||
# | ||
# 待機アニメーション 移行 | ||
# | ||
# @within function asset:mob/0392.ecual_first/** | ||
|
||
# 待機アニメーション | ||
scoreboard players set @s AW.AnimationNum 10 | ||
execute if predicate lib:random_pass_per/5 run scoreboard players set @s AW.AnimationNum 11 | ||
|
||
# アニメーションリセット | ||
scoreboard players set @s AW.AnimationTick 0 |
28 changes: 28 additions & 0 deletions
28
Asset/data/asset/functions/mob/0393.labyria_first/ai/general/8.death/animation.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#> asset:mob/0392.ecual_first/ai/general/8.death/animation | ||
# | ||
# マーカーに対する処理 | ||
# | ||
# @within function asset:mob/0392.ecual_first/ai/general/8.death/schedule | ||
|
||
# モデル紐づけ | ||
tag @e[type=item_display,tag=AW.ModelRoot,distance=..250,sort=nearest,limit=1] add AW.Root.This | ||
|
||
# スコア上昇 | ||
Check warning on line 10 in Asset/data/asset/functions/mob/0393.labyria_first/ai/general/8.death/animation.mcfunction GitHub Actions / lint
|
||
execute unless score @s AW.AnimationTick matches -2147483648..2147483647 run scoreboard players set @s AW.AnimationTick 0 | ||
scoreboard players add @s AW.AnimationTick 1 | ||
|
||
# アニメーション再生 | ||
execute if score @s AW.AnimationTick matches 1 as @e[type=item_display,tag=AW.Root.This,distance=..250] run function animated_java:ecual/animations/13_0_former_ending/play | ||
|
||
# パーティクル処理 | ||
execute if score @s AW.AnimationTick matches 102 as @e[type=item_display,tag=AW.Root.This,distance=..250] at @s run particle minecraft:explosion_emitter ~ ~ ~ 0 0 0 0 1 normal | ||
execute if score @s AW.AnimationTick matches 102 as @e[type=item_display,tag=AW.Root.This,distance=..250] at @s run playsound entity.generic.explode hostile @a ~ ~ ~ 1 1 | ||
|
||
# アニメーション終了処理 | ||
execute if score @s AW.AnimationTick matches 105 run function asset:mob/0392.ecual_first/ai/general/8.death/kill | ||
|
||
# 紐づけ終了 | ||
tag @e[type=item_display,tag=AW.Root.This,distance=..250] remove AW.Root.This | ||
|
||
# スケジュール起動 | ||
schedule function asset:mob/0392.ecual_first/ai/general/8.death/schedule 1t |
10 changes: 10 additions & 0 deletions
10
Asset/data/asset/functions/mob/0393.labyria_first/ai/general/8.death/kill.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#> asset:mob/0391.axia_first/ai/general/8.death/kill | ||
# | ||
# キル処理 | ||
# | ||
# @within function asset:mob/0392.ecual_first/ai/general/8.death/animation | ||
|
||
# AnimatedJavaモデルの削除 | ||
function animated_java:ecual/remove/all | ||
# Marker削除 | ||
kill @s |
10 changes: 10 additions & 0 deletions
10
Asset/data/asset/functions/mob/0393.labyria_first/ai/general/8.death/schedule.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#> asset:mob/0392.ecual_first/ai/general/8.death/schedule | ||
# | ||
# スケジュール処理 | ||
# | ||
# @within function | ||
# asset:mob/0392.ecual_first/death/ | ||
# asset:mob/0392.ecual_first/ai/general/8.death/animation | ||
# asset:mob/0392.ecual_first/rejoin_process | ||
|
||
execute as @e[type=marker,tag=AW.Marker.SummonPoint,tag=AW.Death] at @s run function asset:mob/0392.ecual_first/ai/general/8.death/animation |
32 changes: 32 additions & 0 deletions
32
Asset/data/asset/functions/mob/0393.labyria_first/ai/general/9.summon_book.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#> asset:mob/0392.ecual_first/ai/general/9.summon_book | ||
# | ||
# 汎用 魔導書召喚 | ||
# | ||
# @within function asset:mob/0392.ecual_first/** | ||
|
||
playsound entity.zombie_villager.converted hostile @a[distance=..32] ~ ~ ~ 1 1.5 0 | ||
# 円 | ||
particle end_rod ^-0.0 ^0.0 ^1.0 ^-0.0 ^1000000000.0 ^1.0 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^0.866 ^0.0 ^0.5 ^0.866 ^1000000000.0 ^0.5 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^0.866 ^0.0 ^-0.5 ^0.866 ^1000000000.0 ^-0.5 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^-0.0 ^0.0 ^-1.0 ^-0.0 ^1000000000.0 ^-1.0 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^-0.866 ^0.0 ^-0.5 ^-0.866 ^1000000000.0 ^-0.5 0.00000000020 0 force @a[distance=..32] | ||
particle end_rod ^-0.866 ^0.0 ^0.5 ^-0.866 ^1000000000.0 ^0.5 0.00000000020 0 force @a[distance=..32] | ||
# 円.001 | ||
particle end_rod ^0.5 ^0.0 ^0.866 ^0.5 ^1000000000.0 ^0.866 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^1.0 ^0.0 ^0.0 ^1.0 ^1000000000.0 ^0.0 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^0.5 ^0.0 ^-0.866 ^0.5 ^1000000000.0 ^-0.866 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^-0.5 ^0.0 ^-0.866 ^-0.5 ^1000000000.0 ^-0.866 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^-1.0 ^0.0 ^0.0 ^-1.0 ^1000000000.0 ^0.0 0.00000000030 0 force @a[distance=..32] | ||
particle end_rod ^-0.5 ^0.0 ^0.866 ^-0.5 ^1000000000.0 ^0.866 0.00000000030 0 force @a[distance=..32] | ||
|
||
# 魔導書分岐 | ||
execute store result score $AW.Temp Temporary run random value 1..4 | ||
execute if score $AW.Temp Temporary matches 1 run data modify storage api: Argument.ID set value 399 | ||
execute if score $AW.Temp Temporary matches 2 run data modify storage api: Argument.ID set value 400 | ||
execute if score $AW.Temp Temporary matches 3 run data modify storage api: Argument.ID set value 401 | ||
execute if score $AW.Temp Temporary matches 4 run data modify storage api: Argument.ID set value 402 | ||
function api:mob/summon | ||
|
||
# リセット | ||
scoreboard players reset $AW.Temp Temporary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.