Class FunnyBox
java.lang.Object
net.dzikoysk.funnyguilds.shared.bukkit.FunnyBox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(double x, double y, double z) booleanbooleancontains(org.bukkit.Location position) booleancontains(org.bukkit.util.Vector position) booleancontains(org.bukkit.util.Vector min, org.bukkit.util.Vector max) expand(double expansion) expand(double x, double y, double z) expand(double dirX, double dirY, double dirZ, double expansion) expand(double negativeX, double negativeY, double negativeZ, double positiveX, double positiveY, double positiveZ) expand(org.bukkit.block.BlockFace blockFace, double expansion) expand(org.bukkit.util.Vector expansion) expand(org.bukkit.util.Vector direction, double expansion) expandDirectional(double dirX, double dirY, double dirZ) expandDirectional(org.bukkit.util.Vector direction) expandDirectional(org.bukkit.util.Vector direction1, org.bukkit.util.Vector direction2) org.bukkit.util.Vectordoubledoubledoubledoubleorg.bukkit.util.VectorgetMax()doublegetMaxX()doublegetMaxY()doublegetMaxZ()org.bukkit.util.VectorgetMin()doublegetMinX()doublegetMinY()doublegetMinZ()doubledoubledoubleintersection(FunnyBox other) static FunnyBoxof(org.bukkit.block.Block block) static FunnyBoxof(org.bukkit.Location center, double x, double y, double z) static FunnyBoxof(org.bukkit.Location corner1, org.bukkit.Location corner2) static FunnyBoxof(org.bukkit.util.Vector center, double x, double y, double z) static FunnyBoxof(org.bukkit.util.Vector corner1, org.bukkit.util.Vector corner2) booleanbooleanoverlaps(org.bukkit.util.Vector min, org.bukkit.util.Vector max) @Nullable org.bukkit.util.VectorrayTrace(org.bukkit.util.Vector start, org.bukkit.util.Vector direction, double stepSize, double maxDistance) resize(double x1, double y1, double z1, double x2, double y2, double z2) shift(double shiftX, double shiftY, double shiftZ) shift(org.bukkit.Location shift) shift(org.bukkit.util.Vector shift) union(double posX, double posY, double posZ) union(org.bukkit.Location position) union(org.bukkit.util.Vector position)
-
Constructor Details
-
FunnyBox
public FunnyBox() -
FunnyBox
public FunnyBox(double x1, double y1, double z1, double x2, double y2, double z2)
-
-
Method Details
-
of
-
of
-
of
-
of
-
of
-
resize
-
getMinX
public double getMinX() -
getMinY
public double getMinY() -
getMinZ
public double getMinZ() -
getMin
public org.bukkit.util.Vector getMin() -
getMaxX
public double getMaxX() -
getMaxY
public double getMaxY() -
getMaxZ
public double getMaxZ() -
getMax
public org.bukkit.util.Vector getMax() -
getWidthX
public double getWidthX() -
getWidthZ
public double getWidthZ() -
getHeight
public double getHeight() -
getVolume
public double getVolume() -
getCenterX
public double getCenterX() -
getCenterY
public double getCenterY() -
getCenterZ
public double getCenterZ() -
getCenter
public org.bukkit.util.Vector getCenter() -
expand
public FunnyBox expand(double negativeX, double negativeY, double negativeZ, double positiveX, double positiveY, double positiveZ) -
expand
-
expand
-
expand
-
expand
-
expand
-
expand
-
expandDirectional
-
expandDirectional
-
expandDirectional
public FunnyBox expandDirectional(org.bukkit.util.Vector direction1, org.bukkit.util.Vector direction2) -
union
-
union
-
union
-
shift
-
shift
-
shift
-
overlaps
public boolean overlaps(org.bukkit.util.Vector min, org.bukkit.util.Vector max) -
contains
public boolean contains(double x, double y, double z) -
contains
public boolean contains(org.bukkit.util.Vector position) -
contains
public boolean contains(org.bukkit.Location position) -
contains
public boolean contains(org.bukkit.util.Vector min, org.bukkit.util.Vector max) -
rayTrace
@Nullable public @Nullable org.bukkit.util.Vector rayTrace(org.bukkit.util.Vector start, org.bukkit.util.Vector direction, double stepSize, double maxDistance)
-