Class RandomTeleport

java.lang.Object
com.earth2me.essentials.RandomTeleport
All Implemented Interfaces:
IConf

public class RandomTeleport extends Object implements IConf
  • Constructor Details

    • RandomTeleport

      public RandomTeleport(IEssentials essentials)
  • Method Details

    • reloadConfig

      public void reloadConfig()
      Specified by:
      reloadConfig in interface IConf
    • getCenter

      public Location getCenter()
    • setCenter

      public void setCenter(Location center)
    • getMinRange

      public double getMinRange()
    • setMinRange

      public void setMinRange(double minRange)
    • getMaxRange

      public double getMaxRange()
    • setMaxRange

      public void setMaxRange(double maxRange)
    • getExcludedBiomes

      public Set<String> getExcludedBiomes()
    • getFindAttempts

      public int getFindAttempts()
    • getCacheThreshold

      public int getCacheThreshold()
    • getPreCache

      public boolean getPreCache()
    • getCachedLocations

      public Queue<Location> getCachedLocations()
    • getRandomLocation

      public CompletableFuture<Location> getRandomLocation(Location center, double minRange, double maxRange)
    • cacheRandomLocations

      public void cacheRandomLocations(Location center, double minRange, double maxRange)
    • getFile

      public File getFile()