@@ -9,6 +9,9 @@ effect give @s instant_health 10 0 true
effect give @s night_vision 1000000 0 true
effect give @s resistance 1000000 4 true
+# 设置血量上限
+execute as @a run attribute @s generic.max_health base set 20
+
# 冒险模式
gamemode adventure