Package net.minecraft.util.math
Class MutableBoundingBox
java.lang.Object
net.minecraft.util.math.MutableBoundingBox
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMutableBoundingBox
(int[] p_i43000_1_) MutableBoundingBox
(int p_i2033_1_, int p_i2033_2_, int p_i2033_3_, int p_i2033_4_) MutableBoundingBox
(int p_i2032_1_, int p_i2032_2_, int p_i2032_3_, int p_i2032_4_, int p_i2032_5_, int p_i2032_6_) MutableBoundingBox
(MutableBoundingBox p_i2031_1_) MutableBoundingBox
(Vector3i p_i45626_1_, Vector3i p_i45626_2_) -
Method Summary
Modifier and TypeMethodDescriptionstatic MutableBoundingBox
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
expand
(MutableBoundingBox p_78888_1_) static MutableBoundingBox
int
getXSpan()
int
getYSpan()
int
getZSpan()
static MutableBoundingBox
infinite()
boolean
intersects
(int p_78885_1_, int p_78885_2_, int p_78885_3_, int p_78885_4_) boolean
intersects
(MutableBoundingBox p_78884_1_) boolean
void
move
(int p_78886_1_, int p_78886_2_, int p_78886_3_) void
moved
(int p_215127_1_, int p_215127_2_, int p_215127_3_) static MutableBoundingBox
orientBox
(int p_175897_0_, int p_175897_1_, int p_175897_2_, int p_175897_3_, int p_175897_4_, int p_175897_5_, int p_175897_6_, int p_175897_7_, int p_175897_8_, Direction p_175897_9_) toString()
-
Field Details
-
x0
public int x0 -
y0
public int y0 -
z0
public int z0 -
x1
public int x1 -
y1
public int y1 -
z1
public int z1
-
-
Constructor Details
-
MutableBoundingBox
public MutableBoundingBox() -
MutableBoundingBox
public MutableBoundingBox(int[] p_i43000_1_) -
MutableBoundingBox
-
MutableBoundingBox
public MutableBoundingBox(int p_i2032_1_, int p_i2032_2_, int p_i2032_3_, int p_i2032_4_, int p_i2032_5_, int p_i2032_6_) -
MutableBoundingBox
-
MutableBoundingBox
public MutableBoundingBox(int p_i2033_1_, int p_i2033_2_, int p_i2033_3_, int p_i2033_4_)
-
-
Method Details
-
getUnknownBox
-
infinite
-
orientBox
public static MutableBoundingBox orientBox(int p_175897_0_, int p_175897_1_, int p_175897_2_, int p_175897_3_, int p_175897_4_, int p_175897_5_, int p_175897_6_, int p_175897_7_, int p_175897_8_, Direction p_175897_9_) -
createProper
public static MutableBoundingBox 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_) -
intersects
-
intersects
public boolean intersects(int p_78885_1_, int p_78885_2_, int p_78885_3_, int p_78885_4_) -
expand
-
move
public void move(int p_78886_1_, int p_78886_2_, int p_78886_3_) -
moved
-
move
-
isInside
-
getLength
-
getXSpan
public int getXSpan() -
getYSpan
public int getYSpan() -
getZSpan
public int getZSpan() -
getCenter
-
toString
-
createTag
-