Package com.earth2me.essentials
Class RandomTeleport
java.lang.Object
com.earth2me.essentials.RandomTeleport
- All Implemented Interfaces:
IConf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheRandomLocations
(String name) getCachedLocations
(String name) int
getFile()
int
double
getMaxRange
(String name) double
getMinRange
(String name) getRandomLocation
(String name) getRandomLocation
(Location center, double minRange, double maxRange) boolean
hasLocation
(String name) boolean
void
void
void
setMaxRange
(String name, double maxRange) void
setMinRange
(String name, double minRange)
-
Constructor Details
-
RandomTeleport
-
-
Method Details
-
getConfig
-
reloadConfig
public void reloadConfig()- Specified by:
reloadConfig
in interfaceIConf
-
hasLocation
-
getCenter
-
setCenter
-
getMinRange
-
setMinRange
-
getMaxRange
-
setMaxRange
-
getDefaultLocation
-
isPerLocationPermission
public boolean isPerLocationPermission() -
getExcludedBiomes
-
getFindAttempts
public int getFindAttempts() -
getCacheThreshold
public int getCacheThreshold() -
listLocations
-
getCachedLocations
-
getRandomLocation
-
getRandomLocation
public CompletableFuture<Location> getRandomLocation(Location center, double minRange, double maxRange) -
cacheRandomLocations
-
getFile
-