-
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
1 parent
1cb7285
commit 41a6b30
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
TheSkyBlessing/data/api/functions/damage/core/modify/non-player_manual.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 @@ | ||
#> api:damage/core/modify/non-player_manual | ||
# | ||
# | ||
# | ||
# @within function api:damage/modifier_manual | ||
|
||
execute store result score $LatestModifiedEntity MobUUID run data get storage api: Argument.MobUUID |
14 changes: 14 additions & 0 deletions
14
TheSkyBlessing/data/api/functions/damage/modifier_manual.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,14 @@ | ||
#> api:damage/modifier_manual | ||
# | ||
# MobUUID を明示的に指定して modifier を実行します。 | ||
# | ||
# この関数は事前に MobUUID がわかっている際に活用することが出来ます。 | ||
# | ||
# @input storage api: | ||
# Argument.MobUUID: int | ||
# @api | ||
|
||
# 引数チェック | ||
execute unless data storage api: Argument.MobUUID run tellraw @a [{"storage":"global","nbt":"Prefix.ERROR"},{"text":"引数が足りません","color":"white"},{"text":" MobUUID","color":"red"}] | ||
|
||
function api:damage/core/modify/non-player_manual |