LTCatt 6 years ago
parent
commit
2e25986606

+ 2 - 0
data/mini/functions/phantom/game_init.mcfunction

@@ -2,6 +2,8 @@
 forceload add 1000 6000 1064 6064
 
 scoreboard players set $finish_mode mem 0
+scoreboard players reset * kill_phantom
+scoreboard players reset * kill_phantom2
 
 # 调整时间
 time set 21000t

+ 0 - 2
data/mini/functions/phantom/game_start.mcfunction

@@ -1,4 +1,2 @@
 gamerule doDaylightCycle true
 scoreboard players set $countdown mem 110
-scoreboard players reset * kill_phantom
-scoreboard players reset * kill_phantom2

+ 1 - 0
data/mini/functions/slime/game_init.mcfunction

@@ -2,6 +2,7 @@
 forceload add 1000 7000 1064 7064
 
 scoreboard players set $finish_mode mem 0
+scoreboard players reset * slime_score
 
 # 生成地图
 setblock 1000 4 7000 minecraft:structure_block[mode=load]{metadata:"",mirror:"NONE",ignoreEntities:1b,powered:0b,seed:0L,author:"LTCat",rotation:"NONE",posX:0,mode:"LOAD",posY:1,sizeX:32,posZ:0,integrity:1.0f,showair:0b,name:"mini:slime",sizeY:7,sizeZ:32,showboundingbox:0b}

+ 1 - 2
data/mini/functions/slime/game_start.mcfunction

@@ -1,3 +1,2 @@
 function mini:slime/game/summon
-scoreboard players set $countdown mem 100
-scoreboard players reset * slime_score
+scoreboard players set $countdown mem 100