public class MutableBoundingBox
extends java.lang.Object
コンストラクタと説明 |
---|
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) |
修飾子とタイプ | メソッドと説明 |
---|---|
static MutableBoundingBox |
createProper(int x1,
int y1,
int z1,
int x2,
int y2,
int z2) |
void |
expandTo(MutableBoundingBox sbb)
Expands a bounding box's dimensions to include the supplied bounding box.
|
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)
Create a bounding box with the specified dimensions and rotate it.
|
Vec3i |
getLength() |
static MutableBoundingBox |
getNewBoundingBox()
returns a new StructureBoundingBox with MAX values
|
int |
getXSize()
Get dimension of the bounding box in the x direction.
|
int |
getYSize()
Get dimension of the bounding box in the y direction.
|
int |
getZSize()
Get dimension of the bounding box in the z direction.
|
boolean |
intersectsWith(int minXIn,
int minZIn,
int maxXIn,
int maxZIn)
Discover if a coordinate is inside the bounding box area.
|
boolean |
intersectsWith(MutableBoundingBox structurebb)
Discover if bounding box can fit within the current bounding box object.
|
boolean |
isVecInside(Vec3i vec)
Checks if given Vec3i is inside of StructureBoundingBox
|
void |
offset(int x,
int y,
int z)
Offsets the current bounding box by the specified amount.
|
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
クラス内 java.lang.Object
public IntArrayNBT toNBTTagIntArray()