public class MutableBoundingBox
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
maxX |
int |
maxY |
int |
maxZ |
int |
minX |
int |
minY |
int |
minZ |
Constructor and Description |
---|
MutableBoundingBox() |
MutableBoundingBox(int[] coords) |
MutableBoundingBox(int xMin,
int zMin,
int xMax,
int zMax) |
MutableBoundingBox(int xMin,
int yMin,
int zMin,
int xMax,
int yMax,
int zMax) |
MutableBoundingBox(MutableBoundingBox structurebb) |
MutableBoundingBox(Vec3i vec1,
Vec3i vec2) |
Modifier and Type | Method and Description |
---|---|
static MutableBoundingBox |
createProper(int x1,
int y1,
int z1,
int x2,
int y2,
int z2) |
void |
expandTo(MutableBoundingBox sbb) |
Vec3i |
func_215126_f() |
MutableBoundingBox |
func_215127_b(int p_215127_1_,
int p_215127_2_,
int p_215127_3_) |
static MutableBoundingBox |
getComponentToAddBoundingBox(int structureMinX,
int structureMinY,
int structureMinZ,
int xMin,
int yMin,
int zMin,
int xMax,
int yMax,
int zMax,
Direction facing) |
Vec3i |
getLength() |
static MutableBoundingBox |
getNewBoundingBox() |
int |
getXSize() |
int |
getYSize() |
int |
getZSize() |
boolean |
intersectsWith(int minXIn,
int minZIn,
int maxXIn,
int maxZIn) |
boolean |
intersectsWith(MutableBoundingBox structurebb) |
boolean |
isVecInside(Vec3i vec) |
void |
offset(int x,
int y,
int z) |
IntArrayNBT |
toNBTTagIntArray() |
java.lang.String |
toString() |
public int minX
public int minY
public int minZ
public int maxX
public int maxY
public int maxZ
public MutableBoundingBox()
public MutableBoundingBox(int[] coords)
public MutableBoundingBox(MutableBoundingBox structurebb)
public MutableBoundingBox(int xMin, int yMin, int zMin, int xMax, int yMax, int zMax)
public MutableBoundingBox(int xMin, int zMin, int xMax, int zMax)
public static MutableBoundingBox getNewBoundingBox()
public static MutableBoundingBox getComponentToAddBoundingBox(int structureMinX, int structureMinY, int structureMinZ, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, Direction facing)
public static MutableBoundingBox createProper(int x1, int y1, int z1, int x2, int y2, int z2)
public boolean intersectsWith(MutableBoundingBox structurebb)
public boolean intersectsWith(int minXIn, int minZIn, int maxXIn, int maxZIn)
public void expandTo(MutableBoundingBox sbb)
public void offset(int x, int y, int z)
public MutableBoundingBox func_215127_b(int p_215127_1_, int p_215127_2_, int p_215127_3_)
public boolean isVecInside(Vec3i vec)
public Vec3i getLength()
public int getXSize()
public int getYSize()
public int getZSize()
public Vec3i func_215126_f()
public java.lang.String toString()
toString
in class java.lang.Object
public IntArrayNBT toNBTTagIntArray()