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
(Location center, double minRange, double maxRange) int
getFile()
int
double
double
boolean
getRandomLocation
(Location center, double minRange, double maxRange) void
void
void
setMaxRange
(double maxRange) void
setMinRange
(double minRange)
-
Constructor Details
-
RandomTeleport
-
-
Method Details
-
reloadConfig
public void reloadConfig()- Specified by:
reloadConfig
in interfaceIConf
-
getCenter
-
setCenter
-
getMinRange
public double getMinRange() -
setMinRange
public void setMinRange(double minRange) -
getMaxRange
public double getMaxRange() -
setMaxRange
public void setMaxRange(double maxRange) -
getExcludedBiomes
-
getFindAttempts
public int getFindAttempts() -
getCacheThreshold
public int getCacheThreshold() -
getPreCache
public boolean getPreCache() -
getCachedLocations
-
getRandomLocation
public CompletableFuture<Location> getRandomLocation(Location center, double minRange, double maxRange) -
cacheRandomLocations
-
getFile
-