|
@@ -1,11 +1,11 @@
|
|
|
# 单个玩家开始小游戏时执行
|
|
# 单个玩家开始小游戏时执行
|
|
|
-gamemode creative
|
|
|
|
|
title @s clear
|
|
title @s clear
|
|
|
|
|
+title @s actionbar ""
|
|
|
|
|
|
|
|
# 状态效果
|
|
# 状态效果
|
|
|
effect clear @s
|
|
effect clear @s
|
|
|
effect give @s saturation 1000000 0 true
|
|
effect give @s saturation 1000000 0 true
|
|
|
-effect give @s instant_health 10 0 true
|
|
|
|
|
|
|
+gamerule naturalRegeneration true
|
|
|
effect give @s night_vision 1000000 0 true
|
|
effect give @s night_vision 1000000 0 true
|
|
|
effect give @s resistance 1000000 4 true
|
|
effect give @s resistance 1000000 4 true
|
|
|
|
|
|
|
@@ -25,7 +25,7 @@ gamemode adventure @s[tag=!watcher,tag=!rejoining]
|
|
|
# 设置玩家生命数量
|
|
# 设置玩家生命数量
|
|
|
scoreboard players set @s[tag=!watcher,tag=!rejoining] mini_heart 3
|
|
scoreboard players set @s[tag=!watcher,tag=!rejoining] mini_heart 3
|
|
|
function mini:main/player_max_health
|
|
function mini:main/player_max_health
|
|
|
-# TODO 灭火无效
|
|
|
|
|
|
|
+# TODO *灭火无效
|
|
|
|
|
|
|
|
# 重新加入处理
|
|
# 重新加入处理
|
|
|
execute if entity @s[tag=rejoining] run function mini:hotpm/player_lose_heart
|
|
execute if entity @s[tag=rejoining] run function mini:hotpm/player_lose_heart
|