Uses of Class
com.craftmend.openaudiomc.api.exceptions.UnknownWorldException
-
Uses of UnknownWorldException in com.craftmend.openaudiomc.api
Modifier and TypeMethodDescriptionvoid
WorldApi.registerRegion
(String worldName, String regionId, RegionMediaOptions regionMedia) Register a region in a world.void
WorldApi.registerTempRegion
(String worldName, String regionId, RegionMediaOptions regionMedia, int duration) Register a temporary region in a world Important: - this will overwrite current temporary regions - this will throw an invalid region exception if the region is not found - this will throw an unknown world exception if the world is not loaded - this will throw an invalid region exception if the region already has permanent media - this will throw an invalid thread exception if not called from the main thread