Class Cuboid
- java.lang.Object
-
- me.syncwrld.booter.minecraft.tool.location.Cuboid
-
public class Cuboid extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Cuboid(org.bukkit.Location point1, org.bukkit.Location point2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<org.bukkit.block.Block>blockList()org.bukkit.LocationgetCenter()doublegetDistance()doublegetDistanceSquared()intgetHeight()org.bukkit.LocationgetPoint1()org.bukkit.LocationgetPoint2()org.bukkit.LocationgetRandomLocation()intgetTotalBlockSize()intgetXWidth()intgetZWidth()booleanhasLocation(org.bukkit.Location loc)booleanisInWithMarge(org.bukkit.Location loc, double marge)booleanitsInside(org.bukkit.entity.Player player)
-
-
-
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)
-
-