-
Notifications
You must be signed in to change notification settings - Fork 1
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
12 changed files
with
130 additions
and
0 deletions.
There are no files selected for viewing
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
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
10 changes: 10 additions & 0 deletions
10
Asset/data/asset/functions/mob/0301.karmic/death/animation_reset.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/0301.karmic/death/animation_reset | ||
# | ||
# | ||
# | ||
# @within function asset:mob/0301.karmic/death/ | ||
|
||
function animated_java:karmic/animations/wait/stop | ||
function animated_java:karmic/animations/sword_wait/stop | ||
function animated_java:karmic/animations/fall/stop | ||
function animated_java:karmic/animations/run_loop/stop |
20 changes: 20 additions & 0 deletions
20
Asset/data/asset/functions/object/2219.karmic_death/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,20 @@ | ||
#> asset:object/2219.karmic_death/register | ||
# | ||
# Objectのデータを指定 | ||
# | ||
# @within function asset:object/alias/2219/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 2219 | ||
# フィールド(オプション) | ||
# data modify storage asset:object Field.myValue set value |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/object/2219.karmic_death/summon/.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/2219.karmic_death/summon/ | ||
# | ||
# Object召喚処理の呼び出し時に実行されるfunction | ||
# | ||
# @within asset:object/alias/2219/summon | ||
|
||
# 元となるEntityを召喚する | ||
summon marker ~ ~ ~ {Tags:["ObjectInit"]} |
10 changes: 10 additions & 0 deletions
10
Asset/data/asset/functions/object/2219.karmic_death/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:object/2219.karmic_death/summon/debug | ||
# | ||
# 動作チェック用の召喚処理 使い終わったら消してもいいかも | ||
# | ||
# @user | ||
# @private | ||
|
||
# 召喚 | ||
data modify storage api: Argument.ID set value 2219 | ||
function api:object/summon |
16 changes: 16 additions & 0 deletions
16
Asset/data/asset/functions/object/2219.karmic_death/tick/.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,16 @@ | ||
#> asset:object/2219.karmic_death/tick/ | ||
# | ||
# Objectのtick時の処理 | ||
# | ||
# @within asset:object/alias/2219/tick | ||
|
||
# Tick加算 | ||
scoreboard players add @s General.Object.Tick 1 | ||
|
||
# 演出 | ||
execute if score @s General.Object.Tick matches 4 run playsound minecraft:entity.player.attack.nodamage hostile @a ~ ~ ~ 1 0.4 | ||
execute if score @s General.Object.Tick matches 85 run playsound minecraft:item.trident.return hostile @a ~ ~ ~ 1 2 | ||
execute if score @s General.Object.Tick matches 105 run function asset:object/2219.karmic_death/tick/shot | ||
|
||
# 死 | ||
execute if score @s General.Object.Tick matches 140 run function asset:object/2219.karmic_death/tick/kill |
15 changes: 15 additions & 0 deletions
15
Asset/data/asset/functions/object/2219.karmic_death/tick/kill.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,15 @@ | ||
#> asset:object/2219.karmic_death/tick/kill | ||
# | ||
# | ||
# | ||
# @within function asset:object/2219.karmic_death/tick/ | ||
|
||
#> private | ||
# @private | ||
#declare function animated_java:karmic/remove/this | ||
|
||
# 消滅 | ||
execute as @e[type=item_display,distance=..0.1,sort=nearest,limit=1] run function animated_java:karmic/remove/this | ||
|
||
# ボスドロ | ||
# まだない |
16 changes: 16 additions & 0 deletions
16
Asset/data/asset/functions/object/2219.karmic_death/tick/shot.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,16 @@ | ||
#> asset:object/2219.karmic_death/tick/shot | ||
# | ||
# | ||
# | ||
# @within function asset:object/2219.karmic_death/tick/ | ||
|
||
# 演出 | ||
particle dust 0.09 0.09 0.09 6 ~ ~ ~ 0 1 0 0 6 | ||
particle dust 1 1 1 6 ~ ~ ~ 0.03 1.03 0.03 0 6 | ||
particle dust 1 1 1 6 ~ ~ ~ 0.03 1.03 0.03 0 6 | ||
|
||
# 演出 | ||
playsound minecraft:entity.zombie.attack_wooden_door hostile @a ~ ~ ~ 1 2 | ||
playsound minecraft:entity.zombie.attack_wooden_door hostile @a ~ ~ ~ 1 0 | ||
playsound minecraft:entity.generic.explode hostile @a ~ ~ ~ 0.8 2 | ||
playsound minecraft:entity.firework_rocket.blast hostile @a ~ ~ ~ 1 0.5 |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/object/alias/2219/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/2219/register | ||
# | ||
# Objectのデータ指定処理のエイリアス | ||
# | ||
# @within asset_manager:object/summon/register.m | ||
|
||
# 元の登録処理を呼び出す | ||
function asset:object/2219.karmic_death/register |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/object/alias/2219/summon.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/2219/summon | ||
# | ||
# Object召喚処理のエイリアス | ||
# | ||
# @within asset_manager:object/summon/summon.m | ||
|
||
# 元の召喚処理を呼び出す | ||
function asset:object/2219.karmic_death/summon/ |
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/2219/tick | ||
# | ||
# Tick時処理のエイリアス | ||
# | ||
# @within asset_manager:object/tick/tick.m | ||
|
||
# 元のTick処理を呼び出す | ||
function asset:object/2219.karmic_death/tick/ |