From 7ff05e62b0617bc5c20b1d345f19d43da9417d5c Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Tue, 21 Jul 2026 00:45:54 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E3=82=B8=E3=83=A3=E3=83=B3=E3=83=97?= =?UTF-8?q?=E6=BC=94=E5=87=BA=E3=82=92=E3=83=91=E3=83=BC=E3=83=86=E3=82=A3?= =?UTF-8?q?=E3=82=AF=E3=83=AB=E3=81=8B=E3=82=89=E3=82=A8=E3=83=95=E3=82=A7?= =?UTF-8?q?=E3=82=AF=E3=83=88=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tick/air_jump.mcfunction | 5 ++++- .../2275.aurora_jump/register.mcfunction | 21 +++++++++++++++++++ .../2275.aurora_jump/summon/.mcfunction | 18 ++++++++++++++++ .../2275.aurora_jump/summon/m.mcfunction | 7 +++++++ .../object/2275.aurora_jump/tick/.mcfunction | 16 ++++++++++++++ .../2275.aurora_jump/tick/apply.m.mcfunction | 9 ++++++++ .../2275.aurora_jump/tick/kill.mcfunction | 8 +++++++ .../object/alias/2275/register.mcfunction | 8 +++++++ .../object/alias/2275/summon.mcfunction | 8 +++++++ .../object/alias/2275/tick.mcfunction | 8 +++++++ 10 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 Asset/data/asset/functions/object/2275.aurora_jump/register.mcfunction create mode 100644 Asset/data/asset/functions/object/2275.aurora_jump/summon/.mcfunction create mode 100644 Asset/data/asset/functions/object/2275.aurora_jump/summon/m.mcfunction create mode 100644 Asset/data/asset/functions/object/2275.aurora_jump/tick/.mcfunction create mode 100644 Asset/data/asset/functions/object/2275.aurora_jump/tick/apply.m.mcfunction create mode 100644 Asset/data/asset/functions/object/2275.aurora_jump/tick/kill.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/2275/register.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/2275/summon.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/2275/tick.mcfunction diff --git a/Asset/data/asset/functions/mob/0330.aurora_reaper/tick/air_jump.mcfunction b/Asset/data/asset/functions/mob/0330.aurora_reaper/tick/air_jump.mcfunction index 7e52b4e577..f10d24a068 100644 --- a/Asset/data/asset/functions/mob/0330.aurora_reaper/tick/air_jump.mcfunction +++ b/Asset/data/asset/functions/mob/0330.aurora_reaper/tick/air_jump.mcfunction @@ -6,7 +6,10 @@ # 演出 playsound entity.evoker.prepare_summon hostile @a ~ ~ ~ 0.1 1.9 0 - execute positioned ~ ~-0.2 ~ rotated ~ 0 run function asset:mob/0330.aurora_reaper/tick/vfx + +# 演出用Object召喚 + data modify storage api: Argument.ID set value 2275 + execute positioned ~ ~-0.2 ~ run function api:object/summon # tpして向き合わせ tp @s ~ ~ ~ facing entity @p[gamemode=!spectator,distance=..64] eyes diff --git a/Asset/data/asset/functions/object/2275.aurora_jump/register.mcfunction b/Asset/data/asset/functions/object/2275.aurora_jump/register.mcfunction new file mode 100644 index 0000000000..3b813c1b3e --- /dev/null +++ b/Asset/data/asset/functions/object/2275.aurora_jump/register.mcfunction @@ -0,0 +1,21 @@ +#> asset:object/2275.aurora_jump/register +# +# Objectのデータを指定 +# +# @within function asset:object/alias/2275/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 2275 +# フィールド(オプション) + data modify storage asset:object Field.Scale set value 10f + data modify storage asset:object Field.List set value ["8","7","6","5","4","3","2","1","0"] diff --git a/Asset/data/asset/functions/object/2275.aurora_jump/summon/.mcfunction b/Asset/data/asset/functions/object/2275.aurora_jump/summon/.mcfunction new file mode 100644 index 0000000000..3f458e15c6 --- /dev/null +++ b/Asset/data/asset/functions/object/2275.aurora_jump/summon/.mcfunction @@ -0,0 +1,18 @@ +#> asset:object/2275.aurora_jump/summon/ +# +# Object召喚処理の呼び出し時に実行されるfunction +# +# @within asset:object/alias/2275/summon + +# 元となるEntityを召喚する + +# 位置調整する 何故かテクスチャ側だけじゃどうにもならなかったのでゴリ押し + data modify storage asset:temp Args.Scale set value [0f,0f,0.01f] + data modify storage asset:temp Args.Scale[0] set from storage asset:context this.Scale + data modify storage asset:temp Args.Scale[1] set from storage asset:context this.Scale + + data modify storage asset:temp Args.Translation set value [0f,0f,0f] + execute store result storage asset:temp Args.Translation[0] float 0.000125 run data get storage asset:context this.Scale 100 + execute store result storage asset:temp Args.Translation[1] float -0.00075 run data get storage asset:context this.Scale 100 + function asset:object/2275.aurora_jump/summon/m with storage asset:temp Args + data remove storage asset:temp Args diff --git a/Asset/data/asset/functions/object/2275.aurora_jump/summon/m.mcfunction b/Asset/data/asset/functions/object/2275.aurora_jump/summon/m.mcfunction new file mode 100644 index 0000000000..f8f91a6693 --- /dev/null +++ b/Asset/data/asset/functions/object/2275.aurora_jump/summon/m.mcfunction @@ -0,0 +1,7 @@ +#> asset:object/2275.aurora_jump/summon/m +# +# +# +# @within function asset:object/2275.aurora_jump/summon/ + +$summon text_display ~ ~ ~ {Rotation:[0f,-90f],Tags:["ObjectInit"],alignment:"left",brightness:{sky:15,block:15},background:16711680,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:$(Scale),translation:$(Translation)},Passengers:[{id:"text_display",Rotation:[0f,-90f],brightness:{sky:15,block:15},background:16711680,transformation:{left_rotation:[0f,1f,0f,0f],right_rotation:[0f,0f,0f,1f],scale:$(Scale),translation:$(Translation)}}]} diff --git a/Asset/data/asset/functions/object/2275.aurora_jump/tick/.mcfunction b/Asset/data/asset/functions/object/2275.aurora_jump/tick/.mcfunction new file mode 100644 index 0000000000..5037673ac8 --- /dev/null +++ b/Asset/data/asset/functions/object/2275.aurora_jump/tick/.mcfunction @@ -0,0 +1,16 @@ +#> asset:object/2275.aurora_jump/tick/ +# +# Objectのtick時の処理 +# +# @within asset:object/alias/2275/tick + +# apply + data modify storage asset:temp Args.Char set from storage asset:context this.List[-1] + execute if data storage asset:temp Args.Char run function asset:object/2275.aurora_jump/tick/apply.m with storage asset:temp Args + data remove storage asset:context this.List[-1] + +# データがなければkill + execute unless data storage asset:temp Args.Char run function asset:object/2275.aurora_jump/tick/kill + +# リセット + data remove storage asset:temp Args diff --git a/Asset/data/asset/functions/object/2275.aurora_jump/tick/apply.m.mcfunction b/Asset/data/asset/functions/object/2275.aurora_jump/tick/apply.m.mcfunction new file mode 100644 index 0000000000..ffc94fc472 --- /dev/null +++ b/Asset/data/asset/functions/object/2275.aurora_jump/tick/apply.m.mcfunction @@ -0,0 +1,9 @@ +#> asset:object/2275.aurora_jump/tick/apply.m +# +# +# +# @within function asset:object/2275.aurora_jump/tick/ + +# + $data modify entity @s text set value '{"text":"$(Char)","font":"object/2275"}' + $execute on passengers run data modify entity @s text set value '{"text":"$(Char)","font":"object/2275"}' diff --git a/Asset/data/asset/functions/object/2275.aurora_jump/tick/kill.mcfunction b/Asset/data/asset/functions/object/2275.aurora_jump/tick/kill.mcfunction new file mode 100644 index 0000000000..1221a2e921 --- /dev/null +++ b/Asset/data/asset/functions/object/2275.aurora_jump/tick/kill.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/2275.aurora_jump/tick/kill +# +# +# +# @within function asset:object/2275.aurora_jump/tick/ + + execute on passengers run kill @s + kill @s diff --git a/Asset/data/asset/functions/object/alias/2275/register.mcfunction b/Asset/data/asset/functions/object/alias/2275/register.mcfunction new file mode 100644 index 0000000000..aa2db70195 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/2275/register.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/2275/register +# +# Objectのデータ指定処理のエイリアス +# +# @within asset_manager:object/summon/register.m + +# 元の登録処理を呼び出す + function asset:object/2275.aurora_jump/register \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/2275/summon.mcfunction b/Asset/data/asset/functions/object/alias/2275/summon.mcfunction new file mode 100644 index 0000000000..df67e4c2da --- /dev/null +++ b/Asset/data/asset/functions/object/alias/2275/summon.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/2275/summon +# +# Object召喚処理のエイリアス +# +# @within asset_manager:object/summon/summon.m + +# 元の召喚処理を呼び出す + function asset:object/2275.aurora_jump/summon/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/2275/tick.mcfunction b/Asset/data/asset/functions/object/alias/2275/tick.mcfunction new file mode 100644 index 0000000000..4efcff0512 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/2275/tick.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/2275/tick +# +# Tick時処理のエイリアス +# +# @within asset_manager:object/tick/tick.m + +# 元のTick処理を呼び出す + function asset:object/2275.aurora_jump/tick/ \ No newline at end of file From 1013e1033063e23245c217ce269a41b631124c81 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Tue, 21 Jul 2026 00:49:27 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E9=9F=B3=E9=87=8F=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../functions/mob/0330.aurora_reaper/tick/air_jump.mcfunction | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Asset/data/asset/functions/mob/0330.aurora_reaper/tick/air_jump.mcfunction b/Asset/data/asset/functions/mob/0330.aurora_reaper/tick/air_jump.mcfunction index f10d24a068..59d4b56a17 100644 --- a/Asset/data/asset/functions/mob/0330.aurora_reaper/tick/air_jump.mcfunction +++ b/Asset/data/asset/functions/mob/0330.aurora_reaper/tick/air_jump.mcfunction @@ -5,7 +5,7 @@ # @within function asset:mob/0330.aurora_reaper/tick/ # 演出 - playsound entity.evoker.prepare_summon hostile @a ~ ~ ~ 0.1 1.9 0 + playsound entity.evoker.prepare_summon hostile @a ~ ~ ~ 0.7 1.9 0 # 演出用Object召喚 data modify storage api: Argument.ID set value 2275 @@ -18,8 +18,6 @@ data modify storage lib: Argument.VectorMagnitude set value 1.0 execute facing entity @p[gamemode=!spectator,distance=..64] eyes rotated ~ ~-13 run function lib:motion/ - - # CT設定 data modify storage asset:context this.MotionCT set value 15