소스 검색

更新大厅

00ll00 6 년 전
부모
커밋
6499db5f43
2개의 변경된 파일과 2개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 2
      data/ltw/functions/state/0/player_enter.mcfunction
  2. 1 4
      data/ltw/functions/state/0/tick5.mcfunction

+ 1 - 2
data/ltw/functions/state/0/player_enter.mcfunction

@@ -14,14 +14,13 @@ xp set @s 0 levels
 effect clear @s
 effect clear @s
 effect give @s saturation 1000000 0 true
 effect give @s saturation 1000000 0 true
 gamerule naturalRegeneration true
 gamerule naturalRegeneration true
-effect give @s night_vision 1000000 0 true
 effect give @s resistance 1000000 4 true
 effect give @s resistance 1000000 4 true
 
 
 # 冒险模式
 # 冒险模式
 gamemode adventure @s[tag=!debug]
 gamemode adventure @s[tag=!debug]
 
 
 # 传送玩家
 # 传送玩家
-tp @s[tag=!debug] 10 16 10
+tp @s[tag=!debug] -10 8 -42 68 -20
 
 
 # 刷新物品
 # 刷新物品
 clear @s[tag=!debug]
 clear @s[tag=!debug]

+ 1 - 4
data/ltw/functions/state/0/tick5.mcfunction

@@ -1,8 +1,5 @@
 # 判断玩家是否处于准备状态
 # 判断玩家是否处于准备状态
 tag @a remove hub_ready
 tag @a remove hub_ready
 tag @a remove hub_watch
 tag @a remove hub_watch
-execute as @a at @s if block ~ ~-1 ~ crimson_hyphae run tag @s add hub_ready
-execute as @a at @s if block ~ ~-2 ~ crimson_hyphae run tag @s add hub_ready
-execute as @a at @s if block ~ ~-1 ~ warped_hyphae run tag @s add hub_ready
-execute as @a at @s if block ~ ~-2 ~ warped_hyphae run tag @s add hub_ready
+tag @a[x=-24,y=8,z=-32,dx=5,dy=5,dz=5] add hub_ready
 tag @a[tag=!hub_ready] add hub_watch
 tag @a[tag=!hub_ready] add hub_watch