# GTP # options: xMin: -1000 xMax: 1000 zMin: -1000 zMax: 1000 radius: 3 world: world tpblock: note block tpbutton: stone button on rightclick on {@tpbutton}: if block behind target block is {@tpblock}: loop all players in radius {@radius} around the player: set {_x} to random integer between {@xmin} and {@xmax} set {_y} to 256 set {_z} to random integer between {@zmin} and {@zmax} set {_tp} to location at {_x}, {_y}, {_z} if biome at {_tp} is not ocean or river or deep ocean: teleport loop-player to {_tp} loop 256 times: if block under loop-player is air: teleport loop-player to under loop-player