Region

public class Region

Functions

getCurrentRegionID
Link copied to clipboard
static int getCurrentRegionID()
Gets the region id of the region the player is currently in
getInstancedTile
Link copied to clipboard
static Optional<WorldTilegetInstancedTile(Tile tile)
Gets the accurate WorldTile of a tile in an instance
getInstanceTemplateChunks
Link copied to clipboard
static Array<Array<Array<int>>> getInstanceTemplateChunks()
Gets instance template chunks
getLoadedRegions
Link copied to clipboard
static Array<int> getLoadedRegions()
Gets the loaded regions
isLoaded
Link copied to clipboard
static boolean isLoaded(int regionID)
Checks if the loaded regions contains the given region id