Class Cuboid


  • public class Cuboid
    extends java.lang.Object
    • Constructor Detail

      • Cuboid

        public Cuboid​(org.bukkit.Location point1,
                      org.bukkit.Location point2)
    • Method Detail

      • blockList

        public java.util.Iterator<org.bukkit.block.Block> blockList()
      • getCenter

        public org.bukkit.Location getCenter()
      • getDistance

        public double getDistance()
      • getDistanceSquared

        public double getDistanceSquared()
      • getHeight

        public int getHeight()
      • getPoint1

        public org.bukkit.Location getPoint1()
      • getPoint2

        public org.bukkit.Location getPoint2()
      • getRandomLocation

        public org.bukkit.Location getRandomLocation()
      • getTotalBlockSize

        public int getTotalBlockSize()
      • getXWidth

        public int getXWidth()
      • getZWidth

        public int getZWidth()
      • hasLocation

        public boolean hasLocation​(org.bukkit.Location loc)
      • itsInside

        public boolean itsInside​(org.bukkit.entity.Player player)
      • isInWithMarge

        public boolean isInWithMarge​(org.bukkit.Location loc,
                                     double marge)