diff --git a/Asset/data/asset/functions/object/2002.slash_effect_2/register.mcfunction b/Asset/data/asset/functions/object/2002.slash_effect_2/register.mcfunction new file mode 100644 index 0000000000..aa9374a774 --- /dev/null +++ b/Asset/data/asset/functions/object/2002.slash_effect_2/register.mcfunction @@ -0,0 +1,18 @@ +#> asset:object/2002.slash_effect_2/register +# +# Objectのデータを指定 +# +# @within function asset:object/alias/2002/register + +# ID5(斬撃エフェクト抽象)を継承する + data modify storage asset:object Extends append value 5 + function asset:object/extends + +# 他のモブに継承されることを許可するか (boolean) (オプション) + data modify storage asset:object ExtendsSafe set value false +# 継承されることを前提とした、抽象的なオブジェクトであるかどうか(boolean) + data modify storage asset:object IsAbstract set value false +# ID (int) + data modify storage asset:object ID set value 2002 +# フィールド + data modify storage asset:object Field set value {item:{id:"minecraft:leather_horse_armor",Count:1b,tag:{display:{color:0},CustomModelData:20353}}} diff --git a/Asset/data/asset/functions/object/2002.slash_effect_2/summon/debug.mcfunction b/Asset/data/asset/functions/object/2002.slash_effect_2/summon/debug.mcfunction new file mode 100644 index 0000000000..1aaff34ec7 --- /dev/null +++ b/Asset/data/asset/functions/object/2002.slash_effect_2/summon/debug.mcfunction @@ -0,0 +1,10 @@ +#> asset:mob/2002.slash_effect_2/summon/debug +# +# 動作チェック用の召喚処理 使い終わったら消してもいいかも +# +# @user +# @private + +# 召喚 + data modify storage api: Argument.ID set value 2002 + function api:object/summon \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/2002/register.mcfunction b/Asset/data/asset/functions/object/alias/2002/register.mcfunction new file mode 100644 index 0000000000..9a1118276c --- /dev/null +++ b/Asset/data/asset/functions/object/alias/2002/register.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/2002/register +# +# Objectのデータ指定処理のエイリアス +# +# @within asset_manager:object/summon/summon.m + +# 元の登録処理を呼び出す + function asset:object/2002.slash_effect_2/register \ No newline at end of file