Package net.minecraft.util.math
Class MutableBoundingBox
- java.lang.Object
-
- net.minecraft.util.math.MutableBoundingBox
-
public class MutableBoundingBox extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MutableBoundingBox()
MutableBoundingBox(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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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_)
IntArrayNBT
createTag()
void
expand(MutableBoundingBox p_78888_1_)
Vector3i
getCenter()
Vector3i
getLength()
static MutableBoundingBox
getUnknownBox()
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
isInside(Vector3i p_175898_1_)
void
move(int p_78886_1_, int p_78886_2_, int p_78886_3_)
void
move(Vector3i p_236989_1_)
MutableBoundingBox
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_)
java.lang.String
toString()
-
-
-
Constructor Detail
-
MutableBoundingBox
public MutableBoundingBox()
-
MutableBoundingBox
public MutableBoundingBox(int[] p_i43000_1_)
-
MutableBoundingBox
public MutableBoundingBox(MutableBoundingBox p_i2031_1_)
-
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
public MutableBoundingBox(int p_i2033_1_, int p_i2033_2_, int p_i2033_3_, int p_i2033_4_)
-
-
Method Detail
-
getUnknownBox
public static MutableBoundingBox getUnknownBox()
-
infinite
public static MutableBoundingBox 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
public boolean intersects(MutableBoundingBox p_78884_1_)
-
intersects
public boolean intersects(int p_78885_1_, int p_78885_2_, int p_78885_3_, int p_78885_4_)
-
expand
public void expand(MutableBoundingBox p_78888_1_)
-
move
public void move(int p_78886_1_, int p_78886_2_, int p_78886_3_)
-
moved
public MutableBoundingBox moved(int p_215127_1_, int p_215127_2_, int p_215127_3_)
-
move
public void move(Vector3i p_236989_1_)
-
isInside
public boolean isInside(Vector3i p_175898_1_)
-
getLength
public Vector3i getLength()
-
getXSpan
public int getXSpan()
-
getYSpan
public int getYSpan()
-
getZSpan
public int getZSpan()
-
getCenter
public Vector3i getCenter()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
createTag
public IntArrayNBT createTag()
-
-