Skip to content

Commit

Permalink
斬撃エフェクトその2を実装
Browse files Browse the repository at this point in the history
  • Loading branch information
EllaCoat committed Sep 18, 2024
1 parent 20a7278 commit 6e5cdd1
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
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}}}
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
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

0 comments on commit 6e5cdd1

Please sign in to comment.