# 观察者限制飞行范围 execute as @a[gamemode=spectator,x=1022,y=27,z=3022,distance=21..] run spectate tp @a[gamemode=spectator,x=1022,y=27,z=3022,distance=21..,tag=!debug] 1022 29 3038 180 0