Skip to content

Commit

Permalink
🧑‍💻 Mobの現在体力を取得するAPIを作成
Browse files Browse the repository at this point in the history
  • Loading branch information
haiiro2gou committed Jul 21, 2024
1 parent f4e211d commit e8a1ad8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions TheSkyBlessing/data/api/functions/mob/get_health.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#> api:mob/get_health
#
# 実行Mobの現在体力を取得します
#
# @output storage api: Return.Health : float
# @api

execute store result storage api: Return.Health float 0.01 run scoreboard players get @s MobHealth

0 comments on commit e8a1ad8

Please sign in to comment.