-
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] 一定時間後に強制的に効果を発動するように (没)
- Loading branch information
1 parent
1dd6010
commit d36a62b
Showing
117 changed files
with
444 additions
and
402 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.
6 changes: 3 additions & 3 deletions
6
...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
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/object/1106.mini_black_hole/_index.d.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:object/1106.mini_black_hole/_index.d | ||
# @private | ||
|
||
#> tag | ||
# @within function asset:object/1106.mini_black_hole/** | ||
#declare score_holder $UQ.Temp | ||
#declare tag UQ.Owner |
18 changes: 18 additions & 0 deletions
18
Asset/data/asset/functions/object/1106.mini_black_hole/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,18 @@ | ||
#> asset:object/1106.mini_black_hole/init/ | ||
# | ||
# Objectのinit時の処理 | ||
# | ||
# @within asset:object/alias/1106/init | ||
|
||
# 雪玉を殴る(描画更新で) | ||
# execute on vehicle run damage @s 0 | ||
# モーションでぶっ飛ばす。飛ぶのは下の雪玉 | ||
data modify storage lib: Argument.VectorMagnitude set value 0.75d | ||
execute on vehicle run function lib:motion/ | ||
data remove storage lib: Argument | ||
|
||
# 信管の起爆時間の上限設定 | ||
execute store result score $UQ.Temp Temporary run data get storage asset:context this.Fuse | ||
scoreboard players operation $UQ.Temp Temporary > $0 Const | ||
scoreboard players operation @s General.Object.Tick -= $UQ.Temp Temporary | ||
scoreboard players reset $UQ.Temp Temporary |
21 changes: 21 additions & 0 deletions
21
Asset/data/asset/functions/object/1106.mini_black_hole/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,21 @@ | ||
#> asset:object/1106.mini_black_hole/register | ||
# | ||
# Objectのデータを指定 | ||
# | ||
# @within function asset:object/alias/1106/register | ||
|
||
# 継承(オプション) | ||
# data modify storage asset:object Extends append value | ||
# 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 1106 | ||
# フィールド(オプション) | ||
# data modify storage asset:object Field.Fuse set value 100 | ||
# data modify storage asset:object Field.OwnerID set value -1 |
11 changes: 11 additions & 0 deletions
11
Asset/data/asset/functions/object/1106.mini_black_hole/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/1106.mini_black_hole/summon/ | ||
# | ||
# Object召喚処理の呼び出し時に実行されるfunction | ||
# | ||
# @within asset:object/alias/1106/summon | ||
|
||
# 元となるEntityを召喚する | ||
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/1106.mini_black_hole/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/1106.mini_black_hole/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/1106.mini_black_hole/summon/debug | ||
# | ||
# 動作チェック用の召喚処理 使い終わったら消してもいいかも | ||
# | ||
# @user | ||
# @private | ||
|
||
# 召喚 | ||
data modify storage api: Argument.ID set value 1106 | ||
function api:object/summon |
9 changes: 9 additions & 0 deletions
9
Asset/data/asset/functions/object/1106.mini_black_hole/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,9 @@ | ||
#> asset:object/1106.mini_black_hole/summon/m | ||
# | ||
# @input args: | ||
# Rotation : float @ 2 | ||
# @within function asset:object/1106.mini_black_hole/summon/ | ||
|
||
# 元となるEntityを召喚する | ||
# 雪玉をそのまま使ってるのはより厳密な着弾判定のため | ||
$summon snowball ~ ~ ~ {Rotation:$(Rotation),NoGravity:1b,Silent:1b,Tags:["Uninterferable"],Passengers:[{id:"minecraft:marker",Tags:["ObjectInit"]}],Item:{Count:1b,id:"minecraft:stone",tag:{CustomModelData:20019}}} |
Oops, something went wrong.