-
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.
Merge remote-tracking branch 'origin/master' into dev/ella_mob_390_ra…
…bbit
- Loading branch information
Showing
75 changed files
with
502 additions
and
307 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
4 changes: 2 additions & 2 deletions
4
....dark_summoner/death/1.trigger.mcfunction → ...mob/0264.dark_summoner/_/death.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#> asset:mob/0264.dark_summoner/death/1.trigger | ||
#> asset:mob/0264.dark_summoner/_/death | ||
# | ||
# Mobの死亡時に実行されるfunction | ||
# | ||
# @within tag/function asset:mob/death | ||
|
||
execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/death/2.death | ||
execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/death/ |
4 changes: 2 additions & 2 deletions
4
...4.dark_summoner/hurt/1.trigger.mcfunction → .../mob/0264.dark_summoner/_/hurt.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#> asset:mob/0264.dark_summoner/hurt/1.trigger | ||
#> asset:mob/0264.dark_summoner/_/hurt | ||
# | ||
# Mobの被ダメージに実行されるfunction | ||
# | ||
# @within tag/function asset:mob/hurt | ||
|
||
execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/hurt/2.hurt | ||
execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/hurt/ |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/mob/0264.dark_summoner/_/init.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,7 @@ | ||
#> asset:mob/0264.dark_summoner/_/init | ||
# | ||
# Mobの召喚時に実行されるfunction | ||
# | ||
# @within tag/function asset:mob/initialize | ||
|
||
execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/init/ |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/mob/0264.dark_summoner/_/register.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,7 @@ | ||
#> asset:mob/0264.dark_summoner/_/register | ||
# | ||
# | ||
# | ||
# @within tag/function asset:mob/register | ||
|
||
execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/register |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/mob/0264.dark_summoner/_/summon.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,7 @@ | ||
#> asset:mob/0264.dark_summoner/_/summon | ||
# | ||
# | ||
# | ||
# @within tag/function asset:mob/summon | ||
|
||
execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/summon/ |
4 changes: 2 additions & 2 deletions
4
...4.dark_summoner/tick/1.trigger.mcfunction → .../mob/0264.dark_summoner/_/tick.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#> asset:mob/0264.dark_summoner/tick/1.trigger | ||
#> asset:mob/0264.dark_summoner/_/tick | ||
# | ||
# Mobが生きている間毎tick実行されるfunction | ||
# | ||
# @within tag/function asset:mob/tick | ||
|
||
execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/tick/2.tick | ||
execute if data storage asset:context {id:264} run function asset:mob/0264.dark_summoner/tick/ |
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
#> tag | ||
# @within function asset:mob/0264.dark_summoner/** | ||
#declare tag 7C.CastStart | ||
#declare tag 7C.Teleported |
10 changes: 10 additions & 0 deletions
10
Asset/data/asset/functions/mob/0264.dark_summoner/death/.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/0264.dark_summoner/death/ | ||
# | ||
# Mobの死亡時の処理 | ||
# | ||
# @within function asset:mob/0264.dark_summoner/_/death | ||
|
||
# 音 | ||
playsound minecraft:entity.vex.ambient hostile @a ~ ~ ~ 1 0.7 | ||
playsound minecraft:entity.enderman.ambient hostile @a ~ ~ ~ 1 0.5 | ||
playsound minecraft:entity.phantom.death hostile @a ~ ~ ~ 1 0.7 |
13 changes: 0 additions & 13 deletions
13
Asset/data/asset/functions/mob/0264.dark_summoner/death/2.death.mcfunction
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...0264.dark_summoner/hurt/2.hurt.mcfunction → ...s/mob/0264.dark_summoner/hurt/.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
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/mob/0264.dark_summoner/init/.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/0264.dark_summoner/init/ | ||
# | ||
# Mob召喚時のInit処理 | ||
# | ||
# @within function asset:mob/0264.dark_summoner/_/init | ||
|
||
# ハード以上なら即詠唱に入って召喚する | ||
execute if predicate api:global_vars/difficulty/min/hard run function asset:mob/0264.dark_summoner/init/quick_summon |
14 changes: 14 additions & 0 deletions
14
Asset/data/asset/functions/mob/0264.dark_summoner/init/quick_summon.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,14 @@ | ||
#> asset:mob/0264.dark_summoner/init/quick_summon | ||
# | ||
# 即召喚するための処理 | ||
# | ||
# @within function asset:mob/0264.dark_summoner/init/ | ||
|
||
# ポーズ変更 | ||
item replace entity @s armor.head with stick{CustomModelData:20215} | ||
|
||
# 自身にTagを付与 | ||
tag @s add 7C.CastStart | ||
|
||
# スコア設定 | ||
scoreboard players set @s 7C.Attack 75 |
2 changes: 1 addition & 1 deletion
2
.../mob/0264.dark_summoner/0.load.mcfunction → ...ns/mob/0264.dark_summoner/load.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#> asset:mob/0264.dark_summoner/0.load | ||
#> asset:mob/0264.dark_summoner/load | ||
# | ||
# MOBに利用するスコアボード等の初期化処理 | ||
# | ||
|
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/0264.dark_summoner/summon/.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/0264.dark_summoner/summon/ | ||
# | ||
# Mob召喚処理の呼び出し時に実行されるfunction | ||
# | ||
# @within asset:mob/0264.dark_summoner/_/summon | ||
|
||
# 元となるMobを召喚する | ||
summon zombie ~ ~ ~ {Silent:1b,Tags:["MobInit","AlwaysInvisible","AlwaysSlowFall"],DeathLootTable:"asset:mob/death/0264.dark_summoner"} |
7 changes: 0 additions & 7 deletions
7
Asset/data/asset/functions/mob/0264.dark_summoner/summon/1.trigger.mcfunction
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
Asset/data/asset/functions/mob/0264.dark_summoner/summon/debug.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/0264.dark_summoner/summon/debug | ||
# | ||
# モブの動作チェック用の召喚処理 使い終わったら消してもいいかも | ||
# | ||
# @user | ||
# @private | ||
|
||
# モブを召喚 | ||
data modify storage api: Argument.ID set value 264 | ||
function api:mob/summon |
20 changes: 20 additions & 0 deletions
20
Asset/data/asset/functions/mob/0264.dark_summoner/tick/.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,20 @@ | ||
#> asset:mob/0264.dark_summoner/tick/ | ||
# | ||
# Mobのtick時の処理 | ||
# | ||
# @within function asset:mob/0264.dark_summoner/_/tick | ||
|
||
# パーティクル | ||
particle minecraft:falling_dust black_concrete ~ ~0.5 ~ 0.1 0 0.1 0 1 | ||
|
||
# 付近にプレイヤーがいるなら詠唱動作へ移行 Predicateなどが完成したらそれに移行したい | ||
execute if entity @s[tag=!7C.CastStart] positioned ^ ^ ^12.5 if entity @p[distance=..12.5] at @s run function asset:mob/0264.dark_summoner/tick/cast_start | ||
|
||
# 一度詠唱動作に入ると離れても唱える | ||
execute if entity @s[tag=7C.CastStart] run function asset:mob/0264.dark_summoner/tick/casting | ||
|
||
# 攻撃キャンセル | ||
execute unless entity @p[distance=..30] run function asset:mob/0264.dark_summoner/tick/cast_finish | ||
|
||
# 首固定 | ||
data modify entity @s Rotation[1] set value 0.0f |
20 changes: 0 additions & 20 deletions
20
Asset/data/asset/functions/mob/0264.dark_summoner/tick/2.tick.mcfunction
This file was deleted.
Oops, something went wrong.
9 changes: 5 additions & 4 deletions
9
...ummoner/tick/event/cast_finish.mcfunction → ...dark_summoner/tick/cast_finish.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 |
---|---|---|
@@ -1,14 +1,15 @@ | ||
#> asset:mob/0264.dark_summoner/tick/event/cast_finish | ||
# | ||
#> asset:mob/0264.dark_summoner/tick/cast_finish | ||
# | ||
# 詠唱終了 | ||
# | ||
# @within function | ||
# asset:mob/0264.dark_summoner/tick/event/casting | ||
# asset:mob/0264.dark_summoner/tick/2.tick | ||
# asset:mob/0264.dark_summoner/tick/ | ||
# asset:mob/0264.dark_summoner/tick/casting | ||
|
||
# リセット | ||
scoreboard players reset @s 7C.Attack | ||
tag @s remove 7C.CastStart | ||
tag @s remove 7C.Teleported | ||
|
||
# ポーズ変更 | ||
item replace entity @s armor.head with stick{CustomModelData:20214} |
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.