-
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
20 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/mob/0152.desire/hurt/1.trigger.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,7 @@ | ||
#> asset:mob/0152.desire/hurt/1.trigger | ||
# | ||
# Mobの被ダメージに実行されるfunction | ||
# | ||
# @within tag/function asset:mob/hurt | ||
|
||
execute if data storage asset:context {id:152} run function asset:mob/0152.desire/hurt/2.hurt |
12 changes: 12 additions & 0 deletions
12
Asset/data/asset/functions/mob/0152.desire/hurt/2.hurt.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,12 @@ | ||
#> asset:mob/0152.desire/hurt/2.hurt | ||
# | ||
# Mobの被ダメージ時の処理 | ||
# | ||
# @within function asset:mob/0152.desire/hurt/1.trigger | ||
|
||
# 演出 | ||
particle minecraft:cloud ~ ~1.3 ~ 0 0 0 0.05 20 | ||
particle dragon_breath ~ ~1.3 ~ 0 0 0 0.05 30 | ||
playsound minecraft:entity.evoker.cast_spell hostile @a ~ ~ ~ 0.7 1 | ||
playsound minecraft:entity.evoker.cast_spell hostile @a ~ ~ ~ 0.7 0.8 | ||
playsound minecraft:entity.evoker.cast_spell hostile @a ~ ~ ~ 0.7 0.6 |
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