-
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
1 parent
a6420ff
commit afa1871
Showing
101 changed files
with
21,711 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/artifact/1045.mini_black_hole/give/1.trigger.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:artifact/1045.mini_black_hole/give/1.trigger | ||
# | ||
# 神器の取得処理の呼び出し時に実行されるfunction | ||
# | ||
# @within tag/function asset:artifact/give | ||
|
||
execute if data storage asset:context {id:1045} run function asset:artifact/1045.mini_black_hole/give/2.give |
59 changes: 59 additions & 0 deletions
59
Asset/data/asset/functions/artifact/1045.mini_black_hole/give/2.give.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,59 @@ | ||
#> asset:artifact/1045.mini_black_hole/give/2.give | ||
# | ||
# 神器の作成部 ここでID等を定義する | ||
# | ||
# @user | ||
# @within function asset:artifact/1045.mini_black_hole/give/1.trigger | ||
|
||
# 神器の説明や消費MPなどをここで設定する。 | ||
# 最後にasset:artifact/common/giveを実行することで入手可能。 | ||
|
||
# 神器のID (int) スプレッドシートの値を入れる | ||
data modify storage asset:artifact ID set value 1045 | ||
# 神器のベースアイテム | ||
data modify storage asset:artifact Item set value "minecraft:carrot_on_a_stick" | ||
# 神器の名前 (TextComponentString) | ||
data modify storage asset:artifact Name set value '[{"text":"T","color":"#32004F","bold":true,"obfuscated":true},{"text":"S","color":"#59008C","bold":true,"obfuscated":true},{"text":"B","color":"#7E00C7","bold":true,"obfuscated":true},{"text":"ブラックホール・ミニ","color":"#A100FF","bold":true,"obfuscated":false},{"text":"B","color":"#7E00C7","bold":true,"obfuscated":true},{"text":"S","color":"#59008C","bold":true,"obfuscated":true},{"text":"T","color":"#32004F","bold":true,"obfuscated":true}]' | ||
# 神器の説明文 (TextComponentString[]) | ||
data modify storage asset:artifact Lore set value ['{"text":"小さな紫の弾を前方に発射する","color":"white","italic":false}','{"text":"弾は着弾した瞬間にブラックホールを生み出し、","color":"white","italic":false}','{"text":"周囲の敵を無慈悲に吸い込む","color":"white","italic":false}','{"text":"宇宙の破壊力に叶うものはいないだろうに","color":"#B973FF","italic":false}'] | ||
# MP以外の消費物 (TextComponentString) (オプション) | ||
# data modify storage asset:artifact CostText set value | ||
# 使用回数 (int) (オプション) | ||
data modify storage asset:artifact RemainingCount set value 66 | ||
# 神器を発動できるスロット (string) Wikiを参照 | ||
data modify storage asset:artifact Slot set value "auto" | ||
# 神器のトリガー (string) Wikiを参照 | ||
data modify storage asset:artifact Trigger set value "onClick" | ||
# 神器の発動条件 (TextComponentString) (オプション) | ||
# data modify storage asset:artifact Condition set value | ||
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション) | ||
data modify storage asset:artifact AttackInfo.Damage set value 125 | ||
# 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション) | ||
data modify storage asset:artifact AttackInfo.AttackType set value [Magic] | ||
# 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション) | ||
# data modify storage asset:artifact AttackInfo.ElementType set value [Fire,Water,Thunder,None] | ||
# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション) | ||
data modify storage asset:artifact AttackInfo.BypassResist set value true | ||
# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション) | ||
data modify storage asset:artifact AttackInfo.IsRangeAttack set value "every" | ||
# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション) | ||
data modify storage asset:artifact AttackInfo.AttackRange set value 7 | ||
# MP消費量 (int) | ||
data modify storage asset:artifact MPCost set value 100 | ||
# MP必要量 (int) (オプション) | ||
# data modify storage asset:artifact MPRequire set value | ||
# 神器のクールダウン (int) (オプション) | ||
data modify storage asset:artifact LocalCooldown set value 400 | ||
# グローバルクールダウン (int) (オプション) | ||
# data modify storage asset:artifact SpecialCooldown set value | ||
# クールダウンによる使用不可のメッセージを非表示にするか否か (boolean) (オプション) | ||
# data modify storage asset:artifact DisableCooldownMessage set value | ||
# MP不足による使用不可のメッセージを非表示にするか否か (boolean) (オプション) | ||
# data modify storage asset:artifact DisableMPMessage set value | ||
# 扱える神 (string[]) Wikiを参照 | ||
data modify storage asset:artifact CanUsedGod set value ["Nyaptov","Wi-ki"] | ||
# カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション) | ||
# data modify storage asset:artifact CustomNBT set value {} | ||
|
||
# 神器の入手用function | ||
function asset:artifact/common/give |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/artifact/1045.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,7 @@ | ||
#> asset:artifact/1045.mini_black_hole/register | ||
# | ||
# 神器プールへの登録処理 | ||
# | ||
# @within tag/function asset:artifact/register | ||
|
||
data modify storage asset:artifact RarityRegistry[4] append value 1045 |
11 changes: 11 additions & 0 deletions
11
Asset/data/asset/functions/artifact/1045.mini_black_hole/trigger/0.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#> asset:artifact/1045.mini_black_hole/trigger/0.load | ||
# | ||
# 神器に利用するスコアボード等の初期化処理 | ||
# | ||
# @within tag/function asset:artifact/load | ||
|
||
#> 定義類はここに | ||
# @within function asset:artifact/1045.mini_black_hole/trigger/** | ||
scoreboard objectives add T1.OwnerID dummy | ||
scoreboard objectives add T1.FlyingTick dummy | ||
scoreboard objectives add T1.LandingTick dummy |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/artifact/1045.mini_black_hole/trigger/1.trigger.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:artifact/1045.mini_black_hole/trigger/1.trigger | ||
# | ||
# 指定したイベントタイミングで実行されるfunction | ||
# | ||
# @within tag/function asset:artifact/** | ||
|
||
# storage asset:idのautoに装備している神器のIDが入っているので比較し、~/2.check_condition.mcfunctionを実行する | ||
execute if data storage asset:context id{auto:1045} run function asset:artifact/1045.mini_black_hole/trigger/2.check_condition |
12 changes: 12 additions & 0 deletions
12
...t/data/asset/functions/artifact/1045.mini_black_hole/trigger/2.check_condition.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:artifact/1045.mini_black_hole/trigger/2.check_condition | ||
# | ||
# 神器の発動条件をチェックします | ||
# | ||
# @within function asset:artifact/1045.mini_black_hole/trigger/1.trigger | ||
|
||
# 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く | ||
function asset:artifact/common/check_condition/auto | ||
# 他にアイテム等確認する場合はここに書く | ||
|
||
# CanUsedタグをチェックして3.main.mcfunctionを実行する | ||
execute if entity @s[tag=CanUsed] run function asset:artifact/1045.mini_black_hole/trigger/3.main |
40 changes: 40 additions & 0 deletions
40
Asset/data/asset/functions/artifact/1045.mini_black_hole/trigger/3.1.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#> asset:artifact/1045.mini_black_hole/trigger/3.1.vfx | ||
# | ||
# 発動時演出 | ||
# | ||
# @within function asset:artifact/1045.mini_black_hole/trigger/3.main | ||
|
||
# 発動パーティクル | ||
particle dust -1 0 -1 0.75 ^-0.0 ^0.25 ^-0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^0.096 ^0.231 ^-0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^0.177 ^0.177 ^-0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^0.231 ^0.096 ^-0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^0.25 ^0.0 ^0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^0.231 ^-0.096 ^0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^0.177 ^-0.177 ^0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^0.096 ^-0.231 ^0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^-0.0 ^-0.25 ^0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^-0.096 ^-0.231 ^0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^-0.177 ^-0.177 ^0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^-0.231 ^-0.096 ^0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^-0.25 ^0.0 ^0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^-0.231 ^0.096 ^-0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^-0.177 ^0.177 ^-0.0 0.0 0.0 0.0 0.0 1 normal | ||
particle dust -1 0 -1 0.75 ^-0.096 ^0.231 ^-0.0 0.0 0.0 0.0 0.0 1 normal | ||
# 発動パーティクル2 | ||
particle smoke ^-0.0 ^0.25 ^-0.0 ^14.901 ^1000000000.0 ^-43.711 0.00000000001 0 normal | ||
particle smoke ^0.096 ^0.231 ^-0.0 ^382683488.0 ^923879616.0 ^-40.384 0.00000000001 0 normal | ||
particle smoke ^0.177 ^0.177 ^-0.0 ^707106752.0 ^707106752.0 ^-30.909 0.00000000001 0 normal | ||
particle smoke ^0.231 ^0.096 ^-0.0 ^923879616.0 ^382683488.0 ^-16.728 0.00000000001 0 normal | ||
particle smoke ^0.25 ^0.0 ^0.0 ^1000000000.0 ^11.176 ^0.0 0.00000000001 0 normal | ||
particle smoke ^0.231 ^-0.096 ^0.0 ^923879616.0 ^-382683488.0 ^16.728 0.00000000001 0 normal | ||
particle smoke ^0.177 ^-0.177 ^0.0 ^707106752.0 ^-707106752.0 ^30.909 0.00000000001 0 normal | ||
particle smoke ^0.096 ^-0.231 ^0.0 ^382683488.0 ^-923879616.0 ^40.384 0.00000000001 0 normal | ||
particle smoke ^-0.0 ^-0.25 ^0.0 ^14.901 ^-1000000000.0 ^43.711 0.00000000001 0 normal | ||
particle smoke ^-0.096 ^-0.231 ^0.0 ^-382683488.0 ^-923879616.0 ^40.384 0.00000000001 0 normal | ||
particle smoke ^-0.177 ^-0.177 ^0.0 ^-707106752.0 ^-707106752.0 ^30.909 0.00000000001 0 normal | ||
particle smoke ^-0.231 ^-0.096 ^0.0 ^-923879616.0 ^-382683488.0 ^16.728 0.00000000001 0 normal | ||
particle smoke ^-0.25 ^0.0 ^0.0 ^-1000000000.0 ^11.176 ^0.0 0.00000000001 0 normal | ||
particle smoke ^-0.231 ^0.096 ^-0.0 ^-923879616.0 ^382683488.0 ^-16.728 0.00000000001 0 normal | ||
particle smoke ^-0.177 ^0.177 ^-0.0 ^-707106752.0 ^707106752.0 ^-30.909 0.00000000001 0 normal | ||
particle smoke ^-0.096 ^0.231 ^-0.0 ^-382683488.0 ^923879616.0 ^-40.384 0.00000000001 0 normal |
42 changes: 42 additions & 0 deletions
42
Asset/data/asset/functions/artifact/1045.mini_black_hole/trigger/3.main.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,42 @@ | ||
#> asset:artifact/1045.mini_black_hole/trigger/3.main | ||
# | ||
# 神器のメイン処理部 | ||
# | ||
# @within function asset:artifact/1045.mini_black_hole/trigger/2.check_condition | ||
|
||
#> Val | ||
# @private | ||
#declare score_holder $T1.OwnerId | ||
|
||
# 基本的な使用時の処理(MP消費や使用回数の処理など)を行う | ||
function asset:artifact/common/use/auto | ||
|
||
# ここから先は神器側の効果の処理を書く | ||
|
||
# 雪玉を召喚する | ||
execute anchored eyes run summon snowball ^ ^ ^0.5 {Tags:["T1.SnowBall","T1.SnowBallInit"],NoGravity:1b,Item:{Count:1b,id:"minecraft:stick",tag:{CustomModelData:1037}},Passengers:[{id:"minecraft:marker",Tags:["T1.Marker"]}]} | ||
|
||
# スコアセット | ||
scoreboard players operation $T1.OwnerId Temporary = @s UserID | ||
execute as @e[type=snowball,tag=T1.SnowBallInit,distance=..3,limit=1] on passengers run scoreboard players operation @s T1.OwnerID = $T1.OwnerId Temporary | ||
execute as @e[type=snowball,tag=T1.SnowBallInit,distance=..3,limit=1] on passengers run scoreboard players set @s T1.FlyingTick 100 | ||
execute as @e[type=snowball,tag=T1.SnowBallInit,distance=..3,limit=1] on passengers run scoreboard players set @s T1.LandingTick 0 | ||
|
||
# 雪玉にMotionをセットする | ||
data modify storage lib: Argument.VectorMagnitude set value 0.75 | ||
execute as @e[type=snowball,tag=T1.SnowBallInit,distance=..3] run function lib:motion/ | ||
|
||
# 命中判定を行うためのscheduleをセットする | ||
schedule function asset:artifact/1045.mini_black_hole/trigger/schedule/1.tick 1t replace | ||
|
||
# 発動時の音 | ||
playsound block.respawn_anchor.deplete player @a[distance=..16] ~ ~ ~ 1.0 2 0.0 | ||
playsound entity.wither.hurt player @a[distance=..16] ~ ~ ~ 0.5 1.5 | ||
|
||
# 演出 | ||
execute anchored eyes positioned ^ ^ ^0.5 run function asset:artifact/1045.mini_black_hole/trigger/3.1.vfx | ||
|
||
# リセット処理 | ||
tag @e[type=snowball,tag=T1.SnowBallInit,distance=..3] remove T1.SnowBallInit | ||
data remove storage lib: Argument | ||
scoreboard players reset $T1.OwnerId Temporary |
9 changes: 9 additions & 0 deletions
9
Asset/data/asset/functions/artifact/1045.mini_black_hole/trigger/_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,9 @@ | ||
#> asset:artifact/1045.mini_black_hole/trigger/_index.d | ||
# @private | ||
|
||
#> tag | ||
# @within function asset:artifact/1045.mini_black_hole/trigger/** | ||
#declare tag T1.SnowBall | ||
#declare tag T1.SnowBallInit | ||
#declare tag T1.Marker | ||
#declare tag T1.Owner |
16 changes: 16 additions & 0 deletions
16
Asset/data/asset/functions/artifact/1045.mini_black_hole/trigger/schedule/1.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,16 @@ | ||
#> asset:artifact/1045.mini_black_hole/trigger/schedule/1.tick | ||
# | ||
# 毎Tick処理 | ||
# | ||
# @within function | ||
# asset:artifact/1045.mini_black_hole/trigger/3.main | ||
# asset:artifact/1045.mini_black_hole/trigger/schedule/1.tick | ||
|
||
# Markerが雪玉に乗っている場合の処理(継続処理) | ||
execute as @e[type=marker,tag=T1.Marker] if predicate lib:is_vehicle at @s run function asset:artifact/1045.mini_black_hole/trigger/schedule/2.flying | ||
|
||
# Markerが雪玉に乗っていない場合の処理(着弾処理) | ||
execute as @e[type=marker,tag=T1.Marker] unless predicate lib:is_vehicle at @s run function asset:artifact/1045.mini_black_hole/trigger/schedule/3.landing | ||
|
||
# Markerがいる場合、次Tickの実行予約 | ||
execute if entity @e[type=marker,tag=T1.Marker,limit=1] run schedule function asset:artifact/1045.mini_black_hole/trigger/schedule/1.tick 1t replace |
57 changes: 57 additions & 0 deletions
57
.../asset/functions/artifact/1045.mini_black_hole/trigger/schedule/2.1.flying_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#> asset:artifact/1045.mini_black_hole/trigger/schedule/2.1.flying_vfx | ||
# | ||
# 飛翔時演出 | ||
# | ||
# @within function asset:artifact/1045.mini_black_hole/trigger/schedule/2.flying | ||
|
||
# 円 | ||
particle dust -1 0 -1 1.25 ^-0.0 ^0.0 ^0.5 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.191 ^0.0 ^0.462 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.354 ^0.0 ^0.354 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.462 ^0.0 ^0.191 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.5 ^0.0 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.462 ^0.0 ^-0.191 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.354 ^0.0 ^-0.354 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.191 ^0.0 ^-0.462 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.0 ^0.0 ^-0.5 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.191 ^0.0 ^-0.462 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.354 ^0.0 ^-0.354 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.462 ^0.0 ^-0.191 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.5 ^0.0 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.462 ^0.0 ^0.191 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.354 ^0.0 ^0.354 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.191 ^0.0 ^0.462 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
# 円.001 | ||
particle dust -1 0 -1 1.25 ^-0.0 ^0.5 ^-0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.191 ^0.462 ^-0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.354 ^0.354 ^-0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.462 ^0.191 ^-0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.5 ^0.0 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.462 ^-0.191 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.354 ^-0.354 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.191 ^-0.462 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.0 ^-0.5 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.191 ^-0.462 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.354 ^-0.354 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.462 ^-0.191 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.5 ^0.0 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.462 ^0.191 ^-0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.354 ^0.354 ^-0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.191 ^0.462 ^-0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
# 円.002 | ||
particle dust -1 0 -1 1.25 ^-0.0 ^0.0 ^0.5 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.0 ^0.191 ^0.462 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.0 ^0.354 ^0.354 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.0 ^0.462 ^0.191 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.0 ^0.5 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.0 ^0.462 ^-0.191 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.0 ^0.354 ^-0.354 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.0 ^0.191 ^-0.462 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^-0.0 ^0.0 ^-0.5 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.0 ^-0.191 ^-0.462 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.0 ^-0.354 ^-0.354 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.0 ^-0.462 ^-0.191 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.0 ^-0.5 ^0.0 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.0 ^-0.462 ^0.191 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.0 ^-0.354 ^0.354 0.0 0.0 0.0 0.0 1 force @a[distance=..64] | ||
particle dust -1 0 -1 1.25 ^0.0 ^-0.191 ^0.462 0.0 0.0 0.0 0.0 1 force @a[distance=..64] |
19 changes: 19 additions & 0 deletions
19
...t/data/asset/functions/artifact/1045.mini_black_hole/trigger/schedule/2.flying.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,19 @@ | ||
#> asset:artifact/1045.mini_black_hole/trigger/schedule/2.flying | ||
# | ||
# 飛翔時処理 | ||
# | ||
# @within function asset:artifact/1045.mini_black_hole/trigger/schedule/1.tick | ||
|
||
# 演出のためにランダムな方向を向かせる | ||
execute store result entity @s Rotation[0] float 0.01 run function lib:random/ | ||
execute store result entity @s Rotation[1] float 0.01 run function lib:random/ | ||
|
||
# 演出 | ||
execute at @s run function asset:artifact/1045.mini_black_hole/trigger/schedule/2.1.flying_vfx | ||
|
||
# 飛翔時間減少 | ||
scoreboard players remove @s T1.FlyingTick 1 | ||
|
||
# 飛翔時間を超過した場合、キルする | ||
execute if score @s T1.FlyingTick matches 0 on vehicle run kill @s | ||
execute if score @s T1.FlyingTick matches 0 run kill @s |
11 changes: 11 additions & 0 deletions
11
...sset/functions/artifact/1045.mini_black_hole/trigger/schedule/3.1.search_mob.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,11 @@ | ||
#> asset:artifact/1045.mini_black_hole/trigger/schedule/3.1.search_mob.m | ||
# | ||
# ダメージ処理 | ||
# | ||
# @input args | ||
# Num : モブの距離 | ||
# @within function asset:artifact/1045.mini_black_hole/trigger/schedule/3.landing | ||
#declare tag T1.Landing | ||
|
||
# 着弾タグを付ける | ||
$tag @e[tag=Enemy,tag=!Uninterferable,distance=..$(Num)] add T1.Landing |
9 changes: 9 additions & 0 deletions
9
...set/functions/artifact/1045.mini_black_hole/trigger/schedule/3.2.landing_sound.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:artifact/1045.mini_black_hole/trigger/schedule/3.2.landing_sound | ||
# | ||
# 着弾時の音 | ||
# | ||
# @within function asset:artifact/1045.mini_black_hole/trigger/schedule/3.landing | ||
|
||
playsound entity.wither.death master @a[distance=..32] ~ ~ ~ 0.3 0.5 0.1 | ||
playsound entity.warden.sonic_boom master @a[distance=..32] ~ ~ ~ 1 1 0.1 | ||
playsound block.end_portal.spawn master @a[distance=..32] ~ ~ ~ 0.2 1.5 0.1 |
Oops, something went wrong.