update Build Area
Updates the build area of a given world to the specified one. This will ensure that no players outside of this box will be added to high resolution view.
Parameters
world Id
the id of the world to set the build area of, with -1 being the root world.
build Area
the build area to assign.
fun updateBuildArea(worldId: Int, zoneX: Int, zoneZ: Int, widthInZones: Int = BuildArea.DEFAULT_BUILD_AREA_SIZE, heightInZones: Int = BuildArea.DEFAULT_BUILD_AREA_SIZE)
Updates the build area of a given world to the specified one. This will ensure that no players outside of this box will be added to high resolution view.
Parameters
world Id
the id of the world to set the build area of, with -1 being the root world.
zone X
the south-western zone x coordinate of the build area
zone Z
the south-western zone z coordinate of the build area
width In Zones
the build area width in zones (typically 13, meaning 104 tiles)
height In Zones
the build area height in zones (typically 13, meaning 104 tiles)