完善系统核心功能、添加here模块

This commit is contained in:
延皓
2022-07-08 09:18:06 +08:00
parent 4665599abb
commit 596ebd9d64
179 changed files with 391 additions and 328 deletions
@@ -0,0 +1,5 @@
scoreboard objectives add fz.module.health health
scoreboard objectives modify fz.module.health rendertype hearts
##
data modify storage fz:installed fz.module.health set value 1b
@@ -0,0 +1,5 @@
function #fz:module/health/set_health_name
execute unless data storage fz:config fz.module.health.display{below_name: 0b} run scoreboard objectives setdisplay belowName fz.module.health
execute if data storage fz:config fz.module.health.display{below_name: 0b} run scoreboard objectives setdisplay belowName
execute unless data storage fz:config fz.module.health.display{list: 0b} run scoreboard objectives setdisplay list fz.module.health
execute if data storage fz:config fz.module.health.display{list: 0b} run scoreboard objectives setdisplay list
@@ -0,0 +1 @@
scoreboard objectives modify fz.module.health displayname {"text": "血量", "color": "red"}
@@ -0,0 +1 @@
scoreboard objectives modify fz.module.health displayname {"text": "HP"}
@@ -0,0 +1 @@
scoreboard objectives modify fz.module.health displayname {"text": "厘米", "color": "gold"}
@@ -0,0 +1 @@
scoreboard objectives modify fz.module.health displayname {"text": "cm", "color": "gold"}
@@ -0,0 +1 @@
scoreboard objectives modify fz.module.health displayname {"text": "节操值", "color": "green"}
@@ -0,0 +1 @@
scoreboard objectives modify fz.module.health displayname {"text": "沙雕值", "color": "yellow"}
@@ -0,0 +1,5 @@
scoreboard objectives remove fz.module.health
data remove storage fz:config fz.module.health
##
data modify storage fz:installed fz.module.health set value 0b