00ll00 6 anos atrás
pai
commit
0b8ad838d6

+ 3 - 1
data/ltw/functions/state/0/state_enter.mcfunction

@@ -12,4 +12,6 @@ team modify player friendlyFire false
 gamerule fallDamage false
 
 # 清理加载区域
-forceload remove all
+forceload remove all
+
+say state 0!

+ 2 - 0
data/ltw/functions/state/3/state_enter.mcfunction

@@ -19,3 +19,5 @@ data remove storage ltw:mini types[0]
 
 # 初始化小游戏
 function mini:main/game_init
+
+say state 3!

+ 2 - 0
data/ltw/functions/state/4/state_enter.mcfunction

@@ -9,3 +9,5 @@ scoreboard objectives setdisplay list total_score_disp
 
 # 初始化倒计时
 scoreboard players set $countdown mem 7
+
+say state 4!

+ 3 - 1
data/ltw/functions/state/5/state_enter.mcfunction

@@ -3,4 +3,6 @@ scoreboard players set $state mem 5
 execute as @a run function ltw:state/5/player_enter
 
 # 调用游戏开始
-function mini:main/game_start
+function mini:main/game_start
+
+say state 5!

+ 2 - 0
data/ltw/functions/state/6/state_enter.mcfunction

@@ -9,3 +9,5 @@ scoreboard objectives setdisplay list total_score_disp
 
 # 初始化倒计时
 scoreboard players set $countdown mem 5
+
+say state 6!

+ 2 - 0
data/ltw/functions/state/7/state_enter.mcfunction

@@ -17,3 +17,5 @@ setblock 0 11 2000 minecraft:redstone_block
 # 判断进入下一轮小游戏或结束
 execute if score $game_type mem matches 1 if score $round mem matches ..5 run function ltw:state/7/continue_gameparty
 execute if score $game_type mem matches 1 if score $round mem matches 6.. run function ltw:main/game_end
+
+say state 7!