public class StructureBoundingBox
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 |
---|
StructureBoundingBox() |
StructureBoundingBox(int[] coords) |
StructureBoundingBox(int xMin,
int zMin,
int xMax,
int zMax) |
StructureBoundingBox(int xMin,
int yMin,
int zMin,
int xMax,
int yMax,
int zMax) |
StructureBoundingBox(StructureBoundingBox structurebb) |
StructureBoundingBox(Vec3i vec1,
Vec3i vec2) |
Modifier and Type | Method and Description |
---|---|
static StructureBoundingBox |
createProper(int p_175899_0_,
int p_175899_1_,
int p_175899_2_,
int p_175899_3_,
int p_175899_4_,
int p_175899_5_) |
void |
expandTo(StructureBoundingBox sbb) |
Vec3i |
getCenter() |
static StructureBoundingBox |
getComponentToAddBoundingBox(int structureMinX,
int structureMinY,
int structureMinZ,
int xMin,
int yMin,
int zMin,
int xMax,
int yMax,
int zMax,
EnumFacing facing) |
Vec3i |
getLength() |
static StructureBoundingBox |
getNewBoundingBox() |
int |
getXSize() |
int |
getYSize() |
int |
getZSize() |
boolean |
intersectsWith(int minXIn,
int minZIn,
int maxXIn,
int maxZIn) |
boolean |
intersectsWith(StructureBoundingBox structurebb) |
boolean |
isVecInside(Vec3i vec) |
void |
offset(int x,
int y,
int z) |
NBTTagIntArray |
toNBTTagIntArray() |
java.lang.String |
toString() |
public int minX
public int minY
public int minZ
public int maxX
public int maxY
public int maxZ
public StructureBoundingBox()
public StructureBoundingBox(int[] coords)
public StructureBoundingBox(StructureBoundingBox structurebb)
public StructureBoundingBox(int xMin, int yMin, int zMin, int xMax, int yMax, int zMax)
public StructureBoundingBox(int xMin, int zMin, int xMax, int zMax)
public static StructureBoundingBox getNewBoundingBox()
public static StructureBoundingBox getComponentToAddBoundingBox(int structureMinX, int structureMinY, int structureMinZ, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, EnumFacing facing)
public static StructureBoundingBox createProper(int p_175899_0_, int p_175899_1_, int p_175899_2_, int p_175899_3_, int p_175899_4_, int p_175899_5_)
public boolean intersectsWith(StructureBoundingBox structurebb)
public boolean intersectsWith(int minXIn, int minZIn, int maxXIn, int maxZIn)
public void expandTo(StructureBoundingBox sbb)
public void offset(int x, int y, int z)
public boolean isVecInside(Vec3i vec)
public Vec3i getLength()
public int getXSize()
public int getYSize()
public int getZSize()
public Vec3i getCenter()
public java.lang.String toString()
toString
in class java.lang.Object
public NBTTagIntArray toNBTTagIntArray()