Class TeleportUtils


  • public final class TeleportUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.bukkit.Location getHighestRandomLocation​(org.bukkit.World world, int maxBound, int minBound)  
      static org.bukkit.Location getHighestRandomLocation​(org.bukkit.World world, int maxBound, int minBound, org.bukkit.HeightMap heightMap)  
      static void toSafeSpawnLocation​(org.bukkit.entity.Player player, int maxBound, int minBound)  
      static void toSafeSpawnLocation​(org.bukkit.Location center, org.bukkit.entity.Player player, int maxBound, int minBound)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toSafeSpawnLocation

        public static void toSafeSpawnLocation​(org.bukkit.entity.Player player,
                                               int maxBound,
                                               int minBound)
      • toSafeSpawnLocation

        public static void toSafeSpawnLocation​(org.bukkit.Location center,
                                               org.bukkit.entity.Player player,
                                               int maxBound,
                                               int minBound)
      • getHighestRandomLocation

        public static org.bukkit.Location getHighestRandomLocation​(org.bukkit.World world,
                                                                   int maxBound,
                                                                   int minBound)
      • getHighestRandomLocation

        public static org.bukkit.Location getHighestRandomLocation​(org.bukkit.World world,
                                                                   int maxBound,
                                                                   int minBound,
                                                                   org.bukkit.HeightMap heightMap)