-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚖️ [Artifact 1045] ブラックホール・ミニの弾が一定時間経過後に強制的に起動するように (#1057)
- Loading branch information
Showing
126 changed files
with
559 additions
and
393 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
11 changes: 0 additions & 11 deletions
11
Asset/data/asset/functions/artifact/1045.mini_black_hole/trigger/0.load.mcfunction
This file was deleted.
Oops, something went wrong.
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
9 changes: 0 additions & 9 deletions
9
Asset/data/asset/functions/artifact/1045.mini_black_hole/trigger/_index.d.mcfunction
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
Asset/data/asset/functions/artifact/1045.mini_black_hole/trigger/rejoin_process.mcfunction
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
Asset/data/asset/functions/artifact/1045.mini_black_hole/trigger/schedule/1.tick.mcfunction
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...t/data/asset/functions/artifact/1045.mini_black_hole/trigger/schedule/2.flying.mcfunction
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...sset/functions/artifact/1045.mini_black_hole/trigger/schedule/3.1.search_mob.m.mcfunction
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...set/functions/artifact/1045.mini_black_hole/trigger/schedule/3.2.landing_sound.mcfunction
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
.../data/asset/functions/artifact/1045.mini_black_hole/trigger/schedule/3.landing.mcfunction
This file was deleted.
Oops, something went wrong.
53 changes: 0 additions & 53 deletions
53
...asset/functions/artifact/1045.mini_black_hole/trigger/schedule/4.enemy_suction.mcfunction
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...a/asset/functions/artifact/1045.mini_black_hole/trigger/schedule/landing_vfx/m.mcfunction
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ini_black_hole/trigger/3.1.vfx.mcfunction → ...45.mini_black_hole/trigger/vfx.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/object/1042.mini_black_hole_flying/detect_hit_block/.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:object/1042.mini_black_hole_flying/detect_hit_block/ | ||
# | ||
# 継承先などから実行される処理 | ||
# | ||
# @within asset:object/alias/1042/detect_hit_block | ||
|
||
# 判定 | ||
execute unless block ^ ^ ^0.375 #lib:no_collision run data modify storage asset:context IsHitBlock set value true |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/object/1042.mini_black_hole_flying/detect_hit_entity/.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:object/1042.mini_black_hole_flying/detect_hit_entity/ | ||
# | ||
# 継承先などから実行される処理 | ||
# | ||
# @within asset:object/alias/1042/detect_hit_entity | ||
|
||
# 判定 | ||
execute positioned ~-0.5 ~-0.5 ~-0.5 if entity @e[type=#lib:living,type=!player,tag=Enemy,tag=!Uninterferable,dx=0,limit=1] run data modify storage asset:context IsHitEntity set value true |
14 changes: 14 additions & 0 deletions
14
Asset/data/asset/functions/object/1042.mini_black_hole_flying/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,14 @@ | ||
#> asset:object/1042.mini_black_hole_flying/kill/ | ||
# | ||
# 継承先などから実行される処理 | ||
# | ||
# @within asset:object/alias/1042/kill | ||
|
||
# ブラックホール(吸い込み)を召喚 | ||
data modify storage api: Argument.ID set value 1043 | ||
data modify storage api: Argument.FieldOverride.Damage set from storage asset:context this.Damage | ||
data modify storage api: Argument.FieldOverride.UserID set from storage asset:context this.UserID | ||
execute anchored eyes positioned ^ ^ ^0.5 run function api:object/summon | ||
|
||
# 消滅 | ||
kill @s |
24 changes: 24 additions & 0 deletions
24
Asset/data/asset/functions/object/1042.mini_black_hole_flying/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,24 @@ | ||
#> asset:object/1042.mini_black_hole_flying/register | ||
# | ||
# Objectのデータを指定 | ||
# | ||
# @within function asset:object/alias/1042/register | ||
|
||
# 継承(オプション) | ||
data modify storage asset:object Extends append value 1 | ||
function asset:object/extends | ||
# 他のObjectに継承されることを許可するか (boolean) (オプション) | ||
# data modify storage asset:object ExtendsSafe set value | ||
# 継承されることを前提とした、抽象的なObjectであるかどうか(boolean) | ||
data modify storage asset:object IsAbstract set value false | ||
# Tickするかどうか(boolean) (オプション) | ||
# data modify storage asset:object IsTicking set value | ||
|
||
# ID (int) | ||
data modify storage asset:object ID set value 1042 | ||
# フィールド(オプション) | ||
data modify storage asset:object Field.Speed set value 2 | ||
data modify storage asset:object Field.Range set value 200 | ||
data modify storage asset:object Field.MovePerStep set value 0.375 | ||
data modify storage asset:object Field.Damage set value 1 | ||
data modify storage asset:object Field.UserID set value -1 |
11 changes: 11 additions & 0 deletions
11
Asset/data/asset/functions/object/1042.mini_black_hole_flying/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,11 @@ | ||
#> asset:object/1042.mini_black_hole_flying/summon/ | ||
# | ||
# Object召喚処理の呼び出し時に実行されるfunction | ||
# | ||
# @within asset:object/alias/1042/summon | ||
|
||
# 召喚 | ||
execute as 0-0-0-0-0 in minecraft:overworld positioned as @s run tp @s ~ ~ ~ ~ ~ | ||
data modify storage asset:temp Args.Rotation set from entity 0-0-0-0-0 Rotation | ||
function asset:object/1042.mini_black_hole_flying/summon/m with storage asset:temp Args | ||
data remove storage asset:temp Args |
10 changes: 10 additions & 0 deletions
10
Asset/data/asset/functions/object/1042.mini_black_hole_flying/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:object/1042.mini_black_hole_flying/summon/debug | ||
# | ||
# 動作チェック用の召喚処理 使い終わったら消してもいいかも | ||
# | ||
# @user | ||
# @private | ||
|
||
# 召喚 | ||
data modify storage api: Argument.ID set value 1042 | ||
function api:object/summon |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/object/1042.mini_black_hole_flying/summon/m.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:object/1042.mini_black_hole_flying/summon/m | ||
# | ||
# @input args: | ||
# Rotation : float @ 2 | ||
# @within function asset:object/1042.mini_black_hole_flying/summon/ | ||
|
||
# 元となるEntityを召喚する | ||
$summon marker ~ ~ ~ {Rotation:$(Rotation),Tags:["ObjectInit"]} |
18 changes: 18 additions & 0 deletions
18
Asset/data/asset/functions/object/1042.mini_black_hole_flying/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,18 @@ | ||
#> asset:object/1042.mini_black_hole_flying/tick/ | ||
# | ||
# Objectのtick時の処理 | ||
# | ||
# @within asset:object/alias/1042/tick | ||
|
||
# 演出のためにランダムな方向を向かせる | ||
execute store result storage asset:temp Args.Yaw float 0.01 run random value 0..35999 | ||
execute store result storage asset:temp Args.Pitch float 0.01 run random value 0..35999 | ||
|
||
# 演出 | ||
function asset:object/1042.mini_black_hole_flying/tick/vfx/m with storage asset:temp Args | ||
|
||
# リセット | ||
data remove storage asset:temp Args | ||
|
||
# super.tick | ||
execute at @s run function asset:object/super.tick |
9 changes: 9 additions & 0 deletions
9
Asset/data/asset/functions/object/1042.mini_black_hole_flying/tick/vfx/m.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,9 @@ | ||
#> asset:object/1042.mini_black_hole_flying/tick/vfx/m | ||
# | ||
# @input args: | ||
# Yaw : float | ||
# Pitch : float | ||
# @within function asset:object/1042.mini_black_hole_flying/tick/ | ||
|
||
# | ||
$execute rotated $(Yaw) $(Pitch) run function asset:object/1042.mini_black_hole_flying/tick/vfx/particle |
Oops, something went wrong.