From cb0e2fd2614b36e5b6d93deccbb51cf9d6fa33ed Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Wed, 15 Jul 2026 08:46:12 +0900 Subject: [PATCH 01/37] =?UTF-8?q?=E3=81=A8=E3=82=8A=E3=81=82=E3=81=88?= =?UTF-8?q?=E3=81=9A=E9=80=9A=E5=B8=B8=E6=94=BB=E6=92=83=E3=82=92=E5=AE=9F?= =?UTF-8?q?=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../1307.yumeori/give/1.trigger.mcfunction | 7 ++ .../1307.yumeori/give/2.give.mcfunction | 68 +++++++++++++++++++ .../1307.yumeori/trigger/1.trigger.mcfunction | 8 +++ .../trigger/2.check_condition.mcfunction | 20 ++++++ .../1307.yumeori/trigger/3.main.mcfunction | 18 +++++ .../1307.yumeori/trigger/_index.d.mcfunction | 6 ++ .../trigger/neutral_arrow.mcfunction | 18 +++++ .../1176.arrow_of_yumeori/_index.d.mcfunction | 6 ++ .../1176.arrow_of_yumeori/pre_hit/.mcfunction | 5 ++ .../recursive/.mcfunction | 48 +++++++++++++ .../recursive/vfx/pink.mcfunction | 36 ++++++++++ .../recursive/vfx/red.mcfunction | 36 ++++++++++ .../recursive/vfx/yellow.mcfunction | 37 ++++++++++ .../1176.arrow_of_yumeori/register.mcfunction | 34 ++++++++++ .../1176.arrow_of_yumeori/tick/.mcfunction | 16 +++++ .../functions/object/alias/1176/.mcfunction | 8 +++ .../object/alias/1176/pre_hit.mcfunction | 8 +++ .../object/alias/1176/recursive.mcfunction | 8 +++ .../object/alias/1176/register.mcfunction | 8 +++ .../object/alias/1176/tick.mcfunction | 8 +++ .../asset/tags/functions/artifact/give.json | 3 +- .../asset/tags/functions/artifact/shot.json | 1 + 22 files changed, 406 insertions(+), 1 deletion(-) create mode 100644 Asset/data/asset/functions/artifact/1307.yumeori/give/1.trigger.mcfunction create mode 100644 Asset/data/asset/functions/artifact/1307.yumeori/give/2.give.mcfunction create mode 100644 Asset/data/asset/functions/artifact/1307.yumeori/trigger/1.trigger.mcfunction create mode 100644 Asset/data/asset/functions/artifact/1307.yumeori/trigger/2.check_condition.mcfunction create mode 100644 Asset/data/asset/functions/artifact/1307.yumeori/trigger/3.main.mcfunction create mode 100644 Asset/data/asset/functions/artifact/1307.yumeori/trigger/_index.d.mcfunction create mode 100644 Asset/data/asset/functions/artifact/1307.yumeori/trigger/neutral_arrow.mcfunction create mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/_index.d.mcfunction create mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/.mcfunction create mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction create mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/pink.mcfunction create mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/red.mcfunction create mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/yellow.mcfunction create mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/register.mcfunction create mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/tick/.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1176/.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1176/pre_hit.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1176/recursive.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1176/register.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1176/tick.mcfunction diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/give/1.trigger.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/give/1.trigger.mcfunction new file mode 100644 index 0000000000..c77897caec --- /dev/null +++ b/Asset/data/asset/functions/artifact/1307.yumeori/give/1.trigger.mcfunction @@ -0,0 +1,7 @@ +#> asset:artifact/1307.yumeori/give/1.trigger +# +# 神器の取得処理の呼び出し時に実行されるfunction +# +# @within tag/function asset:artifact/give + +execute if data storage asset:context {id:1307} run function asset:artifact/1307.yumeori/give/2.give \ No newline at end of file diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/give/2.give.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/give/2.give.mcfunction new file mode 100644 index 0000000000..9feb214f31 --- /dev/null +++ b/Asset/data/asset/functions/artifact/1307.yumeori/give/2.give.mcfunction @@ -0,0 +1,68 @@ +#> asset:artifact/1307.yumeori/give/2.give +# +# 神器の作成部 ここでID等を定義する +# +# @user +# @within function asset:artifact/1307.yumeori/give/1.trigger + +# 神器の説明や消費MPなどをここで設定する。 +# 最後にasset:artifact/common/giveを実行することで入手可能。 + +# 神器のID (int) スプレッドシートの値を入れる + data modify storage asset:artifact ID set value 1307 +# 神器のベースアイテム + data modify storage asset:artifact Item set value "minecraft:bow" +# 神器の名前 (TextComponentString) + data modify storage asset:artifact Name set value '{"text":"極光弓 夢織","color":"#91f9ab"}' +# 神器の説明文 (TextComponentString[]) + data modify storage asset:artifact Lore set value [] +# 消費アイテム ({Item: TextComponent, Count: int, Extra?: TextComponent}) (オプション) + data modify storage asset:artifact ConsumeItem.Item set value '{"translate":"item.minecraft.arrow"}' + data modify storage asset:artifact ConsumeItem.Count set value 1 + # data modify storage asset:artifact ConsumeItem.Extra set value +# 使用回数 (int) (オプション) + # data modify storage asset:artifact RemainingCount set value +# 神器を発動できるスロット (string) Wikiを参照 + data modify storage asset:artifact Slot set value "mainhand" +# 神器のトリガー (string) Wikiを参照 + data modify storage asset:artifact Trigger set value "shot" +# 神器の発動条件 (TextComponentString) (オプション) + data modify storage asset:artifact Condition set value '{"text":"最大まで引き絞る"}' +# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション) + # data modify storage asset:artifact AttackInfo.Damage set value [0,0] +# 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション) + data modify storage asset:artifact AttackInfo.AttackType set value [Magic] +# 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション) + data modify storage asset:artifact AttackInfo.ElementType set value [Thunder] +# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション) + # data modify storage asset:artifact AttackInfo.BypassResist set value +# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション) + data modify storage asset:artifact AttackInfo.IsRangeAttack set value "condition" +# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション) + data modify storage asset:artifact AttackInfo.AttackRange set value 20 +# MP消費量 (int) + # data modify storage asset:artifact MPCost set value +# MP必要量 (int) (オプション) + # data modify storage asset:artifact MPRequire set value +# MP回復量 (int) + data modify storage asset:artifact MPHealWhenHit set value 20 +# 神器のクールダウン (int) (オプション) + # data modify storage asset:artifact LocalCooldown set value +# 種別クールダウン ({Type: string, Duration: int}) (オプション) + # data modify storage asset:artifact TypeCooldown.Type set value + # data modify storage asset:artifact TypeCooldown.Duration set value +# グローバルクールダウン (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 +# 破壊時の音を鳴らさないかどうか (boolean) (オプション) + # data modify storage asset:artifact DisableBreakSound set value +# 扱える神 (string[]) Wikiを参照 + data modify storage asset:artifact CanUsedGod set value "ALL" +# カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション) + # data modify storage asset:artifact CustomNBT set value {} + +# 神器の入手用function + function asset:artifact/common/give diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/1.trigger.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/1.trigger.mcfunction new file mode 100644 index 0000000000..60380a85ad --- /dev/null +++ b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/1.trigger.mcfunction @@ -0,0 +1,8 @@ +#> asset:artifact/1307.yumeori/trigger/1.trigger +# +# 指定したイベントタイミングで実行されるfunction +# +# @within tag/function asset:artifact/** + +# storage asset:idのmainhandに装備している神器のIDが入っているので比較し、~/2.check_condition.mcfunctionを実行する + execute if data storage asset:context id{mainhand:1307} run function asset:artifact/1307.yumeori/trigger/2.check_condition \ No newline at end of file diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/2.check_condition.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/2.check_condition.mcfunction new file mode 100644 index 0000000000..683246e749 --- /dev/null +++ b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/2.check_condition.mcfunction @@ -0,0 +1,20 @@ +#> asset:artifact/1307.yumeori/trigger/2.check_condition +# +# 神器の発動条件をチェックします +# +# @within function asset:artifact/1307.yumeori/trigger/1.trigger + +# 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く + function asset:artifact/common/check_condition/mainhand +# 他にアイテム等確認する場合はここに書く + +# 矢がクリティカルでないならCanUsedを削除 + execute unless entity @e[type=#arrows,tag=ShotArrow,nbt={crit:1b},distance=..5,sort=nearest,limit=1] run tag @s remove CanUsed + kill @e[type=#arrows,tag=ShotArrow,distance=..5] + +# 発動しなかったら矢を返してreturn + execute if entity @s[tag=!CanUsed] run summon item ~ ~ ~ {PickupDelay:0s,Item:{id:"minecraft:arrow",Count:1b}} + execute if entity @s[tag=!CanUsed] run return fail + +# 3.main.mcfunctionを実行する + function asset:artifact/1307.yumeori/trigger/3.main diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/3.main.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/3.main.mcfunction new file mode 100644 index 0000000000..e5c613dd80 --- /dev/null +++ b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/3.main.mcfunction @@ -0,0 +1,18 @@ +#> asset:artifact/1307.yumeori/trigger/3.main +# +# 神器のメイン処理部 +# +# @within function asset:artifact/1307.yumeori/trigger/2.check_condition + +# 基本的な使用時の処理(MP消費や使用回数の処理など)を行う + function asset:artifact/common/use/mainhand + +# ここから先は神器側の効果の処理を書く + +# 演出 + playsound entity.wither.shoot player @a ~ ~ ~ 1 1.8 + playsound item.trident.riptide_1 player @a ~ ~ ~ 1 1.8 + # particle flash ~ ~ ~ 0 0 0 0 1 + +# 何もなければ普通の矢を発射 + function asset:artifact/1307.yumeori/trigger/neutral_arrow diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/_index.d.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/_index.d.mcfunction new file mode 100644 index 0000000000..5378df81f0 --- /dev/null +++ b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/_index.d.mcfunction @@ -0,0 +1,6 @@ +#> asset:artifact/1307.yumeori/trigger/_index.d +# @private + +#> tag +# @within function asset:artifact/1307.yumeori/trigger/** + #declare tag diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/neutral_arrow.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/neutral_arrow.mcfunction new file mode 100644 index 0000000000..3f73a4f75b --- /dev/null +++ b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/neutral_arrow.mcfunction @@ -0,0 +1,18 @@ +#> asset:artifact/1307.yumeori/trigger/neutral_arrow +# +# +# +# @within function asset:artifact/1307.yumeori/trigger/3.main + +# 矢を召喚する + # ダメージ + data modify storage api: Argument.FieldOverride.Damage set value 800 + # 射程 + data modify storage api: Argument.FieldOverride.Range set value 50 + # 弾速 + data modify storage api: Argument.FieldOverride.Speed set value 8 + # 召喚 + data modify storage api: Argument.ID set value 1176 + execute store result storage api: Argument.FieldOverride.UserID int 1 run scoreboard players get @s UserID + data modify storage api: Argument.FieldOverride.AdditionalMPHeal set from storage api: PersistentArgument.AdditionalMPHeal + execute anchored eyes positioned ^ ^ ^ run function api:object/summon diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/_index.d.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/_index.d.mcfunction new file mode 100644 index 0000000000..ac28c1b016 --- /dev/null +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/_index.d.mcfunction @@ -0,0 +1,6 @@ +#> asset:object/1176.arrow_of_yumeori/_index.d +# @private + +#> tag +# @within function asset:object/1176.arrow_of_yumeori/** + #declare \ No newline at end of file diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/.mcfunction new file mode 100644 index 0000000000..39a8bc90fd --- /dev/null +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/.mcfunction @@ -0,0 +1,5 @@ +#> asset:object/1176.arrow_of_yumeori/pre_hit/ +# +# 継承先などから実行される処理 +# +# @within asset:object/alias/1176/pre_hit diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction new file mode 100644 index 0000000000..645fbb3b05 --- /dev/null +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction @@ -0,0 +1,48 @@ +#> asset:object/1176.arrow_of_yumeori/recursive/ +# +# 継承先などから実行される処理 +# +# @within asset:object/alias/1176/recursive + +#> Private +# @private + #declare score_holder $Step + +# インクリメント + execute store result storage asset:context this.StepCount int -1 run data get storage asset:context this.StepCount -1.00000000001 + +# 0なら1にする + execute if data storage asset:context this{StepCount:0} run data modify storage asset:context this.StepCount set value 1 + +# 軌跡 + #execute store result score $Step Temporary run data get storage asset:context this.StepCount + #execute if score $Step Temporary matches ..20 run particle dust 1 0.973 0.573 1.3 ^ ^ ^ 0 0 0 0 1 normal @a + #execute if score $Step Temporary matches ..20 run particle dust 1 0.973 0.573 1.3 ^ ^ ^-0.25 0 0 0 0 1 normal @a + #execute if score $Step Temporary matches 21..40 run particle dust 1 0.624 0.573 1.3 ^ ^ ^ 0 0 0 0 1 normal @a + #execute if score $Step Temporary matches 21..40 run particle dust 1 0.624 0.573 1.3 ^ ^ ^-0.25 0 0 0 0 1 normal @a + #execute if score $Step Temporary matches 41.. run particle dust 0.988 0.663 1 1.3 ^ ^ ^ 0 0 0 0 1 normal @a + #execute if score $Step Temporary matches 41.. run particle dust 0.988 0.663 1 1.3 ^ ^ ^-0.25 0 0 0 0 1 normal @a + #scoreboard players reset $Step Temporary + + # particle wax_off ^ ^ ^0.25 0 0 0 0 1 + # particle wax_off ^ ^ ^0.00 0 0 0 0 1 + + execute store result score $Step Temporary run data get storage asset:context this.StepCount + execute if score $Step Temporary matches ..20 run particle dust 100000000 100000000 1 1.3 ^ ^ ^ 0 0 0 0 1 normal @a + execute if score $Step Temporary matches ..20 run particle dust 100000000 100000000 1 1.3 ^ ^ ^-0.25 0 0 0 0 1 normal @a + execute if score $Step Temporary matches 21..40 run particle dust 100000000 1 1 1.3 ^ ^ ^ 0 0 0 0 1 normal @a + execute if score $Step Temporary matches 21..40 run particle dust 100000000 1 1 1.3 ^ ^ ^-0.25 0 0 0 0 1 normal @a + execute if score $Step Temporary matches 41.. run particle dust 100000000 1 100000000 1.3 ^ ^ ^ 0 0 0 0 1 normal @a + execute if score $Step Temporary matches 41.. run particle dust 100000000 1 100000000 1.3 ^ ^ ^-0.25 0 0 0 0 1 normal @a + scoreboard players reset $Step Temporary + +# 色を変える + execute if data storage asset:context this{StepCount:20} run data modify entity @s item.tag.display.color set value 16745353 + execute if data storage asset:context this{StepCount:40} run data modify entity @s item.tag.display.color set value 16760318 + +# 演出 (仮) + execute if data storage asset:context this{StepCount: 0} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/yellow + execute if data storage asset:context this{StepCount:10} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/yellow + execute if data storage asset:context this{StepCount:20} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/red + execute if data storage asset:context this{StepCount:30} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/red + execute if data storage asset:context this{StepCount:40} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/pink diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/pink.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/pink.mcfunction new file mode 100644 index 0000000000..24b37243d6 --- /dev/null +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/pink.mcfunction @@ -0,0 +1,36 @@ +#> asset:object/1176.arrow_of_yumeori/recursive/vfx/pink +# +# +# +# @within function asset:object/1176.arrow_of_yumeori/recursive/ + +# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmAGYCsATLQEYCcAzNQLRMAsAHE+1xRwu7AIYB2UvwBsARlFdRtHgAZRq0WAIA7UQFsEyQGGKAAllawMURn0BnJOBQB7QtohJlBIW7gYHYADdRbEJDcAAPJBUCKCiAXziCG1I0QntEWQJbCGt3RGiwOGxsNBhbQ1kVAownHIhDArRbAFFi0vLmgEdCYOwoAGUrIXJESmDyhIBdIA_3 +# 円 1 +particle dust 100000000 1 100000000 2 ^0 ^-1 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0.22252 ^-0.97493 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0.43388 ^-0.90097 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0.62349 ^-0.78183 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0.78183 ^-0.62349 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0.90097 ^-0.43388 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0.97493 ^-0.22252 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^1 ^0 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0.97493 ^0.22252 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0.90097 ^0.43388 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0.78183 ^0.62349 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0.62349 ^0.78183 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0.43388 ^0.90097 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0.22252 ^0.97493 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^0 ^1 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-0.22252 ^0.97493 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-0.43388 ^0.90097 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-0.62349 ^0.78183 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-0.78183 ^0.62349 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-0.90097 ^0.43388 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-0.97493 ^0.22252 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-1 ^0 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-0.97493 ^-0.22252 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-0.90097 ^-0.43388 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-0.78183 ^-0.62349 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-0.62349 ^-0.78183 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-0.43388 ^-0.90097 ^ 0 0 0 0 1 +particle dust 100000000 1 100000000 2 ^-0.22252 ^-0.97493 ^ 0 0 0 0 1 diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/red.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/red.mcfunction new file mode 100644 index 0000000000..5f8cb624be --- /dev/null +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/red.mcfunction @@ -0,0 +1,36 @@ +#> asset:object/1176.arrow_of_yumeori/recursive/vfx/red +# +# +# +# @within function asset:object/1176.arrow_of_yumeori/recursive/ + +# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmAGYCsATLQEYCcAzNQLRMAsAHE+1xRwu7AIYB2UvwBsARlFdRtHgAZRq0WAIA7UQFsEyQGGKAAllawMURn0BnJOBQB7QtohJlBIW7gYHYADdRbEJDcAAPJBUCKCiAXziCG1I0QntEWQJbCGt3RGiwOGxsNBhbQ1kVAownHIhDArRbAFFi0vLmgEdCYOwoAGUrIXJESmDyhIBdIA_3 +# 円 1 +particle dust 100000000 1 1 2 ^0 ^-1 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0.22252 ^-0.97493 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0.43388 ^-0.90097 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0.62349 ^-0.78183 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0.78183 ^-0.62349 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0.90097 ^-0.43388 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0.97493 ^-0.22252 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^1 ^0 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0.97493 ^0.22252 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0.90097 ^0.43388 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0.78183 ^0.62349 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0.62349 ^0.78183 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0.43388 ^0.90097 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0.22252 ^0.97493 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^0 ^1 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-0.22252 ^0.97493 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-0.43388 ^0.90097 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-0.62349 ^0.78183 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-0.78183 ^0.62349 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-0.90097 ^0.43388 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-0.97493 ^0.22252 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-1 ^0 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-0.97493 ^-0.22252 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-0.90097 ^-0.43388 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-0.78183 ^-0.62349 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-0.62349 ^-0.78183 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-0.43388 ^-0.90097 ^ 0 0 0 0 1 +particle dust 100000000 1 1 2 ^-0.22252 ^-0.97493 ^ 0 0 0 0 1 diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/yellow.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/yellow.mcfunction new file mode 100644 index 0000000000..a3ed4b6ef0 --- /dev/null +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/yellow.mcfunction @@ -0,0 +1,37 @@ +#> asset:object/1176.arrow_of_yumeori/recursive/vfx/yellow +# +# +# +# @within function asset:object/1176.arrow_of_yumeori/recursive/ + + +# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmAGYCsATLQEYCcAzNQLRMAsAHE+1xRwu7AIYB2UvwBsARlFdRtHgAZRq0WAIA7UQFsEyQGGKAAllawMURn0BnJOBQB7QtohJlBIW7gYHYADdRbEJDcAAPJBUCKCiAXziCG1I0QntEWQJbCGt3RGiwOGxsNBhbQ1kVAownHIhDArRbAFFi0vLmgEdCYOwoAGUrIXJESmDyhIBdIA_3 +# 円 1 +particle dust 100000000 100000000 1 2 ^0 ^-1 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0.22252 ^-0.97493 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0.43388 ^-0.90097 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0.62349 ^-0.78183 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0.78183 ^-0.62349 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0.90097 ^-0.43388 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0.97493 ^-0.22252 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^1 ^0 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0.97493 ^0.22252 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0.90097 ^0.43388 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0.78183 ^0.62349 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0.62349 ^0.78183 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0.43388 ^0.90097 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0.22252 ^0.97493 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^0 ^1 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-0.22252 ^0.97493 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-0.43388 ^0.90097 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-0.62349 ^0.78183 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-0.78183 ^0.62349 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-0.90097 ^0.43388 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-0.97493 ^0.22252 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-1 ^0 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-0.97493 ^-0.22252 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-0.90097 ^-0.43388 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-0.78183 ^-0.62349 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-0.62349 ^-0.78183 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-0.43388 ^-0.90097 ^ 0 0 0 0 1 +particle dust 100000000 100000000 1 2 ^-0.22252 ^-0.97493 ^ 0 0 0 0 1 diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/register.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/register.mcfunction new file mode 100644 index 0000000000..14ceabe2e1 --- /dev/null +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/register.mcfunction @@ -0,0 +1,34 @@ +#> asset:object/1176.arrow_of_yumeori/register +# +# Objectのデータを指定 +# +# @within function asset:object/alias/1176/register + +# 継承(オプション) + data modify storage asset:object Extends append value 1009 + 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 1176 +# フィールド(オプション) + data modify storage asset:object Field.Color set value 16646013 + data modify storage asset:object Field.ShowCritParticle set value false + data modify storage asset:object Field.AttackType set value "Magic" + data modify storage asset:object Field.ElementType set value "Thunder" + data modify storage asset:object Field.Range set value 40 + data modify storage asset:object Field.Speed set value 4 + data modify storage asset:object Field.Damage set value 1 + data modify storage asset:object Field.PoisonDamage set value 1 + data modify storage asset:object Field.AdditionalMPHeal set value 1 + +# 何回進んだかを計測する + data modify storage asset:object Field.StepCount set value 0 + +# メモ +# 黄色:16646013, 赤:16745353 ピンク:16760318 diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/tick/.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/tick/.mcfunction new file mode 100644 index 0000000000..47be67633f --- /dev/null +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/tick/.mcfunction @@ -0,0 +1,16 @@ +#> asset:object/1176.arrow_of_yumeori/tick/ +# +# Objectのtick時の処理 +# +# @within asset:object/alias/1176/tick + +# Tick加算 + scoreboard players add @s General.Object.Tick 1 + +# 矢の色変える + # execute if score @s General.Object.Tick matches + + function asset:object/super.tick + +# 消滅処理 + kill @s[scores={General.Object.Tick=1000..}] diff --git a/Asset/data/asset/functions/object/alias/1176/.mcfunction b/Asset/data/asset/functions/object/alias/1176/.mcfunction new file mode 100644 index 0000000000..346b6dfc9c --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1176/.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1176/ +# +# メソッド処理のエイリアス +# +# @within asset_manager:object/call_method/run_method.m + +# 元のメソッド処理を呼び出す + function asset:object/1176.arrow_of_yumeori// \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1176/pre_hit.mcfunction b/Asset/data/asset/functions/object/alias/1176/pre_hit.mcfunction new file mode 100644 index 0000000000..9d0fe6013c --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1176/pre_hit.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1176/pre_hit +# +# メソッド処理のエイリアス +# +# @within asset_manager:object/call_method/run_method.m + +# 元のメソッド処理を呼び出す + function asset:object/1176.arrow_of_yumeori/pre_hit/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1176/recursive.mcfunction b/Asset/data/asset/functions/object/alias/1176/recursive.mcfunction new file mode 100644 index 0000000000..2949d31825 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1176/recursive.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1176/recursive +# +# メソッド処理のエイリアス +# +# @within asset_manager:object/call_method/run_method.m + +# 元のメソッド処理を呼び出す + function asset:object/1176.arrow_of_yumeori/recursive/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1176/register.mcfunction b/Asset/data/asset/functions/object/alias/1176/register.mcfunction new file mode 100644 index 0000000000..28f9577f0d --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1176/register.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1176/register +# +# Objectのデータ指定処理のエイリアス +# +# @within asset_manager:object/summon/register.m + +# 元の登録処理を呼び出す + function asset:object/1176.arrow_of_yumeori/register \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1176/tick.mcfunction b/Asset/data/asset/functions/object/alias/1176/tick.mcfunction new file mode 100644 index 0000000000..bcb42e95c5 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1176/tick.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1176/tick +# +# Tick時処理のエイリアス +# +# @within asset_manager:object/tick/tick.m + +# 元のTick処理を呼び出す + function asset:object/1176.arrow_of_yumeori/tick/ \ No newline at end of file diff --git a/Asset/data/asset/tags/functions/artifact/give.json b/Asset/data/asset/tags/functions/artifact/give.json index fdb7a26c47..c29679634a 100644 --- a/Asset/data/asset/tags/functions/artifact/give.json +++ b/Asset/data/asset/tags/functions/artifact/give.json @@ -1,5 +1,6 @@ { "values": [ + "asset:artifact/1307.yumeori/give/1.trigger", "asset:artifact/1562.tsukimi_dango/give/1.trigger", "asset:artifact/1430.shield_of_fate/give/1.trigger", "asset:artifact/1453.frost_flake_bow/give/1.trigger", @@ -540,4 +541,4 @@ "asset:artifact/0735.collision_plate/give/1.trigger", "asset:artifact/0745.blade_of_whirlwind/give/1.trigger" ] -} +} \ No newline at end of file diff --git a/Asset/data/asset/tags/functions/artifact/shot.json b/Asset/data/asset/tags/functions/artifact/shot.json index 6c4b2001af..03d38e9b9e 100644 --- a/Asset/data/asset/tags/functions/artifact/shot.json +++ b/Asset/data/asset/tags/functions/artifact/shot.json @@ -1,5 +1,6 @@ { "values": [ + "asset:artifact/1307.yumeori/trigger/1.trigger", "asset:artifact/1453.frost_flake_bow/trigger/1.trigger", "asset:artifact/1061.hekireki/trigger/1.trigger", "asset:artifact/1262.honey_bee_stiring/trigger/1.trigger", From 5a5b26bbbb378981597c8cfc252fa471df0f20c0 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Wed, 15 Jul 2026 08:56:40 +0900 Subject: [PATCH 02/37] =?UTF-8?q?Metadata=E3=81=AB=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../1009.arrow/hit_entity/from_non-player/as_target.mcfunction | 1 + .../1009.arrow/hit_entity/from_player/as_target.mcfunction | 3 +++ .../data/asset/functions/object/1009.arrow/register.mcfunction | 1 + 3 files changed, 5 insertions(+) diff --git a/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_non-player/as_target.mcfunction b/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_non-player/as_target.mcfunction index e59ef5b2c3..aa625c5493 100644 --- a/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_non-player/as_target.mcfunction +++ b/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_non-player/as_target.mcfunction @@ -14,6 +14,7 @@ data modify storage api: Argument.Damage set from storage asset:context this.Damage data modify storage api: Argument.AttackType set from storage asset:context this.AttackType data modify storage api: Argument.ElementType set from storage asset:context this.ElementType + execute if data storage asset:context this.Metadata run data modify storage api: Argument.Metadata set from storage asset:context this.Metadata # execute if data storage asset:context this.AdditionalMPHeal run data modify storage api: Argument.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal # modifier をかける data modify storage api: Argument.MobUUID set from storage asset:context this.MobUUID diff --git a/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_player/as_target.mcfunction b/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_player/as_target.mcfunction index 45cf9e608e..887e31360f 100644 --- a/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_player/as_target.mcfunction +++ b/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_player/as_target.mcfunction @@ -9,6 +9,8 @@ #declare score_holder $UserID #declare tag 1009.Player +tellraw @a {"storage":"asset:context","nbt":"this"} + # プレイヤー特定 execute store result score $UserID Temporary run data get storage asset:context this.UserID execute as @a if score @s UserID = $UserID Temporary run tag @s add 1009.Player @@ -19,6 +21,7 @@ data modify storage api: Argument.Damage set from storage asset:context this.Damage data modify storage api: Argument.AttackType set from storage asset:context this.AttackType data modify storage api: Argument.ElementType set from storage asset:context this.ElementType + execute if data storage asset:context this.Metadata run data modify storage api: Argument.Metadata set from storage asset:context this.Metadata execute if data storage asset:context this.AdditionalMPHeal run data modify storage api: Argument.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal # modifier をかける execute as @a[tag=1009.Player] run function api:damage/modifier diff --git a/Asset/data/asset/functions/object/1009.arrow/register.mcfunction b/Asset/data/asset/functions/object/1009.arrow/register.mcfunction index f589fccdb0..b841828ed5 100644 --- a/Asset/data/asset/functions/object/1009.arrow/register.mcfunction +++ b/Asset/data/asset/functions/object/1009.arrow/register.mcfunction @@ -24,6 +24,7 @@ data modify storage asset:object Field.Damage set value 1 data modify storage asset:object Field.AttackType set value "Physical" data modify storage asset:object Field.ElementType set value "None" + # data modify storage asset:object Field.Metadata set value # data modify storage asset:object Field.AdditionalMPHeal set value # data modify storage asset:object Field.UserID set value # data modify storage asset:object Field.MobUUID set value From e6930989c32738f5d77bb7face251cc1bfce36a0 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Wed, 15 Jul 2026 09:34:37 +0900 Subject: [PATCH 03/37] Revert "Merge branch 'fix/lapis_object1009_metadata' into dev/lapis_artifact1307" This reverts commit 3154dfb05ebd1dc5583fd5ccc21c6f1385a0c904, reversing changes made to cb0e2fd2614b36e5b6d93deccbb51cf9d6fa33ed. --- .../1009.arrow/hit_entity/from_non-player/as_target.mcfunction | 1 - .../1009.arrow/hit_entity/from_player/as_target.mcfunction | 3 --- .../data/asset/functions/object/1009.arrow/register.mcfunction | 1 - 3 files changed, 5 deletions(-) diff --git a/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_non-player/as_target.mcfunction b/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_non-player/as_target.mcfunction index aa625c5493..e59ef5b2c3 100644 --- a/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_non-player/as_target.mcfunction +++ b/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_non-player/as_target.mcfunction @@ -14,7 +14,6 @@ data modify storage api: Argument.Damage set from storage asset:context this.Damage data modify storage api: Argument.AttackType set from storage asset:context this.AttackType data modify storage api: Argument.ElementType set from storage asset:context this.ElementType - execute if data storage asset:context this.Metadata run data modify storage api: Argument.Metadata set from storage asset:context this.Metadata # execute if data storage asset:context this.AdditionalMPHeal run data modify storage api: Argument.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal # modifier をかける data modify storage api: Argument.MobUUID set from storage asset:context this.MobUUID diff --git a/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_player/as_target.mcfunction b/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_player/as_target.mcfunction index 887e31360f..45cf9e608e 100644 --- a/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_player/as_target.mcfunction +++ b/Asset/data/asset/functions/object/1009.arrow/hit_entity/from_player/as_target.mcfunction @@ -9,8 +9,6 @@ #declare score_holder $UserID #declare tag 1009.Player -tellraw @a {"storage":"asset:context","nbt":"this"} - # プレイヤー特定 execute store result score $UserID Temporary run data get storage asset:context this.UserID execute as @a if score @s UserID = $UserID Temporary run tag @s add 1009.Player @@ -21,7 +19,6 @@ tellraw @a {"storage":"asset:context","nbt":"this"} data modify storage api: Argument.Damage set from storage asset:context this.Damage data modify storage api: Argument.AttackType set from storage asset:context this.AttackType data modify storage api: Argument.ElementType set from storage asset:context this.ElementType - execute if data storage asset:context this.Metadata run data modify storage api: Argument.Metadata set from storage asset:context this.Metadata execute if data storage asset:context this.AdditionalMPHeal run data modify storage api: Argument.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal # modifier をかける execute as @a[tag=1009.Player] run function api:damage/modifier diff --git a/Asset/data/asset/functions/object/1009.arrow/register.mcfunction b/Asset/data/asset/functions/object/1009.arrow/register.mcfunction index b841828ed5..f589fccdb0 100644 --- a/Asset/data/asset/functions/object/1009.arrow/register.mcfunction +++ b/Asset/data/asset/functions/object/1009.arrow/register.mcfunction @@ -24,7 +24,6 @@ data modify storage asset:object Field.Damage set value 1 data modify storage asset:object Field.AttackType set value "Physical" data modify storage asset:object Field.ElementType set value "None" - # data modify storage asset:object Field.Metadata set value # data modify storage asset:object Field.AdditionalMPHeal set value # data modify storage asset:object Field.UserID set value # data modify storage asset:object Field.MobUUID set value From b94f92f2107165ac2e45d7c20263bf7d6057c5cf Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Wed, 15 Jul 2026 15:30:26 +0900 Subject: [PATCH 04/37] =?UTF-8?q?=E6=9B=B2=E5=B0=84=E5=A4=A7=E4=BD=93?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../1307.yumeori/trigger/3.main.mcfunction | 5 ++ .../trigger/curved_shot.mcfunction | 40 ++++++++++ .../trigger/neutral_arrow.mcfunction | 11 ++- .../0379.yumeori_count/_/register.mcfunction | 7 ++ .../0379.yumeori_count/register.mcfunction | 39 +++++++++ .../_/register.mcfunction | 7 ++ .../0380.yumeori_falling/register.mcfunction | 39 +++++++++ .../1176.arrow_of_yumeori/pre_hit/.mcfunction | 21 +++++ .../pre_hit/add_count.mcfunction | 11 +++ .../pre_hit/give_buff.mcfunction | 16 ++++ .../1176.arrow_of_yumeori/register.mcfunction | 2 +- .../detect_hit_entity/.mcfunction | 7 ++ .../range_over/.mcfunction | 18 +++++ .../register.mcfunction | 20 +++++ .../init/.mcfunction | 8 ++ .../register.mcfunction | 22 +++++ .../summon/.mcfunction | 8 ++ .../tick/.mcfunction | 13 +++ .../tick/set_pos/0.mcfunction | 17 ++++ .../tick/set_pos/1.set_y.m.mcfunction | 10 +++ .../tick/set_pos/2.select_target.mcfunction | 17 ++++ .../tick/set_pos/3.spread_pos.mcfunction | 22 +++++ .../set_pos/4.align_to_ground/.mcfunction | 9 +++ .../4.align_to_ground/recursive.mcfunction | 19 +++++ .../tick/set_pos/first/m.mcfunction | 8 ++ .../set_pos/first/select_target.mcfunction | 21 +++++ .../tick/summon.mcfunction | 13 +++ .../init/.mcfunction | 15 ++++ .../register.mcfunction | 21 +++++ .../summon/.mcfunction | 8 ++ .../tick/.mcfunction | 11 +++ .../tick/align_to_ground.mcfunction | 19 +++++ .../tick/attack.mcfunction | 33 ++++++++ .../tick/vfx.mcfunction | 80 +++++++++++++++++++ .../alias/1177/detect_hit_entity.mcfunction | 8 ++ .../object/alias/1177/range_over.mcfunction | 8 ++ .../object/alias/1177/register.mcfunction | 8 ++ .../object/alias/1178/init.mcfunction | 8 ++ .../object/alias/1178/register.mcfunction | 8 ++ .../object/alias/1178/summon.mcfunction | 8 ++ .../object/alias/1178/tick.mcfunction | 8 ++ .../object/alias/1179/init.mcfunction | 8 ++ .../object/alias/1179/register.mcfunction | 8 ++ .../object/alias/1179/summon.mcfunction | 8 ++ .../object/alias/1179/tick.mcfunction | 8 ++ .../asset/tags/functions/effect/register.json | 4 +- 46 files changed, 706 insertions(+), 3 deletions(-) create mode 100644 Asset/data/asset/functions/artifact/1307.yumeori/trigger/curved_shot.mcfunction create mode 100644 Asset/data/asset/functions/effect/0379.yumeori_count/_/register.mcfunction create mode 100644 Asset/data/asset/functions/effect/0379.yumeori_count/register.mcfunction create mode 100644 Asset/data/asset/functions/effect/0380.yumeori_falling/_/register.mcfunction create mode 100644 Asset/data/asset/functions/effect/0380.yumeori_falling/register.mcfunction create mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/add_count.mcfunction create mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/give_buff.mcfunction create mode 100644 Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/detect_hit_entity/.mcfunction create mode 100644 Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/.mcfunction create mode 100644 Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/register.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/init/.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/register.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/summon/.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction create mode 100644 Asset/data/asset/functions/object/1179.yumeori_falling_arrow/init/.mcfunction create mode 100644 Asset/data/asset/functions/object/1179.yumeori_falling_arrow/register.mcfunction create mode 100644 Asset/data/asset/functions/object/1179.yumeori_falling_arrow/summon/.mcfunction create mode 100644 Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/.mcfunction create mode 100644 Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/align_to_ground.mcfunction create mode 100644 Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction create mode 100644 Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/vfx.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1177/detect_hit_entity.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1177/range_over.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1177/register.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1178/init.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1178/register.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1178/summon.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1178/tick.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1179/init.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1179/register.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1179/summon.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1179/tick.mcfunction diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/3.main.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/3.main.mcfunction index e5c613dd80..6d7c619fa7 100644 --- a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/3.main.mcfunction +++ b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/3.main.mcfunction @@ -14,5 +14,10 @@ playsound item.trident.riptide_1 player @a ~ ~ ~ 1 1.8 # particle flash ~ ~ ~ 0 0 0 0 1 +# 曲射用バフがあるかつ、上を向いているなら曲射 + data modify storage api: Argument.ID set value 380 + function api:entity/mob/effect/get/from_id + execute if data storage api: Return.Effect if entity @s[x_rotation=-90..-35] run return run function asset:artifact/1307.yumeori/trigger/curved_shot + # 何もなければ普通の矢を発射 function asset:artifact/1307.yumeori/trigger/neutral_arrow diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/curved_shot.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/curved_shot.mcfunction new file mode 100644 index 0000000000..da229afd90 --- /dev/null +++ b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/curved_shot.mcfunction @@ -0,0 +1,40 @@ +#> asset:artifact/1307.yumeori/trigger/curved_shot +# +# +# +# @within function asset:artifact/1307.yumeori/trigger/3.main + +# バフを消費 + data modify storage api: Argument.ID set value 380 + function api:entity/mob/effect/remove/from_id + function api:entity/mob/effect/reset + +# 曲射の仕様メモ +# 上向きに発射された矢が射程限界で消えると、曲射が発動し、周囲の敵に矢を降らす +# つまり、途中でブロックに当たると不発する +# ただし、上向きの矢はentityに対してはヒット判定がない + +# 曲射のデータ設定 + # 1発辺りのダメージ + data modify storage api: Argument.FieldOverride.Damage set value 100 + # 本数 + data modify storage api: Argument.FieldOverride.Count set value 6 + # ディレイ + data modify storage api: Argument.FieldOverride.Delay set value 20 + + # 射程 + data modify storage api: Argument.FieldOverride.Range set value 50 + # 弾速 + data modify storage api: Argument.FieldOverride.Speed set value 8 + + # 座標も入力しておく + function api:data_get/pos + data modify storage api: Argument.FieldOverride.Pos.X set from storage api: Pos[0] + data modify storage api: Argument.FieldOverride.Pos.Y set from storage api: Pos[1] + data modify storage api: Argument.FieldOverride.Pos.Z set from storage api: Pos[2] + +# 召喚 + data modify storage api: Argument.ID set value 1177 + execute store result storage api: Argument.FieldOverride.UserID int 1 run scoreboard players get @s UserID + data modify storage api: Argument.FieldOverride.AdditionalMPHeal set from storage api: PersistentArgument.AdditionalMPHeal + execute anchored eyes positioned ^ ^ ^ run function api:object/summon diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/neutral_arrow.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/neutral_arrow.mcfunction index 3f73a4f75b..ca4fc25717 100644 --- a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/neutral_arrow.mcfunction +++ b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/neutral_arrow.mcfunction @@ -6,11 +6,20 @@ # 矢を召喚する # ダメージ - data modify storage api: Argument.FieldOverride.Damage set value 800 + data modify storage api: Argument.FieldOverride.Damage set value 200 # 射程 data modify storage api: Argument.FieldOverride.Range set value 50 # 弾速 data modify storage api: Argument.FieldOverride.Speed set value 8 + + # 連続ヒットの猶予 + data modify storage api: Argument.FieldOverride.Effect.Count.Duration set value 80 + # 曲射するためには何連続のヒットが必要か? + data modify storage api: Argument.FieldOverride.Effect.Count.MaxStack set value 3 + + # 曲射バフの効果時間 + data modify storage api: Argument.FieldOverride.Effect.CurveShot.Duration set value 200 + # 召喚 data modify storage api: Argument.ID set value 1176 execute store result storage api: Argument.FieldOverride.UserID int 1 run scoreboard players get @s UserID diff --git a/Asset/data/asset/functions/effect/0379.yumeori_count/_/register.mcfunction b/Asset/data/asset/functions/effect/0379.yumeori_count/_/register.mcfunction new file mode 100644 index 0000000000..b600eca597 --- /dev/null +++ b/Asset/data/asset/functions/effect/0379.yumeori_count/_/register.mcfunction @@ -0,0 +1,7 @@ +#> asset:effect/0379.yumeori_count/_/register +# +# +# +# @within tag/function asset:effect/register + +execute if data storage asset:context {id:379} run function asset:effect/0379.yumeori_count/register \ No newline at end of file diff --git a/Asset/data/asset/functions/effect/0379.yumeori_count/register.mcfunction b/Asset/data/asset/functions/effect/0379.yumeori_count/register.mcfunction new file mode 100644 index 0000000000..d6c6d4aeed --- /dev/null +++ b/Asset/data/asset/functions/effect/0379.yumeori_count/register.mcfunction @@ -0,0 +1,39 @@ +#> asset:effect/0379.yumeori_count/register +# +# Effectのデータを指定 +# +# @within function asset:effect/0379.yumeori_count/_/register + +# ExtendsSafe (boolean) (default = false) + # data modify storage asset:effect ExtendsSafe set value true +# ID (int) + data modify storage asset:effect ID set value 379 +# 名前 (TextComponentString) + data modify storage asset:effect Name set value '{"text":"夢織・計測"}' +# 説明文 (TextComponentString[]) + data modify storage asset:effect Description set value [] +# 効果時間 (int) (default = API || error) + # data modify storage asset:effect Duration set value +# スタック (int) (default = API || 1) + # data modify storage asset:effect Stack set value +# 効果時間の操作方法 (default = API || "replace") + # data modify storage asset:effect DurationOperation set value +# スタックの操作方法 (default = API || "replace") + data modify storage asset:effect StackOperation set value "add" +# 最大効果時間 (int) (default = 2147483647) + # data modify storage asset:effect MaxDuration set value +# 最大スタック (int) (default = 2147483647) + # data modify storage asset:effect MaxStack set value +# 悪い効果か否か (boolean) + data modify storage asset:effect IsBadEffect set value false +# 死亡時のエフェクトの処理 (default = "remove") + # data modify storage asset:effect ProcessOnDied set value +# 消すのに必要なレベル (int) (default = 1) + data modify storage asset:effect RequireClearLv set value 3 +# エフェクトをUIに表示するか (boolean) (default = true) + data modify storage asset:effect Visible set value false +# エフェクトのスタックををUIに表示するか (boolean) (default = true) + # data modify storage asset:effect StackVisible set value + +# フィールド + # data modify storage asset:effect Field set value {} diff --git a/Asset/data/asset/functions/effect/0380.yumeori_falling/_/register.mcfunction b/Asset/data/asset/functions/effect/0380.yumeori_falling/_/register.mcfunction new file mode 100644 index 0000000000..b1e63d8026 --- /dev/null +++ b/Asset/data/asset/functions/effect/0380.yumeori_falling/_/register.mcfunction @@ -0,0 +1,7 @@ +#> asset:effect/0380.yumeori_falling/_/register +# +# +# +# @within tag/function asset:effect/register + +execute if data storage asset:context {id:380} run function asset:effect/0380.yumeori_falling/register \ No newline at end of file diff --git a/Asset/data/asset/functions/effect/0380.yumeori_falling/register.mcfunction b/Asset/data/asset/functions/effect/0380.yumeori_falling/register.mcfunction new file mode 100644 index 0000000000..0e61bb6430 --- /dev/null +++ b/Asset/data/asset/functions/effect/0380.yumeori_falling/register.mcfunction @@ -0,0 +1,39 @@ +#> asset:effect/0380.yumeori_falling/register +# +# Effectのデータを指定 +# +# @within function asset:effect/0380.yumeori_falling/_/register + +# ExtendsSafe (boolean) (default = false) + # data modify storage asset:effect ExtendsSafe set value true +# ID (int) + data modify storage asset:effect ID set value 380 +# 名前 (TextComponentString) + data modify storage asset:effect Name set value '{"text":"降り注ぐ夢糸","color":"#91f9ab"}' +# 説明文 (TextComponentString[]) + data modify storage asset:effect Description set value ['{"text":"極光弓 夢織の曲射が使用可能になる","color":"white"}'] +# 効果時間 (int) (default = API || error) + # data modify storage asset:effect Duration set value +# スタック (int) (default = API || 1) + # data modify storage asset:effect Stack set value +# 効果時間の操作方法 (default = API || "replace") + # data modify storage asset:effect DurationOperation set value +# スタックの操作方法 (default = API || "replace") + # data modify storage asset:effect StackOperation set value +# 最大効果時間 (int) (default = 2147483647) + # data modify storage asset:effect MaxDuration set value +# 最大スタック (int) (default = 2147483647) + data modify storage asset:effect MaxStack set value 1 +# 悪い効果か否か (boolean) + data modify storage asset:effect IsBadEffect set value false +# 死亡時のエフェクトの処理 (default = "remove") + # data modify storage asset:effect ProcessOnDied set value +# 消すのに必要なレベル (int) (default = 1) + data modify storage asset:effect RequireClearLv set value 3 +# エフェクトをUIに表示するか (boolean) (default = true) + # data modify storage asset:effect Visible set value +# エフェクトのスタックををUIに表示するか (boolean) (default = true) + data modify storage asset:effect StackVisible set value false + +# フィールド + # data modify storage asset:effect Field set value {} diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/.mcfunction index 39a8bc90fd..2ac8fc7eb8 100644 --- a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/.mcfunction +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/.mcfunction @@ -3,3 +3,24 @@ # 継承先などから実行される処理 # # @within asset:object/alias/1176/pre_hit + +#> 継承元のtag +# @private + #declare tag 1009.Player + +# カウント用のエフェクトのスタックをチェック + data modify storage api: Argument.ID set value 379 + execute as @a[tag=1009.Player] run function api:entity/mob/effect/get/from_id + +# (Stack + 1 = MaxStack)か? + execute store result storage api: Return.Effect.Stack int -1 run data get storage api: Return.Effect.Stack -1.0000000001 + execute store result storage asset:temp Success byte 1 run data modify storage api: Return.Effect.Stack set from storage asset:context this.Effect.Count.MaxStack + +# 最大値なら曲射ができるようになるバフを付与 + execute if data storage asset:temp {Success:0b} as @a[tag=1009.Player] run function asset:object/1176.arrow_of_yumeori/pre_hit/give_buff + +# 最大値でないならカウント+1 + execute if data storage asset:temp {Success:1b} as @a[tag=1009.Player] run function asset:object/1176.arrow_of_yumeori/pre_hit/add_count + +# リセット + data remove storage asset:temp Success diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/add_count.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/add_count.mcfunction new file mode 100644 index 0000000000..da6ebb0a87 --- /dev/null +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/add_count.mcfunction @@ -0,0 +1,11 @@ +#> asset:object/1176.arrow_of_yumeori/pre_hit/add_count +# +# +# +# @within function asset:object/1176.arrow_of_yumeori/pre_hit/ + +# カウント用のバフを付与 + data modify storage api: Argument.ID set value 379 + data modify storage api: Argument.Duration set from storage asset:context this.Effect.Count.Duration + function api:entity/mob/effect/give + function api:entity/mob/effect/reset diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/give_buff.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/give_buff.mcfunction new file mode 100644 index 0000000000..bbb73f47a8 --- /dev/null +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/pre_hit/give_buff.mcfunction @@ -0,0 +1,16 @@ +#> asset:object/1176.arrow_of_yumeori/pre_hit/give_buff +# +# +# +# @within function asset:object/1176.arrow_of_yumeori/pre_hit/ + +# 曲射用のバフを付与 + data modify storage api: Argument.ID set value 380 + data modify storage api: Argument.Duration set from storage asset:context this.Effect.CurveShot.Duration + function api:entity/mob/effect/give + function api:entity/mob/effect/reset + +# カウント用バフを削除 + data modify storage api: Argument.ID set value 379 + function api:entity/mob/effect/remove/from_id + function api:entity/mob/effect/reset diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/register.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/register.mcfunction index 14ceabe2e1..bc89b6a480 100644 --- a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/register.mcfunction +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/register.mcfunction @@ -8,7 +8,7 @@ data modify storage asset:object Extends append value 1009 function asset:object/extends # 他のObjectに継承されることを許可するか (boolean) (オプション) - # data modify storage asset:object ExtendsSafe set value + data modify storage asset:object ExtendsSafe set value true # 継承されることを前提とした、抽象的なObjectであるかどうか(boolean) data modify storage asset:object IsAbstract set value false # Tickするかどうか(boolean) (オプション) diff --git a/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/detect_hit_entity/.mcfunction b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/detect_hit_entity/.mcfunction new file mode 100644 index 0000000000..b09d2a999c --- /dev/null +++ b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/detect_hit_entity/.mcfunction @@ -0,0 +1,7 @@ +#> asset:object/1177.arrow_of_yumeori_upper/detect_hit_entity/ +# +# 継承先などから実行される処理 +# +# @within asset:object/alias/1177/detect_hit_entity + +# entityに対するヒット判定を消すために何もしない diff --git a/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/.mcfunction b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/.mcfunction new file mode 100644 index 0000000000..e0ca1018d1 --- /dev/null +++ b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/.mcfunction @@ -0,0 +1,18 @@ +#> asset:object/1177.arrow_of_yumeori_upper/range_over/ +# +# 継承先などから実行される処理 +# +# @within asset:object/alias/1177/range_over + +# 消滅 + function asset:object/call.m {method:"kill"} + +# 矢を降らす用のentityを召喚 + data modify storage api: Argument.ID set value 1178 + data modify storage api: Argument.FieldOverride.Damage set from storage asset:context this.Damage + data modify storage api: Argument.FieldOverride.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal + data modify storage api: Argument.FieldOverride.UserID set from storage asset:context this.UserID + data modify storage api: Argument.FieldOverride.Count set from storage asset:context this.Count + data modify storage api: Argument.FieldOverride.Delay set from storage asset:context this.Delay + data modify storage api: Argument.FieldOverride.Pos set from storage asset:context this.Pos + function api:object/summon diff --git a/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/register.mcfunction b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/register.mcfunction new file mode 100644 index 0000000000..4e3dee136b --- /dev/null +++ b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/register.mcfunction @@ -0,0 +1,20 @@ +#> asset:object/1177.arrow_of_yumeori_upper/register +# +# Objectのデータを指定 +# +# @within function asset:object/alias/1177/register + +# 継承(オプション) + data modify storage asset:object Extends append value 1176 + 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 1177 +# フィールド(オプション) + # data modify storage asset:object Field.myValue set value diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/init/.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/init/.mcfunction new file mode 100644 index 0000000000..c7e43d93c1 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/init/.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/init/ +# +# Objectのinit時の処理 +# +# @within asset:object/alias/1178/init + +# 向き調整 + tp @s ~ ~ ~ ~ ~ diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/register.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/register.mcfunction new file mode 100644 index 0000000000..cabc0587a0 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/register.mcfunction @@ -0,0 +1,22 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/register +# +# Objectのデータを指定 +# +# @within function asset:object/alias/1178/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 1178 +# フィールド(オプション) + data modify storage asset:object Field.Interval._ set value 2 + data modify storage asset:object Field.Interval.Max set value 2 + data modify storage asset:object Field.FirstShot set value true diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/summon/.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/summon/.mcfunction new file mode 100644 index 0000000000..9f6dd4d3c5 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/summon/.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/summon/ +# +# Object召喚処理の呼び出し時に実行されるfunction +# +# @within asset:object/alias/1178/summon + +# 元となるEntityを召喚する + summon marker ~ ~ ~ {Tags:["ObjectInit"]} diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/.mcfunction new file mode 100644 index 0000000000..33e1926415 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/.mcfunction @@ -0,0 +1,13 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/ +# +# Objectのtick時の処理 +# +# @within asset:object/alias/1178/tick + +# 攻撃間隔 + execute store result storage asset:context this.Interval._ int 0.9999999999 run data get storage asset:context this.Interval._ + execute if data storage asset:context this.Interval{_:0} run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/0 + execute if data storage asset:context this.Interval{_:0} run data modify storage asset:context this.Interval._ set from storage asset:context this.Interval.Max + +# 0なら消える + execute if data storage asset:context this{Count:0} run kill @s diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction new file mode 100644 index 0000000000..19dae6f865 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction @@ -0,0 +1,17 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/0 +# +# +# +# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/ + +# デクリメント + execute store result storage asset:context this.Count int 0.9999999999 run data get storage asset:context this.Count + + # tellraw @a {"storage":"asset:context","nbt":"this"} + +# 1発目に限り、前方の敵を優先する + execute if data storage asset:context this{FirstShot:true} run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m with storage asset:context this.Pos + execute if data storage asset:context this{FirstShot:true} run return run data modify storage asset:context this.FirstShot set value false + +# 範囲内のランダムな敵の位置で攻撃 + function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m with storage asset:context this.Pos diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m.mcfunction new file mode 100644 index 0000000000..cddd5830f0 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m.mcfunction @@ -0,0 +1,10 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m +# +# +# +# @within function +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/0 +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target + +# 使用地点のy座標周辺でターゲットを選択する + $execute positioned ~ $(Y) ~ run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target.mcfunction new file mode 100644 index 0000000000..d97db79716 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target.mcfunction @@ -0,0 +1,17 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target +# +# +# +# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m + +# 円柱範囲内からランダムな敵1体を選ぶ + data modify storage lib: Argument.BoundingCylinder.Radius set value 8.0d + data modify storage lib: Argument.BoundingCylinder.Height set value 16.25d + data modify storage lib: Argument.BoundingCylinder.Selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..16]" + execute positioned ~ ~-8.25 ~ run function lib:bounding_cylinder/ + +# + execute at @e[type=#lib:living_without_player,tag=BoundingCylinder,distance=..16,sort=random,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos + +# リセット + tag @e[type=#lib:living_without_player,tag=BoundingCylinder,distance=..16] remove BoundingCylinder diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos.mcfunction new file mode 100644 index 0000000000..e34aeb0433 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos.mcfunction @@ -0,0 +1,22 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos +# +# +# +# @within function +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target + +#> Private +# @private + #declare tag SpreadMarker + +# 拡散 + summon marker ~ ~ ~ {Tags:["SpreadMarker"]} + data modify storage lib: Argument.Bounds set value [[1.5d,1.5d],[0d,0d],[1.5d,1.5d]] + execute as @e[type=marker,tag=SpreadMarker,distance=..0.01] run function lib:spread_entity/ + +# マーカーの位置で出来る限り地面に近づける + execute at @e[type=marker,tag=SpreadMarker,distance=..10] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/ + +# リセット + kill @e[type=marker,tag=SpreadMarker,distance=..10] diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/.mcfunction new file mode 100644 index 0000000000..753183cdd8 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/.mcfunction @@ -0,0 +1,9 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/ +# +# +# +# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos + +# + data modify storage asset:temp RecursiveLimit set value 10 + function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive.mcfunction new file mode 100644 index 0000000000..f50044f256 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive.mcfunction @@ -0,0 +1,19 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive +# +# +# +# @within function +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/ +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive + +# デクリメント + execute store result storage asset:temp RecursiveLimit int 0.9999999999 run data get storage asset:temp RecursiveLimit + +# 各条件を満たした際、攻撃してreturnする + # 再帰上限 + execute if data storage asset:temp {RecursiveLimit:0} run return run function asset:object/1178.yumeori_falling_arrow_manager/tick/summon + # ブロックに接触 + execute unless block ~ ~-0.5 ~ #lib:no_collision/without_fluid run return run function asset:object/1178.yumeori_falling_arrow_manager/tick/summon + +# 再帰 + execute positioned ~ ~-0.5 ~ run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction new file mode 100644 index 0000000000..002091a2e0 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m +# +# +# +# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/0 + +# 実行地点を使用時点の位置にする + $execute positioned $(X) $(Y) $(Z) run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target.mcfunction new file mode 100644 index 0000000000..aa2824b1bd --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target.mcfunction @@ -0,0 +1,21 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target +# +# +# +# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/m + +# rotatableDXYZで判定(壁貫通は考慮しない) + data modify storage lib: Args.dx set value 3 + data modify storage lib: Args.dy set value 10 + data modify storage lib: Args.dz set value 20 + data modify storage lib: Args.selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..16]" + execute rotated ~ 0 positioned ^ ^5 ^10 run function lib:rotatable_dxyz/m with storage lib: Args + +# DXYZのtag持ちの中で一番近い奴をターゲットにする + execute at @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos + +# DXYZがいなければ通常通りターゲッティングする + execute unless entity @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m with storage asset:context this.Pos + +# リセット + tag @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32] remove DXYZ diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction new file mode 100644 index 0000000000..1aa4c83092 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction @@ -0,0 +1,13 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/summon +# +# +# +# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive + +# 攻撃用Object召喚 + data modify storage api: Argument.ID set value 1179 + data modify storage api: Argument.FieldOverride.Damage set from storage asset:context this.Damage + data modify storage api: Argument.FieldOverride.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal + data modify storage api: Argument.FieldOverride.UserID set from storage asset:context this.UserID + data modify storage api: Argument.FieldOverride.Delay set from storage asset:context this.Delay + function api:object/summon diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/init/.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/init/.mcfunction new file mode 100644 index 0000000000..44315718c1 --- /dev/null +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/init/.mcfunction @@ -0,0 +1,15 @@ +#> asset:object/1179.yumeori_falling_arrow/init/ +# +# Objectのinit時の処理 +# +# @within asset:object/alias/1179/init + + particle electric_spark ~ ~ ~ 0 0 0 1 50 + particle firework ~ ~1 ~ 0 0 0 0 1 + particle firework ~ ~2 ~ 0 0 0 0 1 + particle firework ~ ~3 ~ 0 0 0 0 1 + particle firework ~ ~4 ~ 0 0 0 0 1 + particle firework ~ ~5 ~ 0 0 0 0 1 + particle firework ~ ~6 ~ 0 0 0 0 1 + particle firework ~ ~7 ~ 0 0 0 0 1 + playsound entity.experience_orb.pickup neutral @a ~ ~ ~ 1 2 diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/register.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/register.mcfunction new file mode 100644 index 0000000000..2a84c8fc6c --- /dev/null +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/register.mcfunction @@ -0,0 +1,21 @@ +#> asset:object/1179.yumeori_falling_arrow/register +# +# Objectのデータを指定 +# +# @within function asset:object/alias/1179/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 1179 +# フィールド(オプション) + data modify storage asset:object Field.Delay set value 20 + data modify storage asset:object Field.RecursiveLimit set value 10 diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/summon/.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/summon/.mcfunction new file mode 100644 index 0000000000..45ed3509ff --- /dev/null +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/summon/.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/1179.yumeori_falling_arrow/summon/ +# +# Object召喚処理の呼び出し時に実行されるfunction +# +# @within asset:object/alias/1179/summon + +# 元となるEntityを召喚する + summon marker ~ ~ ~ {Tags:["ObjectInit"]} diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/.mcfunction new file mode 100644 index 0000000000..0dcf90eb75 --- /dev/null +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/.mcfunction @@ -0,0 +1,11 @@ +#> asset:object/1179.yumeori_falling_arrow/tick/ +# +# Objectのtick時の処理 +# +# @within asset:object/alias/1179/tick + +# ディレイ + execute store result storage asset:context this.Delay int 0.9999999999 run data get storage asset:context this.Delay + +# + execute if data storage asset:context this{Delay:0} run function asset:object/1179.yumeori_falling_arrow/tick/align_to_ground diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/align_to_ground.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/align_to_ground.mcfunction new file mode 100644 index 0000000000..9149e985f3 --- /dev/null +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/align_to_ground.mcfunction @@ -0,0 +1,19 @@ +#> asset:object/1179.yumeori_falling_arrow/tick/align_to_ground +# +# +# +# @within function +# asset:object/1179.yumeori_falling_arrow/tick/ +# asset:object/1179.yumeori_falling_arrow/tick/align_to_ground + +# デクリメント + execute store result storage asset:context this.RecursiveLimit int 0.9999999999 run data get storage asset:context this.RecursiveLimit + +# 各条件を満たした際、攻撃してreturnする + # 再帰上限 + execute if data storage asset:context this{RecursiveLimit:0} run return run function asset:object/1179.yumeori_falling_arrow/tick/attack + # ブロックに接触 + execute unless block ~ ~-0.5 ~ #lib:no_collision/without_fluid run return run function asset:object/1179.yumeori_falling_arrow/tick/attack + +# 再帰 + execute positioned ~ ~-0.5 ~ run function asset:object/1179.yumeori_falling_arrow/tick/align_to_ground diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction new file mode 100644 index 0000000000..3dfb15d7ea --- /dev/null +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction @@ -0,0 +1,33 @@ +#> asset:object/1179.yumeori_falling_arrow/tick/attack +# +# +# +# @within function asset:object/1179.yumeori_falling_arrow/tick/align_to_ground + +#> Private +# @private + #declare score_holder $UserID + +# 演出 + playsound entity.arrow.hit neutral @a ~ ~ ~ 1 1 + playsound item.trident.hit_ground neutral @a ~ ~ ~ 1 1 + playsound entity.evoker.prepare_summon neutral @a ~ ~ ~ 0.8 2 + execute rotated ~ -90 run function asset:object/1179.yumeori_falling_arrow/tick/vfx + +# どうせなら縦に広い判定をとっておく + +# ダメージ + data modify storage api: Argument.Damage set from storage asset:context this.Damage + data modify storage api: Argument.AttackType set value "Magic" + data modify storage api: Argument.ElementType set value "Thunder" + data modify storage api: Argument.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal + execute store result score $UserID Temporary run data get storage asset:context this.UserID + execute as @a if score @s UserID = $UserID Temporary run function api:damage/modifier + execute positioned ~-1 ~-0.5 ~-1 as @e[type=#lib:living_without_player,tag=!Uninterferable,dx=2,dy=2,dz=2,sort=random,limit=1] run function api:damage/ + function api:damage/reset + +# + scoreboard players reset $UserID Temporary + +# + kill @s diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/vfx.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/vfx.mcfunction new file mode 100644 index 0000000000..5c92123c48 --- /dev/null +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/vfx.mcfunction @@ -0,0 +1,80 @@ +#> asset:object/1179.yumeori_falling_arrow/tick/vfx +# +# +# +# @within function asset:object/1179.yumeori_falling_arrow/tick/attack + + # [ImportKey]: NobwRALgngDgpmAXGANgSwHYIDRgK55oAmSYAjAGxEAcZAnHQMYC01ADAExHMAsAhnR6sARnDbMA7AFYp1RhSlMpRKWFwY+AWwTJAW74ACMmrAw+AJy0BnJOEYB7PBghIpbXADMzdzTbAA3PhQ8HXAADyQ3MCgIgF8Y3Ag7XwCgkLBwxEjoxDIpONw7d3dLOGdM3FEALzQ4MwjcNEsAIThq2oBRAEc8QJQoAGVTRjgSRHdAkriAXSA_3 + # 線 1 + particle dust 100000000 1 100000000 2 ^0 ^ ^0 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^0.30612 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^0.61224 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^0.91837 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^1.22449 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^1.53061 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^1.83673 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^2.14286 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^2.44898 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^2.7551 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^3.06122 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^3.36735 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^3.67347 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^3.97959 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^4.28571 0.1 0.1 0.1 0 2 + particle dust 100000000 1 100000000 2 ^0 ^ ^4.59184 0.1 0.1 0.1 0 2 + particle dust 100000000 1 1 2 ^0 ^ ^4.89796 0.1 0.1 0.1 0 2 + particle dust 100000000 1 1 2 ^0 ^ ^5.20408 0.1 0.1 0.1 0 2 + particle dust 100000000 1 1 2 ^0 ^ ^5.5102 0.1 0.1 0.1 0 2 + particle dust 100000000 1 1 2 ^0 ^ ^5.81633 0.1 0.1 0.1 0 2 + particle dust 100000000 1 1 2 ^0 ^ ^6.12245 0.1 0.1 0.1 0 2 + particle dust 100000000 1 1 2 ^0 ^ ^6.42857 0.1 0.1 0.1 0 2 + particle dust 100000000 1 1 2 ^0 ^ ^6.73469 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^7.04082 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^7.34694 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^7.65306 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^7.95918 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^8.26531 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^8.57143 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^8.87755 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^9.18367 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^9.4898 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^9.79592 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^10.10204 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^10.40816 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^10.71429 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^11.02041 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^11.32653 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^11.63265 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^11.93878 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^12.2449 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^12.55102 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^12.85714 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^13.16327 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^13.46939 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^13.77551 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^14.08163 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^14.38776 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^14.69388 0.1 0.1 0.1 0 2 + particle dust 100000000 100000000 1 2 ^0 ^ ^15 0.1 0.1 0.1 0 2 + # [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmAJykCGArDQCwAcA7ALQCMARnDe4wBspAMztuzThwAM05pW7SUNGgCZSqsAQB2NALYJkgMMUABJy1gYNDPoDOScCgD2hbRCSrpBFHDdwMDmAAbjTYhIbgAB5IXmBQMQC+CQQ2pGiE9oiqBLYQ1u6IsXDY2GgwtoacsilOeRCGsWi2AKIlZRXNAI6EodhQAMpWPuSIAGahFUkAukA_3 + # 円 1 + particle dust 100000000 1 100000000 2 ~0 ~ ~-2 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~0.61803 ~ ~-1.90211 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~1.17557 ~ ~-1.61803 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~1.61803 ~ ~-1.17557 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~1.90211 ~ ~-0.61803 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~2 ~ ~0 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~1.90211 ~ ~0.61803 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~1.61803 ~ ~1.17557 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~1.17557 ~ ~1.61803 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~0.61803 ~ ~1.90211 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~0 ~ ~2 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~-0.61803 ~ ~1.90211 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~-1.17557 ~ ~1.61803 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~-1.61803 ~ ~1.17557 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~-1.90211 ~ ~0.61803 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~-2 ~ ~0 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~-1.90211 ~ ~-0.61803 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~-1.61803 ~ ~-1.17557 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~-1.17557 ~ ~-1.61803 0 0 0 0 1 + particle dust 100000000 1 100000000 2 ~-0.61803 ~ ~-1.90211 0 0 0 0 1 diff --git a/Asset/data/asset/functions/object/alias/1177/detect_hit_entity.mcfunction b/Asset/data/asset/functions/object/alias/1177/detect_hit_entity.mcfunction new file mode 100644 index 0000000000..9180a98378 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1177/detect_hit_entity.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1177/detect_hit_entity +# +# メソッド処理のエイリアス +# +# @within asset_manager:object/call_method/run_method.m + +# 元のメソッド処理を呼び出す + function asset:object/1177.arrow_of_yumeori_upper/detect_hit_entity/ diff --git a/Asset/data/asset/functions/object/alias/1177/range_over.mcfunction b/Asset/data/asset/functions/object/alias/1177/range_over.mcfunction new file mode 100644 index 0000000000..ce59544ca6 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1177/range_over.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1177/range_over +# +# メソッド処理のエイリアス +# +# @within asset_manager:object/call_method/run_method.m + +# 元のメソッド処理を呼び出す + function asset:object/1177.arrow_of_yumeori_upper/range_over/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1177/register.mcfunction b/Asset/data/asset/functions/object/alias/1177/register.mcfunction new file mode 100644 index 0000000000..bde607c15c --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1177/register.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1177/register +# +# Objectのデータ指定処理のエイリアス +# +# @within asset_manager:object/summon/register.m + +# 元の登録処理を呼び出す + function asset:object/1177.arrow_of_yumeori_upper/register \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1178/init.mcfunction b/Asset/data/asset/functions/object/alias/1178/init.mcfunction new file mode 100644 index 0000000000..3aaaaaed60 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1178/init.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1178/init +# +# Init処理のエイリアス +# +# @within asset_manager:object/init/init.m + +# 元のInit処理を呼び出す + function asset:object/1178.yumeori_falling_arrow_manager/init/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1178/register.mcfunction b/Asset/data/asset/functions/object/alias/1178/register.mcfunction new file mode 100644 index 0000000000..36d5769dee --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1178/register.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1178/register +# +# Objectのデータ指定処理のエイリアス +# +# @within asset_manager:object/summon/register.m + +# 元の登録処理を呼び出す + function asset:object/1178.yumeori_falling_arrow_manager/register diff --git a/Asset/data/asset/functions/object/alias/1178/summon.mcfunction b/Asset/data/asset/functions/object/alias/1178/summon.mcfunction new file mode 100644 index 0000000000..f1951c7c39 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1178/summon.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1178/summon +# +# Object召喚処理のエイリアス +# +# @within asset_manager:object/summon/summon.m + +# 元の召喚処理を呼び出す + function asset:object/1178.yumeori_falling_arrow_manager/summon/ diff --git a/Asset/data/asset/functions/object/alias/1178/tick.mcfunction b/Asset/data/asset/functions/object/alias/1178/tick.mcfunction new file mode 100644 index 0000000000..03d185f82c --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1178/tick.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1178/tick +# +# Tick時処理のエイリアス +# +# @within asset_manager:object/tick/tick.m + +# 元のTick処理を呼び出す + function asset:object/1178.yumeori_falling_arrow_manager/tick/ diff --git a/Asset/data/asset/functions/object/alias/1179/init.mcfunction b/Asset/data/asset/functions/object/alias/1179/init.mcfunction new file mode 100644 index 0000000000..cac3b5215d --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1179/init.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1179/init +# +# Init処理のエイリアス +# +# @within asset_manager:object/init/init.m + +# 元のInit処理を呼び出す + function asset:object/1179.yumeori_falling_arrow/init/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1179/register.mcfunction b/Asset/data/asset/functions/object/alias/1179/register.mcfunction new file mode 100644 index 0000000000..12ab5d3017 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1179/register.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1179/register +# +# Objectのデータ指定処理のエイリアス +# +# @within asset_manager:object/summon/register.m + +# 元の登録処理を呼び出す + function asset:object/1179.yumeori_falling_arrow/register \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1179/summon.mcfunction b/Asset/data/asset/functions/object/alias/1179/summon.mcfunction new file mode 100644 index 0000000000..34f89df252 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1179/summon.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1179/summon +# +# Object召喚処理のエイリアス +# +# @within asset_manager:object/summon/summon.m + +# 元の召喚処理を呼び出す + function asset:object/1179.yumeori_falling_arrow/summon/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1179/tick.mcfunction b/Asset/data/asset/functions/object/alias/1179/tick.mcfunction new file mode 100644 index 0000000000..f9f505b21b --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1179/tick.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1179/tick +# +# Tick時処理のエイリアス +# +# @within asset_manager:object/tick/tick.m + +# 元のTick処理を呼び出す + function asset:object/1179.yumeori_falling_arrow/tick/ \ No newline at end of file diff --git a/Asset/data/asset/tags/functions/effect/register.json b/Asset/data/asset/tags/functions/effect/register.json index 78c10d4140..75735e26f1 100644 --- a/Asset/data/asset/tags/functions/effect/register.json +++ b/Asset/data/asset/tags/functions/effect/register.json @@ -1,5 +1,7 @@ { "values": [ + "asset:effect/0380.yumeori_falling/_/register", + "asset:effect/0379.yumeori_count/_/register", "asset:effect/0371.tsukimi/_/register", "asset:effect/0355.heart_gap/_/register", "asset:effect/0354.protection_of_courage/_/register", @@ -182,4 +184,4 @@ "asset:effect/0007.defense_base_debuff/_/register", "asset:effect/0258.spirit_melody/_/register" ] -} +} \ No newline at end of file From 6ea661aa62efbaf1c96e4832626ffccb70434852 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Wed, 15 Jul 2026 16:51:40 +0900 Subject: [PATCH 05/37] =?UTF-8?q?=E8=AA=BF=E6=95=B4=E7=8F=AD=E5=90=91?= =?UTF-8?q?=E3=81=91=E3=83=A1=E3=83=A2=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../artifact/1307.yumeori/trigger/curved_shot.mcfunction | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/curved_shot.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/curved_shot.mcfunction index da229afd90..bf45d9e3bb 100644 --- a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/curved_shot.mcfunction +++ b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/curved_shot.mcfunction @@ -9,10 +9,11 @@ function api:entity/mob/effect/remove/from_id function api:entity/mob/effect/reset -# 曲射の仕様メモ +# 調整班への曲射の仕様メモ # 上向きに発射された矢が射程限界で消えると、曲射が発動し、周囲の敵に矢を降らす # つまり、途中でブロックに当たると不発する # ただし、上向きの矢はentityに対してはヒット判定がない +# 1発目は前方の敵を優先して狙うが、2発目以降は周囲のランダムな敵を狙う。要するに広域乱射 # 曲射のデータ設定 # 1発辺りのダメージ From 77f91de0daae643c0b955779f4fe17b79d4f2b3b Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Wed, 15 Jul 2026 16:51:47 +0900 Subject: [PATCH 06/37] =?UTF-8?q?=E3=83=86=E3=82=AD=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=82=92=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../artifact/1307.yumeori/give/2.give.mcfunction | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/give/2.give.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/give/2.give.mcfunction index 9feb214f31..8b764c5a91 100644 --- a/Asset/data/asset/functions/artifact/1307.yumeori/give/2.give.mcfunction +++ b/Asset/data/asset/functions/artifact/1307.yumeori/give/2.give.mcfunction @@ -15,7 +15,7 @@ # 神器の名前 (TextComponentString) data modify storage asset:artifact Name set value '{"text":"極光弓 夢織","color":"#91f9ab"}' # 神器の説明文 (TextComponentString[]) - data modify storage asset:artifact Lore set value [] + data modify storage asset:artifact Lore set value ['{"text":"矢を3発命中させると曲射が可能になり"}','{"text":"その状態で上を向いて発射することで敵に矢の雨を降り注がせる"}','{"text":"オーロラの天使の持っていた弓","color":"gray"}','{"text":"その天衣の弦から放たれた矢は寒空を貫き降り注ぐ","color":"gray"}'] # 消費アイテム ({Item: TextComponent, Count: int, Extra?: TextComponent}) (オプション) data modify storage asset:artifact ConsumeItem.Item set value '{"translate":"item.minecraft.arrow"}' data modify storage asset:artifact ConsumeItem.Count set value 1 @@ -29,7 +29,7 @@ # 神器の発動条件 (TextComponentString) (オプション) data modify storage asset:artifact Condition set value '{"text":"最大まで引き絞る"}' # 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション) - # data modify storage asset:artifact AttackInfo.Damage set value [0,0] + data modify storage asset:artifact AttackInfo.Damage set value "200 / 100x6" # 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション) data modify storage asset:artifact AttackInfo.AttackType set value [Magic] # 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション) @@ -37,9 +37,9 @@ # 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション) # data modify storage asset:artifact AttackInfo.BypassResist set value # 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション) - data modify storage asset:artifact AttackInfo.IsRangeAttack set value "condition" + data modify storage asset:artifact AttackInfo.IsRangeAttack set value "never" # 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション) - data modify storage asset:artifact AttackInfo.AttackRange set value 20 + data modify storage asset:artifact AttackInfo.AttackRange set value 25 # MP消費量 (int) # data modify storage asset:artifact MPCost set value # MP必要量 (int) (オプション) @@ -49,8 +49,8 @@ # 神器のクールダウン (int) (オプション) # data modify storage asset:artifact LocalCooldown set value # 種別クールダウン ({Type: string, Duration: int}) (オプション) - # data modify storage asset:artifact TypeCooldown.Type set value - # data modify storage asset:artifact TypeCooldown.Duration set value + data modify storage asset:artifact TypeCooldown.Type set value "longRange" + data modify storage asset:artifact TypeCooldown.Duration set value 20 # グローバルクールダウン (int) (オプション) # data modify storage asset:artifact SpecialCooldown set value # クールダウンによる使用不可のメッセージを非表示にするか否か (boolean) (オプション) From 7fadde7698f9c2ee2f3f203660bfede2add733be Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Wed, 15 Jul 2026 16:55:58 +0900 Subject: [PATCH 07/37] =?UTF-8?q?=E8=AC=8E=E3=81=AEalias=E3=82=92=E5=89=8A?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Asset/data/asset/functions/object/alias/1176/.mcfunction | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 Asset/data/asset/functions/object/alias/1176/.mcfunction diff --git a/Asset/data/asset/functions/object/alias/1176/.mcfunction b/Asset/data/asset/functions/object/alias/1176/.mcfunction deleted file mode 100644 index 346b6dfc9c..0000000000 --- a/Asset/data/asset/functions/object/alias/1176/.mcfunction +++ /dev/null @@ -1,8 +0,0 @@ -#> asset:object/alias/1176/ -# -# メソッド処理のエイリアス -# -# @within asset_manager:object/call_method/run_method.m - -# 元のメソッド処理を呼び出す - function asset:object/1176.arrow_of_yumeori// \ No newline at end of file From 762f179162cda7a9dd795964aa7b56411de1081e Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Wed, 15 Jul 2026 17:09:31 +0900 Subject: [PATCH 08/37] =?UTF-8?q?=E3=82=A8=E3=82=AF=E3=83=AC=E3=83=BC?= =?UTF-8?q?=E3=83=AB=E3=81=AE=E3=83=89=E3=83=AD=E3=83=83=E3=83=97=E3=81=AB?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../object/2195.eclael_death_animation/tick/drop.mcfunction | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Asset/data/asset/functions/object/2195.eclael_death_animation/tick/drop.mcfunction b/Asset/data/asset/functions/object/2195.eclael_death_animation/tick/drop.mcfunction index 1e5d049059..3156d0f5df 100644 --- a/Asset/data/asset/functions/object/2195.eclael_death_animation/tick/drop.mcfunction +++ b/Asset/data/asset/functions/object/2195.eclael_death_animation/tick/drop.mcfunction @@ -8,3 +8,7 @@ data modify storage api: Argument.ID set value 1034 data modify storage api: Argument.Important set value true function api:artifact/spawn/from_id + + data modify storage api: Argument.ID set value 1307 + data modify storage api: Argument.Important set value true + function api:artifact/spawn/from_id From 849220440c51f7987521598a0f2e4fe941d17519 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Wed, 15 Jul 2026 17:14:04 +0900 Subject: [PATCH 09/37] =?UTF-8?q?=E9=99=8D=E4=B8=8B=E5=87=A6=E7=90=86?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tick/set_pos/3.spread_pos.mcfunction | 2 +- .../set_pos/4.align_to_ground/.mcfunction | 9 --------- .../4.align_to_ground/recursive.mcfunction | 19 ------------------- .../tick/summon.mcfunction | 2 +- 4 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/.mcfunction delete mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive.mcfunction diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos.mcfunction index e34aeb0433..e9537bf680 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos.mcfunction @@ -16,7 +16,7 @@ execute as @e[type=marker,tag=SpreadMarker,distance=..0.01] run function lib:spread_entity/ # マーカーの位置で出来る限り地面に近づける - execute at @e[type=marker,tag=SpreadMarker,distance=..10] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/ + execute at @e[type=marker,tag=SpreadMarker,distance=..10] run function asset:object/1178.yumeori_falling_arrow_manager/tick/summon # リセット kill @e[type=marker,tag=SpreadMarker,distance=..10] diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/.mcfunction deleted file mode 100644 index 753183cdd8..0000000000 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/.mcfunction +++ /dev/null @@ -1,9 +0,0 @@ -#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/ -# -# -# -# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos - -# - data modify storage asset:temp RecursiveLimit set value 10 - function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive.mcfunction deleted file mode 100644 index f50044f256..0000000000 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive.mcfunction +++ /dev/null @@ -1,19 +0,0 @@ -#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive -# -# -# -# @within function -# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/ -# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive - -# デクリメント - execute store result storage asset:temp RecursiveLimit int 0.9999999999 run data get storage asset:temp RecursiveLimit - -# 各条件を満たした際、攻撃してreturnする - # 再帰上限 - execute if data storage asset:temp {RecursiveLimit:0} run return run function asset:object/1178.yumeori_falling_arrow_manager/tick/summon - # ブロックに接触 - execute unless block ~ ~-0.5 ~ #lib:no_collision/without_fluid run return run function asset:object/1178.yumeori_falling_arrow_manager/tick/summon - -# 再帰 - execute positioned ~ ~-0.5 ~ run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction index 1aa4c83092..761f2447c7 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction @@ -2,7 +2,7 @@ # # # -# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/4.align_to_ground/recursive +# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos # 攻撃用Object召喚 data modify storage api: Argument.ID set value 1179 From 559b92c0b90fe4385f64eb875af1407a12938e0a Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Fri, 17 Jul 2026 20:26:39 +0900 Subject: [PATCH 10/37] =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8index.d?= =?UTF-8?q?=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../artifact/1307.yumeori/trigger/_index.d.mcfunction | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 Asset/data/asset/functions/artifact/1307.yumeori/trigger/_index.d.mcfunction diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/_index.d.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/_index.d.mcfunction deleted file mode 100644 index 5378df81f0..0000000000 --- a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/_index.d.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -#> asset:artifact/1307.yumeori/trigger/_index.d -# @private - -#> tag -# @within function asset:artifact/1307.yumeori/trigger/** - #declare tag From 863981cc1634bf29cbb2577e1223c44ae4ef2907 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Fri, 17 Jul 2026 21:15:42 +0900 Subject: [PATCH 11/37] =?UTF-8?q?=E9=99=8D=E3=81=A3=E3=81=A6=E3=81=8F?= =?UTF-8?q?=E3=82=8B=E5=88=A4=E5=AE=9A=E3=82=92=E3=81=8B=E3=81=AA=E3=82=8A?= =?UTF-8?q?=E5=BA=83=E3=82=81=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../range_over/.mcfunction | 11 ++-------- .../range_over/summon.m.mcfunction | 14 +++++++++++++ .../init/.mcfunction | 3 +++ .../tick/set_pos/0.mcfunction | 4 ++-- .../tick/set_pos/1.select_target.m.mcfunction | 21 +++++++++++++++++++ .../tick/set_pos/1.set_y.m.mcfunction | 10 --------- .../tick/set_pos/2.select_target.mcfunction | 17 --------------- ...pos.mcfunction => 2.spread_pos.mcfunction} | 6 +++--- .../tick/set_pos/first/m.mcfunction | 18 ++++++++++++++-- .../set_pos/first/select_target.mcfunction | 21 ------------------- .../tick/summon.mcfunction | 2 +- 11 files changed, 62 insertions(+), 65 deletions(-) create mode 100644 Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/summon.m.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction delete mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m.mcfunction delete mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target.mcfunction rename Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/{3.spread_pos.mcfunction => 2.spread_pos.mcfunction} (93%) delete mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target.mcfunction diff --git a/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/.mcfunction b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/.mcfunction index e0ca1018d1..c98ef5a67a 100644 --- a/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/.mcfunction +++ b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/.mcfunction @@ -7,12 +7,5 @@ # 消滅 function asset:object/call.m {method:"kill"} -# 矢を降らす用のentityを召喚 - data modify storage api: Argument.ID set value 1178 - data modify storage api: Argument.FieldOverride.Damage set from storage asset:context this.Damage - data modify storage api: Argument.FieldOverride.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal - data modify storage api: Argument.FieldOverride.UserID set from storage asset:context this.UserID - data modify storage api: Argument.FieldOverride.Count set from storage asset:context this.Count - data modify storage api: Argument.FieldOverride.Delay set from storage asset:context this.Delay - data modify storage api: Argument.FieldOverride.Pos set from storage asset:context this.Pos - function api:object/summon +# 使用地点に矢を降らす用のentityを召喚 + function asset:object/1177.arrow_of_yumeori_upper/range_over/summon.m with storage asset:context this.Pos diff --git a/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/summon.m.mcfunction b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/summon.m.mcfunction new file mode 100644 index 0000000000..21f17c813b --- /dev/null +++ b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/summon.m.mcfunction @@ -0,0 +1,14 @@ +#> asset:object/1177.arrow_of_yumeori_upper/range_over/summon.m +# +# +# +# @within function asset:object/1177.arrow_of_yumeori_upper/range_over/ + + data modify storage api: Argument.ID set value 1178 + data modify storage api: Argument.FieldOverride.Damage set from storage asset:context this.Damage + data modify storage api: Argument.FieldOverride.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal + data modify storage api: Argument.FieldOverride.UserID set from storage asset:context this.UserID + data modify storage api: Argument.FieldOverride.Count set from storage asset:context this.Count + data modify storage api: Argument.FieldOverride.Delay set from storage asset:context this.Delay + data modify storage api: Argument.FieldOverride.Range set from storage asset:context this.Range + $execute positioned $(X) $(Y) $(Z) run function api:object/summon diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/init/.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/init/.mcfunction index c7e43d93c1..25db8685d8 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/init/.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/init/.mcfunction @@ -6,3 +6,6 @@ # 向き調整 tp @s ~ ~ ~ ~ ~ + +# Rangeの半分の値を取得 + execute store result storage asset:context this.HalfRange double 0.005 run data get storage asset:context this.Range 100 diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction index 19dae6f865..0bedb6eef8 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction @@ -10,8 +10,8 @@ # tellraw @a {"storage":"asset:context","nbt":"this"} # 1発目に限り、前方の敵を優先する - execute if data storage asset:context this{FirstShot:true} run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m with storage asset:context this.Pos + execute if data storage asset:context this{FirstShot:true} run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m with storage asset:context this execute if data storage asset:context this{FirstShot:true} run return run data modify storage asset:context this.FirstShot set value false # 範囲内のランダムな敵の位置で攻撃 - function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m with storage asset:context this.Pos + function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m with storage asset:context this diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction new file mode 100644 index 0000000000..c900860bef --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction @@ -0,0 +1,21 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m +# +# +# +# @within function +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/0 +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m + +# rotatable_Dxyzで判定 +# 横は太め + data modify storage lib: Args.dx set value 10 + data modify storage lib: Args.dy set value 10 + data modify storage lib: Args.dz set from storage asset:context this.Range + data modify storage lib: Args.selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..32]" + $execute rotated ~ 0 positioned ^ ^5 ^$(HalfRange) run function lib:rotatable_dxyz/m with storage lib: Args + +# DXYZのtag持ちの中のランダムな奴をターゲットにする + execute at @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos + +# リセット + tag @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32] remove DXYZ diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m.mcfunction deleted file mode 100644 index cddd5830f0..0000000000 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m -# -# -# -# @within function -# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/0 -# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target - -# 使用地点のy座標周辺でターゲットを選択する - $execute positioned ~ $(Y) ~ run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target.mcfunction deleted file mode 100644 index d97db79716..0000000000 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target.mcfunction +++ /dev/null @@ -1,17 +0,0 @@ -#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target -# -# -# -# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m - -# 円柱範囲内からランダムな敵1体を選ぶ - data modify storage lib: Argument.BoundingCylinder.Radius set value 8.0d - data modify storage lib: Argument.BoundingCylinder.Height set value 16.25d - data modify storage lib: Argument.BoundingCylinder.Selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..16]" - execute positioned ~ ~-8.25 ~ run function lib:bounding_cylinder/ - -# - execute at @e[type=#lib:living_without_player,tag=BoundingCylinder,distance=..16,sort=random,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos - -# リセット - tag @e[type=#lib:living_without_player,tag=BoundingCylinder,distance=..16] remove BoundingCylinder diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos.mcfunction similarity index 93% rename from Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos.mcfunction rename to Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos.mcfunction index e9537bf680..e5789850c5 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos.mcfunction @@ -1,10 +1,10 @@ -#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos # # # # @within function -# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.select_target -# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m #> Private # @private diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction index 002091a2e0..ae402a21fa 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction @@ -4,5 +4,19 @@ # # @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/0 -# 実行地点を使用時点の位置にする - $execute positioned $(X) $(Y) $(Z) run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target +# rotatableDXYZで判定(壁貫通は考慮しない) +# dxは細め + data modify storage lib: Args.dx set value 3 + data modify storage lib: Args.dy set value 10 + data modify storage lib: Args.dz set from storage asset:context this.Range + data modify storage lib: Args.selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..32]" + $execute rotated ~ 0 positioned ^ ^5 ^$(HalfRange) run function lib:rotatable_dxyz/m with storage lib: Args + +# DXYZのtag持ちの中で一番近い奴をターゲットにする + execute at @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos + +# DXYZがいなければ通常通りターゲッティングする + execute unless entity @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m + +# リセット + tag @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32] remove DXYZ diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target.mcfunction deleted file mode 100644 index aa2824b1bd..0000000000 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target.mcfunction +++ /dev/null @@ -1,21 +0,0 @@ -#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/select_target -# -# -# -# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/m - -# rotatableDXYZで判定(壁貫通は考慮しない) - data modify storage lib: Args.dx set value 3 - data modify storage lib: Args.dy set value 10 - data modify storage lib: Args.dz set value 20 - data modify storage lib: Args.selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..16]" - execute rotated ~ 0 positioned ^ ^5 ^10 run function lib:rotatable_dxyz/m with storage lib: Args - -# DXYZのtag持ちの中で一番近い奴をターゲットにする - execute at @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos - -# DXYZがいなければ通常通りターゲッティングする - execute unless entity @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.set_y.m with storage asset:context this.Pos - -# リセット - tag @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32] remove DXYZ diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction index 761f2447c7..45a6872f2a 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction @@ -2,7 +2,7 @@ # # # -# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.spread_pos +# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos # 攻撃用Object召喚 data modify storage api: Argument.ID set value 1179 From 55d16c992e2f38b582d3f07601cd73f121f82396 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Fri, 17 Jul 2026 21:21:40 +0900 Subject: [PATCH 12/37] =?UTF-8?q?=E6=95=B5=E3=81=8C=E3=81=84=E3=81=AA?= =?UTF-8?q?=E3=81=8F=E3=81=A6=E3=82=82=E9=99=8D=E3=81=A3=E3=81=A6=E3=81=8F?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tick/set_pos/1.select_target.m.mcfunction | 3 +++ .../tick/set_pos/3.no_target.mcfunction | 20 +++++++++++++++++++ .../tick/summon.mcfunction | 4 +++- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target.mcfunction diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction index c900860bef..0ab11d944d 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction @@ -17,5 +17,8 @@ # DXYZのtag持ちの中のランダムな奴をターゲットにする execute at @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos +# DXYZがいなければもうなんでもいいから適当に降らす + execute unless entity @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target + # リセット tag @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32] remove DXYZ diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target.mcfunction new file mode 100644 index 0000000000..af307dad4b --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target.mcfunction @@ -0,0 +1,20 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target +# +# +# +# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m + +#> Private +# @private + #declare tag SpreadMarker + +# 拡散 + execute rotated ~ 0 run summon marker ^ ^ ^8 {Tags:["SpreadMarker"]} + data modify storage lib: Argument.Bounds set value [[5d,5d],[0d,0d],[5d,5d]] + execute as @e[type=marker,tag=SpreadMarker,distance=..10] at @s run function lib:spread_entity/ + +# マーカーの位置で出来る限り地面に近づける + execute at @e[type=marker,tag=SpreadMarker,distance=..20] run function asset:object/1178.yumeori_falling_arrow_manager/tick/summon + +# リセット + kill @e[type=marker,tag=SpreadMarker,distance=..20] diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction index 45a6872f2a..6704f2da72 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/summon.mcfunction @@ -2,7 +2,9 @@ # # # -# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos +# @within function +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target # 攻撃用Object召喚 data modify storage api: Argument.ID set value 1179 From 6857fbddf0dcea4fcba56dc9f9576ed6831ca4a7 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Fri, 17 Jul 2026 21:24:04 +0900 Subject: [PATCH 13/37] =?UTF-8?q?=E7=B8=A6=E5=88=A4=E5=AE=9A=E3=82=92?= =?UTF-8?q?=E6=8B=A1=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../object/1179.yumeori_falling_arrow/tick/attack.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction index 3dfb15d7ea..6638bf117f 100644 --- a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction @@ -23,7 +23,7 @@ data modify storage api: Argument.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal execute store result score $UserID Temporary run data get storage asset:context this.UserID execute as @a if score @s UserID = $UserID Temporary run function api:damage/modifier - execute positioned ~-1 ~-0.5 ~-1 as @e[type=#lib:living_without_player,tag=!Uninterferable,dx=2,dy=2,dz=2,sort=random,limit=1] run function api:damage/ + execute positioned ~-1 ~-0.5 ~-1 as @e[type=#lib:living_without_player,tag=!Uninterferable,dx=2,dy=5,dz=2,sort=random,limit=1] run function api:damage/ function api:damage/reset # From 7fd9b41d0b7a3dc18cb75e85faff9dab72509802 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Fri, 17 Jul 2026 22:36:46 +0900 Subject: [PATCH 14/37] =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E3=81=AB=E5=9C=B0?= =?UTF-8?q?=E9=9D=A2=E3=81=AB=E8=90=BD=E3=81=A1=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tick/set_pos/1.select_target.m.mcfunction | 4 ++-- .../tick/align_to_ground.mcfunction | 2 ++ .../tick/attack.mcfunction | 4 +++- .../tick/set_y/.mcfunction | 14 ++++++++++++++ .../tick/set_y/set.mcfunction | 8 ++++++++ 5 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/set_y/.mcfunction create mode 100644 Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/set_y/set.mcfunction diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction index 0ab11d944d..1ee781022a 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction @@ -15,10 +15,10 @@ $execute rotated ~ 0 positioned ^ ^5 ^$(HalfRange) run function lib:rotatable_dxyz/m with storage lib: Args # DXYZのtag持ちの中のランダムな奴をターゲットにする - execute at @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos + execute at @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=random,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos # DXYZがいなければもうなんでもいいから適当に降らす - execute unless entity @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target + execute unless entity @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target # リセット tag @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32] remove DXYZ diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/align_to_ground.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/align_to_ground.mcfunction index 9149e985f3..920be60c8a 100644 --- a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/align_to_ground.mcfunction +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/align_to_ground.mcfunction @@ -14,6 +14,8 @@ execute if data storage asset:context this{RecursiveLimit:0} run return run function asset:object/1179.yumeori_falling_arrow/tick/attack # ブロックに接触 execute unless block ~ ~-0.5 ~ #lib:no_collision/without_fluid run return run function asset:object/1179.yumeori_falling_arrow/tick/attack + # 敵がいる + execute positioned ~-1 ~ ~-1 at @e[type=#lib:living_without_player,tag=!Uninterferable,dx=2,dy=0,dz=2,sort=random,limit=1] run return run function asset:object/1179.yumeori_falling_arrow/tick/set_y/ # 再帰 execute positioned ~ ~-0.5 ~ run function asset:object/1179.yumeori_falling_arrow/tick/align_to_ground diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction index 6638bf117f..32911f47a1 100644 --- a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction @@ -2,7 +2,9 @@ # # # -# @within function asset:object/1179.yumeori_falling_arrow/tick/align_to_ground +# @within function +# asset:object/1179.yumeori_falling_arrow/tick/align_to_ground +# asset:object/1179.yumeori_falling_arrow/tick/set_y/set #> Private # @private diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/set_y/.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/set_y/.mcfunction new file mode 100644 index 0000000000..08f1c63c66 --- /dev/null +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/set_y/.mcfunction @@ -0,0 +1,14 @@ +#> asset:object/1179.yumeori_falling_arrow/tick/set_y/ +# +# +# +# @within function asset:object/1179.yumeori_falling_arrow/tick/align_to_ground + +# 自身のxzを取得 + data modify storage asset:temp Temp.Pos set from entity @s Pos + data modify storage asset:temp Temp.X set from storage asset:temp Temp.Pos[0] + data modify storage asset:temp Temp.Z set from storage asset:temp Temp.Pos[2] + function asset:object/1179.yumeori_falling_arrow/tick/set_y/set with storage asset:temp Temp + +# リセット + data remove storage asset:temp Temp diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/set_y/set.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/set_y/set.mcfunction new file mode 100644 index 0000000000..4b9698ddd3 --- /dev/null +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/set_y/set.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/1179.yumeori_falling_arrow/tick/set_y/set +# +# +# +# @within function asset:object/1179.yumeori_falling_arrow/tick/set_y/ + +# + $execute positioned $(X) ~ $(Z) run function asset:object/1179.yumeori_falling_arrow/tick/attack From cef72520cb5d8c86e130a3b453ce9633c97d196f Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Sat, 18 Jul 2026 09:48:52 +0900 Subject: [PATCH 15/37] =?UTF-8?q?Lore=E3=82=92=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../functions/artifact/1307.yumeori/give/2.give.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/give/2.give.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/give/2.give.mcfunction index 8b764c5a91..df27805c85 100644 --- a/Asset/data/asset/functions/artifact/1307.yumeori/give/2.give.mcfunction +++ b/Asset/data/asset/functions/artifact/1307.yumeori/give/2.give.mcfunction @@ -15,7 +15,7 @@ # 神器の名前 (TextComponentString) data modify storage asset:artifact Name set value '{"text":"極光弓 夢織","color":"#91f9ab"}' # 神器の説明文 (TextComponentString[]) - data modify storage asset:artifact Lore set value ['{"text":"矢を3発命中させると曲射が可能になり"}','{"text":"その状態で上を向いて発射することで敵に矢の雨を降り注がせる"}','{"text":"オーロラの天使の持っていた弓","color":"gray"}','{"text":"その天衣の弦から放たれた矢は寒空を貫き降り注ぐ","color":"gray"}'] + data modify storage asset:artifact Lore set value ['{"text":"矢を3発命中させると曲射が可能になり"}','{"text":"その状態で上を向いて発射すると敵に矢の雨を降り注がせる"}','{"text":"オーロラの天使の持っていた弓","color":"gray"}','{"text":"その天衣の弦から放たれた矢は寒空を貫き降り注ぐ","color":"gray"}'] # 消費アイテム ({Item: TextComponent, Count: int, Extra?: TextComponent}) (オプション) data modify storage asset:artifact ConsumeItem.Item set value '{"translate":"item.minecraft.arrow"}' data modify storage asset:artifact ConsumeItem.Count set value 1 From 9a7251fa50130d902d2eb9641708921c1b45f756 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Sun, 19 Jul 2026 20:31:24 +0900 Subject: [PATCH 16/37] =?UTF-8?q?=E5=85=89=E3=81=AE=E8=BC=AA=E3=81=AE?= =?UTF-8?q?=E6=BC=94=E5=87=BA=E3=82=92object=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../recursive/vfx/pink.mcfunction | 34 +++--------------- .../recursive/vfx/red.mcfunction | 34 +++--------------- .../recursive/vfx/yellow.mcfunction | 35 +++---------------- .../tick/attack.mcfunction | 6 ++++ .../tick/vfx.mcfunction | 22 ------------ .../object/1180.yumeori_vfx/init/.mcfunction | 13 +++++++ .../1180.yumeori_vfx/register.mcfunction | 26 ++++++++++++++ .../1180.yumeori_vfx/summon/.mcfunction | 15 ++++++++ .../1180.yumeori_vfx/summon/m.mcfunction | 7 ++++ .../object/1180.yumeori_vfx/tick/.mcfunction | 20 +++++++++++ .../1180.yumeori_vfx/tick/apply.m.mcfunction | 9 +++++ .../1180.yumeori_vfx/tick/kill.mcfunction | 8 +++++ .../object/alias/1180/init.mcfunction | 8 +++++ .../object/alias/1180/register.mcfunction | 8 +++++ .../object/alias/1180/summon.mcfunction | 8 +++++ .../object/alias/1180/tick.mcfunction | 8 +++++ 16 files changed, 148 insertions(+), 113 deletions(-) create mode 100644 Asset/data/asset/functions/object/1180.yumeori_vfx/init/.mcfunction create mode 100644 Asset/data/asset/functions/object/1180.yumeori_vfx/register.mcfunction create mode 100644 Asset/data/asset/functions/object/1180.yumeori_vfx/summon/.mcfunction create mode 100644 Asset/data/asset/functions/object/1180.yumeori_vfx/summon/m.mcfunction create mode 100644 Asset/data/asset/functions/object/1180.yumeori_vfx/tick/.mcfunction create mode 100644 Asset/data/asset/functions/object/1180.yumeori_vfx/tick/apply.m.mcfunction create mode 100644 Asset/data/asset/functions/object/1180.yumeori_vfx/tick/kill.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1180/init.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1180/register.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1180/summon.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1180/tick.mcfunction diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/pink.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/pink.mcfunction index 24b37243d6..a1af1b710f 100644 --- a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/pink.mcfunction +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/pink.mcfunction @@ -4,33 +4,7 @@ # # @within function asset:object/1176.arrow_of_yumeori/recursive/ -# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmAGYCsATLQEYCcAzNQLRMAsAHE+1xRwu7AIYB2UvwBsARlFdRtHgAZRq0WAIA7UQFsEyQGGKAAllawMURn0BnJOBQB7QtohJlBIW7gYHYADdRbEJDcAAPJBUCKCiAXziCG1I0QntEWQJbCGt3RGiwOGxsNBhbQ1kVAownHIhDArRbAFFi0vLmgEdCYOwoAGUrIXJESmDyhIBdIA_3 -# 円 1 -particle dust 100000000 1 100000000 2 ^0 ^-1 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0.22252 ^-0.97493 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0.43388 ^-0.90097 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0.62349 ^-0.78183 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0.78183 ^-0.62349 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0.90097 ^-0.43388 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0.97493 ^-0.22252 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^1 ^0 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0.97493 ^0.22252 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0.90097 ^0.43388 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0.78183 ^0.62349 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0.62349 ^0.78183 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0.43388 ^0.90097 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0.22252 ^0.97493 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^0 ^1 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-0.22252 ^0.97493 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-0.43388 ^0.90097 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-0.62349 ^0.78183 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-0.78183 ^0.62349 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-0.90097 ^0.43388 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-0.97493 ^0.22252 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-1 ^0 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-0.97493 ^-0.22252 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-0.90097 ^-0.43388 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-0.78183 ^-0.62349 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-0.62349 ^-0.78183 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-0.43388 ^-0.90097 ^ 0 0 0 0 1 -particle dust 100000000 1 100000000 2 ^-0.22252 ^-0.97493 ^ 0 0 0 0 1 +# 演出用Object召喚 + data modify storage api: Argument.ID set value 1180 + data modify storage api: Argument.FieldOverride.Color set value "Pink" + function api:object/summon diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/red.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/red.mcfunction index 5f8cb624be..171f5c9731 100644 --- a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/red.mcfunction +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/red.mcfunction @@ -4,33 +4,7 @@ # # @within function asset:object/1176.arrow_of_yumeori/recursive/ -# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmAGYCsATLQEYCcAzNQLRMAsAHE+1xRwu7AIYB2UvwBsARlFdRtHgAZRq0WAIA7UQFsEyQGGKAAllawMURn0BnJOBQB7QtohJlBIW7gYHYADdRbEJDcAAPJBUCKCiAXziCG1I0QntEWQJbCGt3RGiwOGxsNBhbQ1kVAownHIhDArRbAFFi0vLmgEdCYOwoAGUrIXJESmDyhIBdIA_3 -# 円 1 -particle dust 100000000 1 1 2 ^0 ^-1 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0.22252 ^-0.97493 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0.43388 ^-0.90097 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0.62349 ^-0.78183 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0.78183 ^-0.62349 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0.90097 ^-0.43388 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0.97493 ^-0.22252 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^1 ^0 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0.97493 ^0.22252 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0.90097 ^0.43388 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0.78183 ^0.62349 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0.62349 ^0.78183 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0.43388 ^0.90097 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0.22252 ^0.97493 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^0 ^1 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-0.22252 ^0.97493 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-0.43388 ^0.90097 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-0.62349 ^0.78183 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-0.78183 ^0.62349 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-0.90097 ^0.43388 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-0.97493 ^0.22252 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-1 ^0 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-0.97493 ^-0.22252 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-0.90097 ^-0.43388 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-0.78183 ^-0.62349 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-0.62349 ^-0.78183 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-0.43388 ^-0.90097 ^ 0 0 0 0 1 -particle dust 100000000 1 1 2 ^-0.22252 ^-0.97493 ^ 0 0 0 0 1 +# 演出用Object召喚 + data modify storage api: Argument.ID set value 1180 + data modify storage api: Argument.FieldOverride.Color set value "Red" + function api:object/summon diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/yellow.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/yellow.mcfunction index a3ed4b6ef0..fc6dc9c9aa 100644 --- a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/yellow.mcfunction +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/vfx/yellow.mcfunction @@ -4,34 +4,7 @@ # # @within function asset:object/1176.arrow_of_yumeori/recursive/ - -# [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmAGYCsATLQEYCcAzNQLRMAsAHE+1xRwu7AIYB2UvwBsARlFdRtHgAZRq0WAIA7UQFsEyQGGKAAllawMURn0BnJOBQB7QtohJlBIW7gYHYADdRbEJDcAAPJBUCKCiAXziCG1I0QntEWQJbCGt3RGiwOGxsNBhbQ1kVAownHIhDArRbAFFi0vLmgEdCYOwoAGUrIXJESmDyhIBdIA_3 -# 円 1 -particle dust 100000000 100000000 1 2 ^0 ^-1 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0.22252 ^-0.97493 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0.43388 ^-0.90097 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0.62349 ^-0.78183 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0.78183 ^-0.62349 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0.90097 ^-0.43388 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0.97493 ^-0.22252 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^1 ^0 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0.97493 ^0.22252 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0.90097 ^0.43388 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0.78183 ^0.62349 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0.62349 ^0.78183 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0.43388 ^0.90097 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0.22252 ^0.97493 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^0 ^1 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-0.22252 ^0.97493 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-0.43388 ^0.90097 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-0.62349 ^0.78183 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-0.78183 ^0.62349 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-0.90097 ^0.43388 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-0.97493 ^0.22252 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-1 ^0 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-0.97493 ^-0.22252 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-0.90097 ^-0.43388 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-0.78183 ^-0.62349 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-0.62349 ^-0.78183 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-0.43388 ^-0.90097 ^ 0 0 0 0 1 -particle dust 100000000 100000000 1 2 ^-0.22252 ^-0.97493 ^ 0 0 0 0 1 +# 演出用Object召喚 + data modify storage api: Argument.ID set value 1180 + data modify storage api: Argument.FieldOverride.Color set value "Yellow" + function api:object/summon diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction index 32911f47a1..c0c7526de8 100644 --- a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction @@ -16,6 +16,12 @@ playsound entity.evoker.prepare_summon neutral @a ~ ~ ~ 0.8 2 execute rotated ~ -90 run function asset:object/1179.yumeori_falling_arrow/tick/vfx +# 演出用Object召喚 + data modify storage api: Argument.ID set value 1180 + data modify storage api: Argument.FieldOverride.Scale set value [15f,15f,15f] + data modify storage api: Argument.FieldOverride.Color set value "Pink" + execute rotated ~ 90 run function api:object/summon + # どうせなら縦に広い判定をとっておく # ダメージ diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/vfx.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/vfx.mcfunction index 5c92123c48..624840694b 100644 --- a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/vfx.mcfunction +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/vfx.mcfunction @@ -56,25 +56,3 @@ particle dust 100000000 100000000 1 2 ^0 ^ ^14.38776 0.1 0.1 0.1 0 2 particle dust 100000000 100000000 1 2 ^0 ^ ^14.69388 0.1 0.1 0.1 0 2 particle dust 100000000 100000000 1 2 ^0 ^ ^15 0.1 0.1 0.1 0 2 - # [ImportKey]: NobwRALgngDgpmAXGAxgSwE4oDYIDRgCuhaAJkmAJykCGArDQCwAcA7ALQCMARnDe4wBspAMztuzThwAM05pW7SUNGgCZSqsAQB2NALYJkgMMUABJy1gYNDPoDOScCgD2hbRCSrpBFHDdwMDmAAbjTYhIbgAB5IXmBQMQC+CQQ2pGiE9oiqBLYQ1u6IsXDY2GgwtoacsilOeRCGsWi2AKIlZRXNAI6EodhQAMpWPuSIAGahFUkAukA_3 - # 円 1 - particle dust 100000000 1 100000000 2 ~0 ~ ~-2 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~0.61803 ~ ~-1.90211 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~1.17557 ~ ~-1.61803 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~1.61803 ~ ~-1.17557 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~1.90211 ~ ~-0.61803 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~2 ~ ~0 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~1.90211 ~ ~0.61803 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~1.61803 ~ ~1.17557 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~1.17557 ~ ~1.61803 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~0.61803 ~ ~1.90211 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~0 ~ ~2 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~-0.61803 ~ ~1.90211 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~-1.17557 ~ ~1.61803 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~-1.61803 ~ ~1.17557 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~-1.90211 ~ ~0.61803 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~-2 ~ ~0 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~-1.90211 ~ ~-0.61803 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~-1.61803 ~ ~-1.17557 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~-1.17557 ~ ~-1.61803 0 0 0 0 1 - particle dust 100000000 1 100000000 2 ~-0.61803 ~ ~-1.90211 0 0 0 0 1 diff --git a/Asset/data/asset/functions/object/1180.yumeori_vfx/init/.mcfunction b/Asset/data/asset/functions/object/1180.yumeori_vfx/init/.mcfunction new file mode 100644 index 0000000000..4b37afca79 --- /dev/null +++ b/Asset/data/asset/functions/object/1180.yumeori_vfx/init/.mcfunction @@ -0,0 +1,13 @@ +#> asset:object/1180.yumeori_vfx/init/ +# +# Objectのinit時の処理 +# +# @within asset:object/alias/1180/init + +# 色に応じたリストを適用 + execute if data storage asset:context this{Color:"Yellow"} run data modify storage asset:context this.List set from storage asset:context this.CharList.Yellow + execute if data storage asset:context this{Color:"Pink"} run data modify storage asset:context this.List set from storage asset:context this.CharList.Pink + execute if data storage asset:context this{Color:"Red"} run data modify storage asset:context this.List set from storage asset:context this.CharList.Red + +# + #execute store result entity @s transformation.translation double 0.005 run data get storage asset:context this.Scale[1] 100 diff --git a/Asset/data/asset/functions/object/1180.yumeori_vfx/register.mcfunction b/Asset/data/asset/functions/object/1180.yumeori_vfx/register.mcfunction new file mode 100644 index 0000000000..0686ca0f2c --- /dev/null +++ b/Asset/data/asset/functions/object/1180.yumeori_vfx/register.mcfunction @@ -0,0 +1,26 @@ +#> asset:object/1180.yumeori_vfx/register +# +# Objectのデータを指定 +# +# @within function asset:object/alias/1180/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 1180 +# フィールド(オプション) + data modify storage asset:object Field.Color set value "Yellow" +# + data modify storage asset:object Field.Scale set value [8f,8f,8f] + data modify storage asset:object Field.List set value [] + data modify storage asset:object Field.CharList.Yellow set value ["a","9","8","7","6","5","4","3","1"] + data modify storage asset:object Field.CharList.Pink set value ["l","k","j","i","h","g","f","e","c"] + data modify storage asset:object Field.CharList.Red set value ["w","v","u","t","s","r","q","p","n"] diff --git a/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/.mcfunction b/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/.mcfunction new file mode 100644 index 0000000000..d2a5b42181 --- /dev/null +++ b/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/.mcfunction @@ -0,0 +1,15 @@ +#> asset:object/1180.yumeori_vfx/summon/ +# +# Object召喚処理の呼び出し時に実行されるfunction +# +# @within asset:object/alias/1180/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 + data modify storage asset:temp Args.Scale 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[0] 100 + execute store result storage asset:temp Args.Translation[1] float -0.00075 run data get storage asset:context this.Scale[1] 100 + function asset:object/1180.yumeori_vfx/summon/m with storage asset:temp Args + data remove storage asset:temp Args diff --git a/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/m.mcfunction b/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/m.mcfunction new file mode 100644 index 0000000000..fca418c7ff --- /dev/null +++ b/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/m.mcfunction @@ -0,0 +1,7 @@ +#> asset:object/1180.yumeori_vfx/summon/m +# +# +# +# @within function asset:object/1180.yumeori_vfx/summon/ + + $summon text_display ~ ~ ~ {Rotation:$(Rotation),Tags:["ObjectInit"],text:'{"text":"0","font":"object/1180"}',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:[0f,0f,0f]},Passengers:[{id:"text_display",Rotation:$(Rotation),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/1180.yumeori_vfx/tick/.mcfunction b/Asset/data/asset/functions/object/1180.yumeori_vfx/tick/.mcfunction new file mode 100644 index 0000000000..d10cf87fc0 --- /dev/null +++ b/Asset/data/asset/functions/object/1180.yumeori_vfx/tick/.mcfunction @@ -0,0 +1,20 @@ +#> asset:object/1180.yumeori_vfx/tick/ +# +# Objectのtick時の処理 +# +# @within asset:object/alias/1180/tick + +# Tick加算 + scoreboard players add @s General.Object.Tick 1 + execute if score @s General.Object.Tick matches ..1 run return fail + +# 消滅処理 + execute unless data storage asset:context this.List[0] run function asset:object/1180.yumeori_vfx/tick/kill + +# 適用 + data modify storage asset:temp _.Char set from storage asset:context this.List[-1] + function asset:object/1180.yumeori_vfx/tick/apply.m with storage asset:temp _ + data remove storage asset:context this.List[-1] + +# リセット + data remove storage asset:temp _ diff --git a/Asset/data/asset/functions/object/1180.yumeori_vfx/tick/apply.m.mcfunction b/Asset/data/asset/functions/object/1180.yumeori_vfx/tick/apply.m.mcfunction new file mode 100644 index 0000000000..4b582e8165 --- /dev/null +++ b/Asset/data/asset/functions/object/1180.yumeori_vfx/tick/apply.m.mcfunction @@ -0,0 +1,9 @@ +#> asset:object/1180.yumeori_vfx/tick/apply.m +# +# +# +# @within function asset:object/1180.yumeori_vfx/tick/ + +# + $data modify entity @s text set value '{"text":"$(Char)","font":"object/1180"}' + $execute on passengers run data modify entity @s text set value '{"text":"$(Char)","font":"object/1180"}' diff --git a/Asset/data/asset/functions/object/1180.yumeori_vfx/tick/kill.mcfunction b/Asset/data/asset/functions/object/1180.yumeori_vfx/tick/kill.mcfunction new file mode 100644 index 0000000000..dc24f7267f --- /dev/null +++ b/Asset/data/asset/functions/object/1180.yumeori_vfx/tick/kill.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/1180.yumeori_vfx/tick/kill +# +# +# +# @within function asset:object/1180.yumeori_vfx/tick/ + + execute on passengers run kill @s + kill @s diff --git a/Asset/data/asset/functions/object/alias/1180/init.mcfunction b/Asset/data/asset/functions/object/alias/1180/init.mcfunction new file mode 100644 index 0000000000..02c7478040 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1180/init.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1180/init +# +# Init処理のエイリアス +# +# @within asset_manager:object/init/init.m + +# 元のInit処理を呼び出す + function asset:object/1180.yumeori_vfx/init/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1180/register.mcfunction b/Asset/data/asset/functions/object/alias/1180/register.mcfunction new file mode 100644 index 0000000000..d01133bd7b --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1180/register.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1180/register +# +# Objectのデータ指定処理のエイリアス +# +# @within asset_manager:object/summon/register.m + +# 元の登録処理を呼び出す + function asset:object/1180.yumeori_vfx/register \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1180/summon.mcfunction b/Asset/data/asset/functions/object/alias/1180/summon.mcfunction new file mode 100644 index 0000000000..65e8d4c8d4 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1180/summon.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1180/summon +# +# Object召喚処理のエイリアス +# +# @within asset_manager:object/summon/summon.m + +# 元の召喚処理を呼び出す + function asset:object/1180.yumeori_vfx/summon/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1180/tick.mcfunction b/Asset/data/asset/functions/object/alias/1180/tick.mcfunction new file mode 100644 index 0000000000..581392a1e9 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1180/tick.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1180/tick +# +# Tick時処理のエイリアス +# +# @within asset_manager:object/tick/tick.m + +# 元のTick処理を呼び出す + function asset:object/1180.yumeori_vfx/tick/ \ No newline at end of file From 58cb0b618a42d6966bb7f8f5cc93cc4df9043314 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Sun, 19 Jul 2026 21:36:47 +0900 Subject: [PATCH 17/37] =?UTF-8?q?=E8=BB=8C=E8=B7=A1=E3=82=92=E8=AA=BF?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../recursive/.mcfunction | 25 ++----------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction index 645fbb3b05..c6259d1fb9 100644 --- a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction @@ -15,30 +15,9 @@ execute if data storage asset:context this{StepCount:0} run data modify storage asset:context this.StepCount set value 1 # 軌跡 - #execute store result score $Step Temporary run data get storage asset:context this.StepCount - #execute if score $Step Temporary matches ..20 run particle dust 1 0.973 0.573 1.3 ^ ^ ^ 0 0 0 0 1 normal @a - #execute if score $Step Temporary matches ..20 run particle dust 1 0.973 0.573 1.3 ^ ^ ^-0.25 0 0 0 0 1 normal @a - #execute if score $Step Temporary matches 21..40 run particle dust 1 0.624 0.573 1.3 ^ ^ ^ 0 0 0 0 1 normal @a - #execute if score $Step Temporary matches 21..40 run particle dust 1 0.624 0.573 1.3 ^ ^ ^-0.25 0 0 0 0 1 normal @a - #execute if score $Step Temporary matches 41.. run particle dust 0.988 0.663 1 1.3 ^ ^ ^ 0 0 0 0 1 normal @a - #execute if score $Step Temporary matches 41.. run particle dust 0.988 0.663 1 1.3 ^ ^ ^-0.25 0 0 0 0 1 normal @a - #scoreboard players reset $Step Temporary + particle dust 1 0.8 0.9 1.3 ~ ~ ~ 0 0 0 0 1 + particle dust 1 0.8 0.9 1.3 ^ ^ ^0.25 0 0 0 0 1 - # particle wax_off ^ ^ ^0.25 0 0 0 0 1 - # particle wax_off ^ ^ ^0.00 0 0 0 0 1 - - execute store result score $Step Temporary run data get storage asset:context this.StepCount - execute if score $Step Temporary matches ..20 run particle dust 100000000 100000000 1 1.3 ^ ^ ^ 0 0 0 0 1 normal @a - execute if score $Step Temporary matches ..20 run particle dust 100000000 100000000 1 1.3 ^ ^ ^-0.25 0 0 0 0 1 normal @a - execute if score $Step Temporary matches 21..40 run particle dust 100000000 1 1 1.3 ^ ^ ^ 0 0 0 0 1 normal @a - execute if score $Step Temporary matches 21..40 run particle dust 100000000 1 1 1.3 ^ ^ ^-0.25 0 0 0 0 1 normal @a - execute if score $Step Temporary matches 41.. run particle dust 100000000 1 100000000 1.3 ^ ^ ^ 0 0 0 0 1 normal @a - execute if score $Step Temporary matches 41.. run particle dust 100000000 1 100000000 1.3 ^ ^ ^-0.25 0 0 0 0 1 normal @a - scoreboard players reset $Step Temporary - -# 色を変える - execute if data storage asset:context this{StepCount:20} run data modify entity @s item.tag.display.color set value 16745353 - execute if data storage asset:context this{StepCount:40} run data modify entity @s item.tag.display.color set value 16760318 # 演出 (仮) execute if data storage asset:context this{StepCount: 0} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/yellow From f92a7645b20b155491666557157d90562498ea22 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Sun, 19 Jul 2026 21:38:27 +0900 Subject: [PATCH 18/37] =?UTF-8?q?=E7=9F=A2=E3=81=AE=E8=A6=8B=E3=81=9F?= =?UTF-8?q?=E7=9B=AE=E3=82=92=E5=9B=BA=E6=9C=89=E3=81=AE=E3=82=82=E3=81=AE?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../object/1176.arrow_of_yumeori/register.mcfunction | 6 +----- .../object/1176.arrow_of_yumeori/summon/.mcfunction | 11 +++++++++++ .../object/1176.arrow_of_yumeori/summon/m.mcfunction | 7 +++++++ .../functions/object/alias/1176/summon.mcfunction | 8 ++++++++ 4 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/summon/.mcfunction create mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/summon/m.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1176/summon.mcfunction diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/register.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/register.mcfunction index bc89b6a480..d341808577 100644 --- a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/register.mcfunction +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/register.mcfunction @@ -17,18 +17,14 @@ # ID (int) data modify storage asset:object ID set value 1176 # フィールド(オプション) - data modify storage asset:object Field.Color set value 16646013 + # data modify storage asset:object Field.Color set value 16646013 data modify storage asset:object Field.ShowCritParticle set value false data modify storage asset:object Field.AttackType set value "Magic" data modify storage asset:object Field.ElementType set value "Thunder" data modify storage asset:object Field.Range set value 40 data modify storage asset:object Field.Speed set value 4 data modify storage asset:object Field.Damage set value 1 - data modify storage asset:object Field.PoisonDamage set value 1 data modify storage asset:object Field.AdditionalMPHeal set value 1 # 何回進んだかを計測する data modify storage asset:object Field.StepCount set value 0 - -# メモ -# 黄色:16646013, 赤:16745353 ピンク:16760318 diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/summon/.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/summon/.mcfunction new file mode 100644 index 0000000000..0808c12809 --- /dev/null +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/summon/.mcfunction @@ -0,0 +1,11 @@ +#> asset:object/1176.arrow_of_yumeori/summon/ +# +# Object召喚処理の呼び出し時に実行されるfunction +# +# @within asset:object/alias/1176/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/1176.arrow_of_yumeori/summon/m with storage asset:temp Args + data remove storage asset:temp Args diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/summon/m.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/summon/m.mcfunction new file mode 100644 index 0000000000..748dcd290f --- /dev/null +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/summon/m.mcfunction @@ -0,0 +1,7 @@ +#> asset:object/1176.arrow_of_yumeori/summon/m +# +# +# +# @within function asset:object/1176.arrow_of_yumeori/summon/ + +$summon item_display ~ ~ ~ {Rotation:$(Rotation),Tags:["ObjectInit"],item:{id:"minecraft:stick",Count:1b,tag:{CustomModelData:20636},teleport_duration:1}} diff --git a/Asset/data/asset/functions/object/alias/1176/summon.mcfunction b/Asset/data/asset/functions/object/alias/1176/summon.mcfunction new file mode 100644 index 0000000000..3a0e8b4459 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1176/summon.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1176/summon +# +# Object召喚処理のエイリアス +# +# @within asset_manager:object/summon/summon.m + +# 元の召喚処理を呼び出す + function asset:object/1176.arrow_of_yumeori/summon/ \ No newline at end of file From 95aad416d39bb153d844546950515bf0546a2c0f Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Sun, 19 Jul 2026 21:38:36 +0900 Subject: [PATCH 19/37] =?UTF-8?q?=E3=83=9F=E3=82=B9=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../asset/functions/object/1180.yumeori_vfx/summon/m.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/m.mcfunction b/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/m.mcfunction index fca418c7ff..feb7a4557d 100644 --- a/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/m.mcfunction +++ b/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/m.mcfunction @@ -4,4 +4,4 @@ # # @within function asset:object/1180.yumeori_vfx/summon/ - $summon text_display ~ ~ ~ {Rotation:$(Rotation),Tags:["ObjectInit"],text:'{"text":"0","font":"object/1180"}',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:[0f,0f,0f]},Passengers:[{id:"text_display",Rotation:$(Rotation),brightness:{sky:15,block:15},background:16711680,transformation:{left_rotation:[0f,1f,0f,0f],right_rotation:[0f,0f,0f,1f],scale:$(Scale),translation:$(Translation)}}]} + $summon text_display ~ ~ ~ {Rotation:$(Rotation),Tags:["ObjectInit"],text:'{"text":"0","font":"object/1180"}',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:$(Rotation),brightness:{sky:15,block:15},background:16711680,transformation:{left_rotation:[0f,1f,0f,0f],right_rotation:[0f,0f,0f,1f],scale:$(Scale),translation:$(Translation)}}]} From 62be57ff282cad641e8a6968bda6cf8c451bf7b0 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Sun, 19 Jul 2026 23:18:56 +0900 Subject: [PATCH 20/37] =?UTF-8?q?=E6=9B=B2=E5=B0=84=E6=BC=94=E5=87=BA?= =?UTF-8?q?=E7=94=A8object=E3=81=A0=E3=81=91=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../artifact/0976.brave_sword/a.mcfunction | 10 ++++++++++ .../tick/attack.mcfunction | 4 ++++ .../1181.yumeori_thunder/register.mcfunction | 20 +++++++++++++++++++ .../1181.yumeori_thunder/summon/.mcfunction | 8 ++++++++ .../1181.yumeori_thunder/tick/.mcfunction | 15 ++++++++++++++ .../object/alias/1181/register.mcfunction | 8 ++++++++ .../object/alias/1181/summon.mcfunction | 8 ++++++++ .../object/alias/1181/tick.mcfunction | 8 ++++++++ 8 files changed, 81 insertions(+) create mode 100644 Asset/data/asset/functions/artifact/0976.brave_sword/a.mcfunction create mode 100644 Asset/data/asset/functions/object/1181.yumeori_thunder/register.mcfunction create mode 100644 Asset/data/asset/functions/object/1181.yumeori_thunder/summon/.mcfunction create mode 100644 Asset/data/asset/functions/object/1181.yumeori_thunder/tick/.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1181/register.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1181/summon.mcfunction create mode 100644 Asset/data/asset/functions/object/alias/1181/tick.mcfunction diff --git a/Asset/data/asset/functions/artifact/0976.brave_sword/a.mcfunction b/Asset/data/asset/functions/artifact/0976.brave_sword/a.mcfunction new file mode 100644 index 0000000000..b291228583 --- /dev/null +++ b/Asset/data/asset/functions/artifact/0976.brave_sword/a.mcfunction @@ -0,0 +1,10 @@ +#> asset:artifact/0976.brave_sword/a +# +# +# +# @within function asset:object/1179.yumeori_falling_arrow/tick/attack + +# 斬撃 + data modify storage api: Argument.ID set value 2001 + data modify storage api: Argument.FieldOverride set value {Item:{id:"stick",Count:1b},Color:50175,Frames:[20637,20638,20639],Scale:[4f,4f,0.1f],Transformation:{left_rotation:[0.561f,-0.43f,0.43f,0.561f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f]}} + function api:object/summon diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction index c0c7526de8..af6a873611 100644 --- a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/tick/attack.mcfunction @@ -22,6 +22,10 @@ data modify storage api: Argument.FieldOverride.Color set value "Pink" execute rotated ~ 90 run function api:object/summon + #data modify storage api: Argument.ID set value 2257 + #data modify storage api: Argument.FieldOverride.Scale set value 4f + #execute rotated ~ 90 run function api:object/summon + # どうせなら縦に広い判定をとっておく # ダメージ diff --git a/Asset/data/asset/functions/object/1181.yumeori_thunder/register.mcfunction b/Asset/data/asset/functions/object/1181.yumeori_thunder/register.mcfunction new file mode 100644 index 0000000000..4d1ec555f7 --- /dev/null +++ b/Asset/data/asset/functions/object/1181.yumeori_thunder/register.mcfunction @@ -0,0 +1,20 @@ +#> asset:object/1181.yumeori_thunder/register +# +# Objectのデータを指定 +# +# @within function asset:object/alias/1181/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 1181 +# フィールド(オプション) + # data modify storage asset:object Field.myValue set value \ No newline at end of file diff --git a/Asset/data/asset/functions/object/1181.yumeori_thunder/summon/.mcfunction b/Asset/data/asset/functions/object/1181.yumeori_thunder/summon/.mcfunction new file mode 100644 index 0000000000..62cd01ae5b --- /dev/null +++ b/Asset/data/asset/functions/object/1181.yumeori_thunder/summon/.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/1181.yumeori_thunder/summon/ +# +# Object召喚処理の呼び出し時に実行されるfunction +# +# @within asset:object/alias/1181/summon + +# 元となるEntityを召喚する + summon text_display ~ ~ ~ {Tags:["ObjectInit"],text:'{"text":"0","font":"object/1180"}',billboard:"vertical",alignment:"center",brightness:{sky:15,block:15},background:16711680,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[5f,5f,5f],translation:[0f,2.5f,0f]}} diff --git a/Asset/data/asset/functions/object/1181.yumeori_thunder/tick/.mcfunction b/Asset/data/asset/functions/object/1181.yumeori_thunder/tick/.mcfunction new file mode 100644 index 0000000000..c65af83cdf --- /dev/null +++ b/Asset/data/asset/functions/object/1181.yumeori_thunder/tick/.mcfunction @@ -0,0 +1,15 @@ +#> asset:object/1181.yumeori_thunder/tick/ +# +# Objectのtick時の処理 +# +# @within asset:object/alias/1181/tick + +# Tick加算 + scoreboard players add @s General.Object.Tick 1 + + execute if score @s General.Object.Tick matches 2 run data modify entity @s text set value '{"text":"0","font":"object/1181"}' + execute if score @s General.Object.Tick matches 3 run data modify entity @s text set value '{"text":"1","font":"object/1181"}' + execute if score @s General.Object.Tick matches 4 run data modify entity @s text set value '{"text":"2","font":"object/1181"}' + +# 消滅処理 + kill @s[scores={General.Object.Tick=5..}] diff --git a/Asset/data/asset/functions/object/alias/1181/register.mcfunction b/Asset/data/asset/functions/object/alias/1181/register.mcfunction new file mode 100644 index 0000000000..d89864e572 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1181/register.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1181/register +# +# Objectのデータ指定処理のエイリアス +# +# @within asset_manager:object/summon/register.m + +# 元の登録処理を呼び出す + function asset:object/1181.yumeori_thunder/register \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1181/summon.mcfunction b/Asset/data/asset/functions/object/alias/1181/summon.mcfunction new file mode 100644 index 0000000000..e01c002e7c --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1181/summon.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1181/summon +# +# Object召喚処理のエイリアス +# +# @within asset_manager:object/summon/summon.m + +# 元の召喚処理を呼び出す + function asset:object/1181.yumeori_thunder/summon/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1181/tick.mcfunction b/Asset/data/asset/functions/object/alias/1181/tick.mcfunction new file mode 100644 index 0000000000..43cba68e3a --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1181/tick.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1181/tick +# +# Tick時処理のエイリアス +# +# @within asset_manager:object/tick/tick.m + +# 元のTick処理を呼び出す + function asset:object/1181.yumeori_thunder/tick/ \ No newline at end of file From a8ffb1e5bf0fa75d4a13eb37905808711b714d7f Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 15:36:49 +0900 Subject: [PATCH 21/37] =?UTF-8?q?=E5=88=A4=E5=AE=9A=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../range_over/summon.m.mcfunction | 5 ++++- .../tick/set_pos/1.select_target.m.mcfunction | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/summon.m.mcfunction b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/summon.m.mcfunction index 21f17c813b..cd4a5407fd 100644 --- a/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/summon.m.mcfunction +++ b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/summon.m.mcfunction @@ -4,11 +4,14 @@ # # @within function asset:object/1177.arrow_of_yumeori_upper/range_over/ +# 召喚 data modify storage api: Argument.ID set value 1178 data modify storage api: Argument.FieldOverride.Damage set from storage asset:context this.Damage data modify storage api: Argument.FieldOverride.AdditionalMPHeal set from storage asset:context this.AdditionalMPHeal data modify storage api: Argument.FieldOverride.UserID set from storage asset:context this.UserID data modify storage api: Argument.FieldOverride.Count set from storage asset:context this.Count data modify storage api: Argument.FieldOverride.Delay set from storage asset:context this.Delay - data modify storage api: Argument.FieldOverride.Range set from storage asset:context this.Range + +# rangeだけ半分にして渡す + execute store result storage api: Argument.FieldOverride.Range double 0.005 run data get storage asset:context this.Range 100 $execute positioned $(X) $(Y) $(Z) run function api:object/summon diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction index 1ee781022a..f9d193d1b2 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction @@ -18,7 +18,7 @@ execute at @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=random,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos # DXYZがいなければもうなんでもいいから適当に降らす - execute unless entity @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target + execute unless entity @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=random,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target # リセット tag @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32] remove DXYZ From 0858d3b2c482781d924c7918116826a8c2f7b8c8 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 20:06:50 +0900 Subject: [PATCH 22/37] =?UTF-8?q?=E6=9B=B2=E5=B0=84=E3=81=AE=E6=94=BB?= =?UTF-8?q?=E6=92=83=E7=AF=84=E5=9B=B2=E3=82=92=E7=A5=9E=E5=99=A8=E5=81=B4?= =?UTF-8?q?=E3=81=A7=E8=A8=AD=E5=AE=9A=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../artifact/1307.yumeori/trigger/curved_shot.mcfunction | 9 +++++++++ .../range_over/summon.m.mcfunction | 4 +--- .../1178.yumeori_falling_arrow_manager/init/.mcfunction | 3 --- .../tick/set_pos/0.mcfunction | 4 ++-- .../tick/set_pos/1.select_target.m.mcfunction | 8 ++++---- .../tick/set_pos/first/m.mcfunction | 8 ++++---- 6 files changed, 20 insertions(+), 16 deletions(-) diff --git a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/curved_shot.mcfunction b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/curved_shot.mcfunction index bf45d9e3bb..900a087c9e 100644 --- a/Asset/data/asset/functions/artifact/1307.yumeori/trigger/curved_shot.mcfunction +++ b/Asset/data/asset/functions/artifact/1307.yumeori/trigger/curved_shot.mcfunction @@ -14,6 +14,7 @@ # つまり、途中でブロックに当たると不発する # ただし、上向きの矢はentityに対してはヒット判定がない # 1発目は前方の敵を優先して狙うが、2発目以降は周囲のランダムな敵を狙う。要するに広域乱射 +# 使用位置の前方に巨大な箱型の判定があり、その中の敵1体に矢を落とす # 曲射のデータ設定 # 1発辺りのダメージ @@ -28,6 +29,14 @@ # 弾速 data modify storage api: Argument.FieldOverride.Speed set value 8 + # 攻撃範囲(各辺の長さ) + data modify storage api: Argument.FieldOverride.AttackRange.X set value 8 + data modify storage api: Argument.FieldOverride.AttackRange.Y set value 10 + data modify storage api: Argument.FieldOverride.AttackRange.Z set value 10 + + # 1発目のxはすぐ前方の敵を優先するのでXを狭めにする + data modify storage api: Argument.FieldOverride.AttackRange.FirstX set value 4 + # 座標も入力しておく function api:data_get/pos data modify storage api: Argument.FieldOverride.Pos.X set from storage api: Pos[0] diff --git a/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/summon.m.mcfunction b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/summon.m.mcfunction index cd4a5407fd..95efa35da9 100644 --- a/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/summon.m.mcfunction +++ b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/range_over/summon.m.mcfunction @@ -11,7 +11,5 @@ data modify storage api: Argument.FieldOverride.UserID set from storage asset:context this.UserID data modify storage api: Argument.FieldOverride.Count set from storage asset:context this.Count data modify storage api: Argument.FieldOverride.Delay set from storage asset:context this.Delay - -# rangeだけ半分にして渡す - execute store result storage api: Argument.FieldOverride.Range double 0.005 run data get storage asset:context this.Range 100 + data modify storage api: Argument.FieldOverride.AttackRange set from storage asset:context this.AttackRange $execute positioned $(X) $(Y) $(Z) run function api:object/summon diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/init/.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/init/.mcfunction index 25db8685d8..c7e43d93c1 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/init/.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/init/.mcfunction @@ -6,6 +6,3 @@ # 向き調整 tp @s ~ ~ ~ ~ ~ - -# Rangeの半分の値を取得 - execute store result storage asset:context this.HalfRange double 0.005 run data get storage asset:context this.Range 100 diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction index 0bedb6eef8..ac2144bad3 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction @@ -10,8 +10,8 @@ # tellraw @a {"storage":"asset:context","nbt":"this"} # 1発目に限り、前方の敵を優先する - execute if data storage asset:context this{FirstShot:true} run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m with storage asset:context this + execute if data storage asset:context this{FirstShot:true} run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m with storage asset:context this.AttackRange execute if data storage asset:context this{FirstShot:true} run return run data modify storage asset:context this.FirstShot set value false # 範囲内のランダムな敵の位置で攻撃 - function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m with storage asset:context this + function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m with storage asset:context this.AttackRange diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction index f9d193d1b2..b0941c3d39 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction @@ -8,11 +8,11 @@ # rotatable_Dxyzで判定 # 横は太め - data modify storage lib: Args.dx set value 10 - data modify storage lib: Args.dy set value 10 - data modify storage lib: Args.dz set from storage asset:context this.Range + data modify storage lib: Args.dx set from storage asset:context this.AttackRange.X + data modify storage lib: Args.dy set from storage asset:context this.AttackRange.Y + data modify storage lib: Args.dz set from storage asset:context this.AttackRange.Z data modify storage lib: Args.selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..32]" - $execute rotated ~ 0 positioned ^ ^5 ^$(HalfRange) run function lib:rotatable_dxyz/m with storage lib: Args + $execute rotated ~ 0 positioned ^ ^ ^$(Z) run function lib:rotatable_dxyz/m with storage lib: Args # DXYZのtag持ちの中のランダムな奴をターゲットにする execute at @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=random,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction index ae402a21fa..143ad664a0 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction @@ -6,11 +6,11 @@ # rotatableDXYZで判定(壁貫通は考慮しない) # dxは細め - data modify storage lib: Args.dx set value 3 - data modify storage lib: Args.dy set value 10 - data modify storage lib: Args.dz set from storage asset:context this.Range + data modify storage lib: Args.dx set from storage asset:context this.AttackRange.FirstX + data modify storage lib: Args.dy set from storage asset:context this.AttackRange.Y + data modify storage lib: Args.dz set from storage asset:context this.AttackRange.Z data modify storage lib: Args.selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..32]" - $execute rotated ~ 0 positioned ^ ^5 ^$(HalfRange) run function lib:rotatable_dxyz/m with storage lib: Args + $execute rotated ~ 0 positioned ^ ^ ^$(Z) run function lib:rotatable_dxyz/m with storage lib: Args # DXYZのtag持ちの中で一番近い奴をターゲットにする execute at @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos From 02c3e0d362c56dc4a6470ec9a870bc0be5512e8f Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 20:50:05 +0900 Subject: [PATCH 23/37] =?UTF-8?q?=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../register.mcfunction | 2 +- .../tick/set_pos/0.mcfunction | 6 ----- .../tick/set_pos/1.select_target.m.mcfunction | 5 +++++ .../tick/set_pos/first/m.mcfunction | 22 ------------------- 4 files changed, 6 insertions(+), 29 deletions(-) delete mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/register.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/register.mcfunction index cabc0587a0..85ea3d5201 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/register.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/register.mcfunction @@ -19,4 +19,4 @@ # フィールド(オプション) data modify storage asset:object Field.Interval._ set value 2 data modify storage asset:object Field.Interval.Max set value 2 - data modify storage asset:object Field.FirstShot set value true + data modify storage asset:object Field.IsFirstShot set value true diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction index ac2144bad3..13ee519193 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction @@ -7,11 +7,5 @@ # デクリメント execute store result storage asset:context this.Count int 0.9999999999 run data get storage asset:context this.Count - # tellraw @a {"storage":"asset:context","nbt":"this"} - -# 1発目に限り、前方の敵を優先する - execute if data storage asset:context this{FirstShot:true} run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m with storage asset:context this.AttackRange - execute if data storage asset:context this{FirstShot:true} run return run data modify storage asset:context this.FirstShot set value false - # 範囲内のランダムな敵の位置で攻撃 function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m with storage asset:context this.AttackRange diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction index b0941c3d39..d7a6887c52 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction @@ -9,6 +9,11 @@ # rotatable_Dxyzで判定 # 横は太め data modify storage lib: Args.dx set from storage asset:context this.AttackRange.X + +# 1発目に限り、Xを変える + execute if data storage asset:context this{IsFirstShot:true} run data modify storage lib: Args.dx set from storage asset:context this.AttackRange.FirstX + data modify storage asset:context this.IsFirstShot set value false + data modify storage lib: Args.dy set from storage asset:context this.AttackRange.Y data modify storage lib: Args.dz set from storage asset:context this.AttackRange.Z data modify storage lib: Args.selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..32]" diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction deleted file mode 100644 index 143ad664a0..0000000000 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m.mcfunction +++ /dev/null @@ -1,22 +0,0 @@ -#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m -# -# -# -# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/0 - -# rotatableDXYZで判定(壁貫通は考慮しない) -# dxは細め - data modify storage lib: Args.dx set from storage asset:context this.AttackRange.FirstX - data modify storage lib: Args.dy set from storage asset:context this.AttackRange.Y - data modify storage lib: Args.dz set from storage asset:context this.AttackRange.Z - data modify storage lib: Args.selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..32]" - $execute rotated ~ 0 positioned ^ ^ ^$(Z) run function lib:rotatable_dxyz/m with storage lib: Args - -# DXYZのtag持ちの中で一番近い奴をターゲットにする - execute at @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos - -# DXYZがいなければ通常通りターゲッティングする - execute unless entity @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m - -# リセット - tag @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32] remove DXYZ From 96cbef32243e613ef025fd10e3c3d9b48897ebde Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 20:50:42 +0900 Subject: [PATCH 24/37] =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8index.d?= =?UTF-8?q?=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../object/1176.arrow_of_yumeori/_index.d.mcfunction | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/_index.d.mcfunction diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/_index.d.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/_index.d.mcfunction deleted file mode 100644 index ac28c1b016..0000000000 --- a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/_index.d.mcfunction +++ /dev/null @@ -1,6 +0,0 @@ -#> asset:object/1176.arrow_of_yumeori/_index.d -# @private - -#> tag -# @within function asset:object/1176.arrow_of_yumeori/** - #declare \ No newline at end of file From 6a51df3c2edc2fcc47359562221019aecc4480be Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 20:56:02 +0900 Subject: [PATCH 25/37] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E3=83=95=E3=82=A3?= =?UTF-8?q?=E3=83=BC=E3=83=AB=E3=83=89=E3=82=92register=E3=81=AB=E6=98=8E?= =?UTF-8?q?=E8=A8=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../register.mcfunction | 29 ++++++++++++++++++- .../register.mcfunction | 23 +++++++++++++++ .../register.mcfunction | 9 +++++- 3 files changed, 59 insertions(+), 2 deletions(-) diff --git a/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/register.mcfunction b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/register.mcfunction index 4e3dee136b..f2b5fb68b1 100644 --- a/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/register.mcfunction +++ b/Asset/data/asset/functions/object/1177.arrow_of_yumeori_upper/register.mcfunction @@ -17,4 +17,31 @@ # ID (int) data modify storage asset:object ID set value 1177 # フィールド(オプション) - # data modify storage asset:object Field.myValue set value + +# ダメージ等 + data modify storage asset:object Field.Damage set value 1d + data modify storage asset:object Field.AdditionalMPHeal set value 1d + data modify storage asset:object Field.UserID set value -1 + +# 本数 + data modify storage asset:object Field.Count set value 6 +# ディレイ + data modify storage asset:object Field.Delay set value 20 + +# 射程 + data modify storage asset:object Field.Range set value 50 +# 弾速 + data modify storage asset:object Field.Speed set value 8 + +# 攻撃範囲(各辺の長さ) + data modify storage asset:object Field.AttackRange.X set value 8 + data modify storage asset:object Field.AttackRange.Y set value 10 + data modify storage asset:object Field.AttackRange.Z set value 10 + +# 1発目のxの範囲 + data modify storage asset:object Field.AttackRange.FirstX set value 4 + +# 座標 + data modify storage asset:object Field.Pos.X set value 0.0f + data modify storage asset:object Field.Pos.Y set value 0.0f + data modify storage asset:object Field.Pos.Z set value 0.0f diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/register.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/register.mcfunction index 85ea3d5201..99c1ac826d 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/register.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/register.mcfunction @@ -20,3 +20,26 @@ data modify storage asset:object Field.Interval._ set value 2 data modify storage asset:object Field.Interval.Max set value 2 data modify storage asset:object Field.IsFirstShot set value true + +# ダメージ等 + data modify storage asset:object Field.Damage set value 1d + data modify storage asset:object Field.AdditionalMPHeal set value 1d + data modify storage asset:object Field.UserID set value -1 + +# 本数 + data modify storage asset:object Field.Count set value 6 +# ディレイ + data modify storage asset:object Field.Delay set value 20 + +# 攻撃範囲(各辺の長さ) + data modify storage asset:object Field.AttackRange.X set value 8 + data modify storage asset:object Field.AttackRange.Y set value 10 + data modify storage asset:object Field.AttackRange.Z set value 10 + +# 1発目のxの範囲 + data modify storage asset:object Field.AttackRange.FirstX set value 4 + +# 座標 + data modify storage asset:object Field.Pos.X set value 0.0f + data modify storage asset:object Field.Pos.Y set value 0.0f + data modify storage asset:object Field.Pos.Z set value 0.0f diff --git a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/register.mcfunction b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/register.mcfunction index 2a84c8fc6c..8689d817f2 100644 --- a/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/register.mcfunction +++ b/Asset/data/asset/functions/object/1179.yumeori_falling_arrow/register.mcfunction @@ -17,5 +17,12 @@ # ID (int) data modify storage asset:object ID set value 1179 # フィールド(オプション) - data modify storage asset:object Field.Delay set value 20 data modify storage asset:object Field.RecursiveLimit set value 10 + +# ダメージ等 + data modify storage asset:object Field.Damage set value 1d + data modify storage asset:object Field.AdditionalMPHeal set value 1d + data modify storage asset:object Field.UserID set value -1 + +# ディレイ + data modify storage asset:object Field.Delay set value 20 From b34862a40c7b4e57338e80ee3c5193c86b47614f Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 20:57:03 +0900 Subject: [PATCH 26/37] =?UTF-8?q?=E7=B4=9B=E3=82=8C=E8=BE=BC=E3=82=93?= =?UTF-8?q?=E3=81=A0=E8=AC=8E=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92?= =?UTF-8?q?=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../functions/artifact/0976.brave_sword/a.mcfunction | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 Asset/data/asset/functions/artifact/0976.brave_sword/a.mcfunction diff --git a/Asset/data/asset/functions/artifact/0976.brave_sword/a.mcfunction b/Asset/data/asset/functions/artifact/0976.brave_sword/a.mcfunction deleted file mode 100644 index b291228583..0000000000 --- a/Asset/data/asset/functions/artifact/0976.brave_sword/a.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -#> asset:artifact/0976.brave_sword/a -# -# -# -# @within function asset:object/1179.yumeori_falling_arrow/tick/attack - -# 斬撃 - data modify storage api: Argument.ID set value 2001 - data modify storage api: Argument.FieldOverride set value {Item:{id:"stick",Count:1b},Color:50175,Frames:[20637,20638,20639],Scale:[4f,4f,0.1f],Transformation:{left_rotation:[0.561f,-0.43f,0.43f,0.561f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f]}} - function api:object/summon From e8ea519dbca7021f80fa5f70cba10ef476c441f2 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 21:00:17 +0900 Subject: [PATCH 27/37] =?UTF-8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../functions/object/1176.arrow_of_yumeori/recursive/.mcfunction | 1 - 1 file changed, 1 deletion(-) diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction index c6259d1fb9..9a439b340f 100644 --- a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction @@ -18,7 +18,6 @@ particle dust 1 0.8 0.9 1.3 ~ ~ ~ 0 0 0 0 1 particle dust 1 0.8 0.9 1.3 ^ ^ ^0.25 0 0 0 0 1 - # 演出 (仮) execute if data storage asset:context this{StepCount: 0} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/yellow execute if data storage asset:context this{StepCount:10} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/yellow From 800fe6fb4df9c870a15516bf97dd36cda2b7d866 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 21:00:52 +0900 Subject: [PATCH 28/37] =?UTF-8?q?=E5=8B=95=E3=81=84=E3=81=A6=E3=81=84?= =?UTF-8?q?=E3=81=AA=E3=81=84=E5=87=A6=E7=90=86=E3=82=92=E3=82=B3=E3=83=A1?= =?UTF-8?q?=E3=83=B3=E3=83=88=E3=82=A2=E3=82=A6=E3=83=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../object/1176.arrow_of_yumeori/recursive/.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction index 9a439b340f..dfe5b5e6d6 100644 --- a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction @@ -19,7 +19,7 @@ particle dust 1 0.8 0.9 1.3 ^ ^ ^0.25 0 0 0 0 1 # 演出 (仮) - execute if data storage asset:context this{StepCount: 0} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/yellow + # execute if data storage asset:context this{StepCount: 0} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/yellow execute if data storage asset:context this{StepCount:10} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/yellow execute if data storage asset:context this{StepCount:20} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/red execute if data storage asset:context this{StepCount:30} run function asset:object/1176.arrow_of_yumeori/recursive/vfx/red From 9f9d4fe50acdba0c95a820b51256ff0a561a638e Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 21:02:26 +0900 Subject: [PATCH 29/37] =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E3=81=AAscore?= =?UTF-8?q?=20holder=E3=81=AE=E5=AE=9A=E7=BE=A9=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../object/1176.arrow_of_yumeori/recursive/.mcfunction | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction index dfe5b5e6d6..7dbf23d5f9 100644 --- a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction +++ b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/recursive/.mcfunction @@ -4,10 +4,6 @@ # # @within asset:object/alias/1176/recursive -#> Private -# @private - #declare score_holder $Step - # インクリメント execute store result storage asset:context this.StepCount int -1 run data get storage asset:context this.StepCount -1.00000000001 From 5c939ddfe1c6299f0e3a25240513af580aece469 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 21:03:05 +0900 Subject: [PATCH 30/37] =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E3=83=A1?= =?UTF-8?q?=E3=82=BD=E3=83=83=E3=83=89=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../1176.arrow_of_yumeori/tick/.mcfunction | 16 ---------------- .../functions/object/alias/1176/tick.mcfunction | 8 -------- 2 files changed, 24 deletions(-) delete mode 100644 Asset/data/asset/functions/object/1176.arrow_of_yumeori/tick/.mcfunction delete mode 100644 Asset/data/asset/functions/object/alias/1176/tick.mcfunction diff --git a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/tick/.mcfunction b/Asset/data/asset/functions/object/1176.arrow_of_yumeori/tick/.mcfunction deleted file mode 100644 index 47be67633f..0000000000 --- a/Asset/data/asset/functions/object/1176.arrow_of_yumeori/tick/.mcfunction +++ /dev/null @@ -1,16 +0,0 @@ -#> asset:object/1176.arrow_of_yumeori/tick/ -# -# Objectのtick時の処理 -# -# @within asset:object/alias/1176/tick - -# Tick加算 - scoreboard players add @s General.Object.Tick 1 - -# 矢の色変える - # execute if score @s General.Object.Tick matches - - function asset:object/super.tick - -# 消滅処理 - kill @s[scores={General.Object.Tick=1000..}] diff --git a/Asset/data/asset/functions/object/alias/1176/tick.mcfunction b/Asset/data/asset/functions/object/alias/1176/tick.mcfunction deleted file mode 100644 index bcb42e95c5..0000000000 --- a/Asset/data/asset/functions/object/alias/1176/tick.mcfunction +++ /dev/null @@ -1,8 +0,0 @@ -#> asset:object/alias/1176/tick -# -# Tick時処理のエイリアス -# -# @within asset_manager:object/tick/tick.m - -# 元のTick処理を呼び出す - function asset:object/1176.arrow_of_yumeori/tick/ \ No newline at end of file From aacf386b09531985c7fdcfce2fae9b29ae977e79 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 21:04:49 +0900 Subject: [PATCH 31/37] =?UTF-8?q?=E5=98=98=E3=82=B3=E3=83=A1=E3=83=B3?= =?UTF-8?q?=E3=83=88=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tick/set_pos/2.spread_pos.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos.mcfunction index e5789850c5..0cbc441895 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos.mcfunction @@ -15,7 +15,7 @@ data modify storage lib: Argument.Bounds set value [[1.5d,1.5d],[0d,0d],[1.5d,1.5d]] execute as @e[type=marker,tag=SpreadMarker,distance=..0.01] run function lib:spread_entity/ -# マーカーの位置で出来る限り地面に近づける +# マーカーの位置で召喚 execute at @e[type=marker,tag=SpreadMarker,distance=..10] run function asset:object/1178.yumeori_falling_arrow_manager/tick/summon # リセット From 5e4dde1b671a4bdb013d7602fa45d297c67bd237 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 21:05:16 +0900 Subject: [PATCH 32/37] =?UTF-8?q?=E8=AC=8E=E3=82=BB=E3=83=AC=E3=82=AF?= =?UTF-8?q?=E3=82=BF=E3=83=BC=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tick/set_pos/1.select_target.m.mcfunction | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction index d7a6887c52..6e557fd673 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction @@ -20,10 +20,10 @@ $execute rotated ~ 0 positioned ^ ^ ^$(Z) run function lib:rotatable_dxyz/m with storage lib: Args # DXYZのtag持ちの中のランダムな奴をターゲットにする - execute at @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=random,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos + execute at @e[type=#lib:living_without_player,tag=DXYZ,distance=..32,sort=random,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos # DXYZがいなければもうなんでもいいから適当に降らす - execute unless entity @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32,sort=random,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target + execute unless entity @e[type=#lib:living_without_player,tag=DXYZ,distance=..32,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target # リセット - tag @e[type=#lib:living_without_player,tag=DXYZ,tag=!Uninterferable,distance=..32] remove DXYZ + tag @e[type=#lib:living_without_player,tag=DXYZ,distance=..32] remove DXYZ From 4632276c8d4099f90c499382a59d608bc454c2a9 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 21:08:02 +0900 Subject: [PATCH 33/37] =?UTF-8?q?=E6=9B=B2=E5=B0=84=E3=81=AE=E6=95=B5?= =?UTF-8?q?=E3=82=92=E9=81=B8=E6=8A=9E=E3=81=99=E3=82=8B=E5=87=A6=E7=90=86?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tick/set_pos/1.select_target.m.mcfunction | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction index 6e557fd673..26a0b297f8 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction @@ -6,13 +6,11 @@ # asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/0 # asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m -# rotatable_Dxyzで判定 -# 横は太め +# rotatable_dxyzで判定 data modify storage lib: Args.dx set from storage asset:context this.AttackRange.X # 1発目に限り、Xを変える execute if data storage asset:context this{IsFirstShot:true} run data modify storage lib: Args.dx set from storage asset:context this.AttackRange.FirstX - data modify storage asset:context this.IsFirstShot set value false data modify storage lib: Args.dy set from storage asset:context this.AttackRange.Y data modify storage lib: Args.dz set from storage asset:context this.AttackRange.Z @@ -20,10 +18,16 @@ $execute rotated ~ 0 positioned ^ ^ ^$(Z) run function lib:rotatable_dxyz/m with storage lib: Args # DXYZのtag持ちの中のランダムな奴をターゲットにする - execute at @e[type=#lib:living_without_player,tag=DXYZ,distance=..32,sort=random,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos + # 1発目の場合、nearestで判定する + execute if data storage asset:context this{IsFirstShot: true} at @e[type=#lib:living_without_player,tag=DXYZ,distance=..32,sort=nearest,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos + # 2発目以降 + execute if data storage asset:context this{IsFirstShot:false} at @e[type=#lib:living_without_player,tag=DXYZ,distance=..32,sort=random,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos # DXYZがいなければもうなんでもいいから適当に降らす execute unless entity @e[type=#lib:living_without_player,tag=DXYZ,distance=..32,limit=1] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target # リセット tag @e[type=#lib:living_without_player,tag=DXYZ,distance=..32] remove DXYZ + +# 1発目のフラグをfalseに + data modify storage asset:context this.IsFirstShot set value false From 18d7e1d6cc202e8bd60ff4f3a259a79925ef7049 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 21:12:20 +0900 Subject: [PATCH 34/37] =?UTF-8?q?=E4=B8=80=E9=83=A8=E3=82=B3=E3=83=A1?= =?UTF-8?q?=E3=83=B3=E3=83=88=E3=82=A2=E3=82=A6=E3=83=88=E3=82=92=E5=89=8A?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../asset/functions/object/1180.yumeori_vfx/init/.mcfunction | 3 --- 1 file changed, 3 deletions(-) diff --git a/Asset/data/asset/functions/object/1180.yumeori_vfx/init/.mcfunction b/Asset/data/asset/functions/object/1180.yumeori_vfx/init/.mcfunction index 4b37afca79..7de2fd6211 100644 --- a/Asset/data/asset/functions/object/1180.yumeori_vfx/init/.mcfunction +++ b/Asset/data/asset/functions/object/1180.yumeori_vfx/init/.mcfunction @@ -8,6 +8,3 @@ execute if data storage asset:context this{Color:"Yellow"} run data modify storage asset:context this.List set from storage asset:context this.CharList.Yellow execute if data storage asset:context this{Color:"Pink"} run data modify storage asset:context this.List set from storage asset:context this.CharList.Pink execute if data storage asset:context this{Color:"Red"} run data modify storage asset:context this.List set from storage asset:context this.CharList.Red - -# - #execute store result entity @s transformation.translation double 0.005 run data get storage asset:context this.Scale[1] 100 From 4ce1a1ebd0a6c6cd66b5479b3b59bbe2cdc261f3 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 21:12:27 +0900 Subject: [PATCH 35/37] =?UTF-8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E8=A8=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../asset/functions/object/1180.yumeori_vfx/summon/.mcfunction | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/.mcfunction b/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/.mcfunction index d2a5b42181..b63759a0dd 100644 --- a/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/.mcfunction +++ b/Asset/data/asset/functions/object/1180.yumeori_vfx/summon/.mcfunction @@ -9,6 +9,8 @@ data modify storage asset:temp Args.Rotation set from entity 0-0-0-0-0 Rotation data modify storage asset:temp Args.Scale 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[0] 100 execute store result storage asset:temp Args.Translation[1] float -0.00075 run data get storage asset:context this.Scale[1] 100 function asset:object/1180.yumeori_vfx/summon/m with storage asset:temp Args From 5d2926e14abaa9e1c5177a210340b339e184d2c7 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Mon, 20 Jul 2026 21:13:33 +0900 Subject: [PATCH 36/37] =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E3=81=AATick?= =?UTF-8?q?=E3=82=B9=E3=82=B3=E3=82=A2=E3=82=92=E5=A2=97=E5=8A=A0=E3=81=95?= =?UTF-8?q?=E3=81=9B=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../asset/functions/object/1180.yumeori_vfx/tick/.mcfunction | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Asset/data/asset/functions/object/1180.yumeori_vfx/tick/.mcfunction b/Asset/data/asset/functions/object/1180.yumeori_vfx/tick/.mcfunction index d10cf87fc0..fee416ff0c 100644 --- a/Asset/data/asset/functions/object/1180.yumeori_vfx/tick/.mcfunction +++ b/Asset/data/asset/functions/object/1180.yumeori_vfx/tick/.mcfunction @@ -4,10 +4,6 @@ # # @within asset:object/alias/1180/tick -# Tick加算 - scoreboard players add @s General.Object.Tick 1 - execute if score @s General.Object.Tick matches ..1 run return fail - # 消滅処理 execute unless data storage asset:context this.List[0] run function asset:object/1180.yumeori_vfx/tick/kill From caf557fdaf2cb467949ed7cb466d5e06b921f7ed Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Sat, 25 Jul 2026 01:30:45 +0900 Subject: [PATCH 37/37] =?UTF-8?q?1=E7=99=BA=E7=9B=AE=E3=81=A0=E3=81=91?= =?UTF-8?q?=E6=95=B5=E3=81=8C=E3=81=84=E3=81=AA=E3=81=84=E6=89=B1=E3=81=84?= =?UTF-8?q?=E3=81=AB=E3=81=AA=E3=82=8B=E3=81=93=E3=81=A8=E3=81=8C=E3=81=82?= =?UTF-8?q?=E3=82=8B=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tick/set_pos/0.mcfunction | 2 +- ...get.m.mcfunction => 1.select_target.mcfunction} | 14 +++++--------- .../tick/set_pos/2.spread_pos.mcfunction | 2 +- .../tick/set_pos/3.no_target.mcfunction | 2 +- .../tick/set_pos/dxyz/first.m.mcfunction | 12 ++++++++++++ .../tick/set_pos/dxyz/m.mcfunction | 12 ++++++++++++ 6 files changed, 32 insertions(+), 12 deletions(-) rename Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/{1.select_target.m.mcfunction => 1.select_target.mcfunction} (63%) create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/first.m.mcfunction create mode 100644 Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/m.mcfunction diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction index 13ee519193..78119dbe0e 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/0.mcfunction @@ -8,4 +8,4 @@ execute store result storage asset:context this.Count int 0.9999999999 run data get storage asset:context this.Count # 範囲内のランダムな敵の位置で攻撃 - function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m with storage asset:context this.AttackRange + function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target with storage asset:context this.AttackRange diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.mcfunction similarity index 63% rename from Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction rename to Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.mcfunction index 26a0b297f8..6e60b86b07 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.mcfunction @@ -1,4 +1,4 @@ -#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target # # # @@ -7,15 +7,11 @@ # asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m # rotatable_dxyzで判定 - data modify storage lib: Args.dx set from storage asset:context this.AttackRange.X + execute if data storage asset:context this{IsFirstShot: true} run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/first.m with storage asset:context this.AttackRange + execute if data storage asset:context this{IsFirstShot:false} run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/m with storage asset:context this.AttackRange -# 1発目に限り、Xを変える - execute if data storage asset:context this{IsFirstShot:true} run data modify storage lib: Args.dx set from storage asset:context this.AttackRange.FirstX - - data modify storage lib: Args.dy set from storage asset:context this.AttackRange.Y - data modify storage lib: Args.dz set from storage asset:context this.AttackRange.Z - data modify storage lib: Args.selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..32]" - $execute rotated ~ 0 positioned ^ ^ ^$(Z) run function lib:rotatable_dxyz/m with storage lib: Args +# 1発目でDXYZが誰もいない時、本来の範囲で再ターゲッティングする + execute if data storage asset:context this{IsFirstShot: true} unless entity @e[type=#lib:living_without_player,tag=DXYZ,distance=..32] run function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/m with storage asset:context this.AttackRange # DXYZのtag持ちの中のランダムな奴をターゲットにする # 1発目の場合、nearestで判定する diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos.mcfunction index 0cbc441895..e70d9b5d87 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/2.spread_pos.mcfunction @@ -3,7 +3,7 @@ # # # @within function -# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m +# asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target # asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/first/m #> Private diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target.mcfunction index af307dad4b..128314b266 100644 --- a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target.mcfunction +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/3.no_target.mcfunction @@ -2,7 +2,7 @@ # # # -# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target.m +# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target #> Private # @private diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/first.m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/first.m.mcfunction new file mode 100644 index 0000000000..7824ea9c9d --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/first.m.mcfunction @@ -0,0 +1,12 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/first.m +# +# +# +# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target + +# 範囲設定 + data modify storage lib: Args.dx set from storage asset:context this.AttackRange.FirstX + data modify storage lib: Args.dy set from storage asset:context this.AttackRange.Y + data modify storage lib: Args.dz set from storage asset:context this.AttackRange.Z + data modify storage lib: Args.selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..32]" + $execute rotated ~ 0 positioned ^ ^ ^$(Z) run function lib:rotatable_dxyz/m with storage lib: Args diff --git a/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/m.mcfunction b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/m.mcfunction new file mode 100644 index 0000000000..f7dac5ecd1 --- /dev/null +++ b/Asset/data/asset/functions/object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/m.mcfunction @@ -0,0 +1,12 @@ +#> asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/dxyz/m +# +# +# +# @within function asset:object/1178.yumeori_falling_arrow_manager/tick/set_pos/1.select_target + +# 範囲設定 + data modify storage lib: Args.dx set from storage asset:context this.AttackRange.X + data modify storage lib: Args.dy set from storage asset:context this.AttackRange.Y + data modify storage lib: Args.dz set from storage asset:context this.AttackRange.Z + data modify storage lib: Args.selector set value "@e[type=#lib:living_without_player,tag=Enemy,tag=!Uninterferable,distance=..32]" + $execute rotated ~ 0 positioned ^ ^ ^$(Z) run function lib:rotatable_dxyz/m with storage lib: Args