Skip to content

WorldCoordinateInput

interface WorldCoordinateInput
Example
fun tileOf(input: WorldCoordinateInput, height: Int): Tile3 = Tile3(input.x, input.z, height)
on_input<TileClickInput> { player ->
Logger.debug("${player.uuid} clicked ${tileOf(this, player.tile4.tile.height)}")
}
val x: Int
val z: Int
fun withWorldCoord(
x: Int,
z: Int
): IncomingGamePacket
fun toCrossShard(
shard: Int,
x: Int,
z: Int
): IncomingGamePacket