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.Location
getCenter()
double
getDistance()
double
getDistanceSquared()
int
getHeight()
org.bukkit.Location
getPoint1()
org.bukkit.Location
getPoint2()
org.bukkit.Location
getRandomLocation()
int
getTotalBlockSize()
int
getXWidth()
int
getZWidth()
boolean
hasLocation(org.bukkit.Location loc)
boolean
isInWithMarge(org.bukkit.Location loc, double marge)
boolean
itsInside(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)
-
-