-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
Asset/data/asset/functions/object/2002.slash_effect_2/register.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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}}} |
10 changes: 10 additions & 0 deletions
10
Asset/data/asset/functions/object/2002.slash_effect_2/summon/debug.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#> asset:mob/2002.slash_effect_2/summon/debug | ||
# | ||
# 動作チェック用の召喚処理 使い終わったら消してもいいかも | ||
# | ||
# @user | ||
# @private | ||
|
||
# 召喚 | ||
data modify storage api: Argument.ID set value 2002 | ||
function api:object/summon |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/object/alias/2002/register.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#> asset:object/alias/2002/register | ||
# | ||
# Objectのデータ指定処理のエイリアス | ||
# | ||
# @within asset_manager:object/summon/summon.m | ||
|
||
# 元の登録処理を呼び出す | ||
function asset:object/2002.slash_effect_2/register |