Package net.minecraft.world.phys
Class AABB
java.lang.Object
net.minecraft.world.phys.AABB
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic BlockHitResultprivate static DirectionclipPoint(double[] p_82348_, Direction p_82349_, double p_82350_, double p_82351_, double p_82352_, double p_82353_, double p_82354_, double p_82355_, double p_82356_, double p_82357_, Direction p_82358_, double p_82359_, double p_82360_, double p_82361_) booleancontains(double p_82394_, double p_82395_, double p_82396_) booleancontract(double p_82311_, double p_82312_, double p_82313_) deflate(double p_82407_) deflate(double p_165898_, double p_165899_, double p_165900_) doubledistanceToSqr(Vec3 p_273572_) static AABBencapsulatingFullBlocks(BlockPos p_309165_, BlockPos p_308877_) booleanexpandTowards(double p_82364_, double p_82365_, double p_82366_) expandTowards(Vec3 p_82370_) private static DirectiongetDirection(AABB p_82326_, Vec3 p_82327_, double[] p_82328_, Direction p_82329_, double p_82330_, double p_82331_, double p_82332_) doublegetSize()doublegetXsize()doublegetYsize()doublegetZsize()inthashCode()booleanhasNaN()inflate(double p_82401_) inflate(double p_82378_, double p_82379_, double p_82380_) booleanintersects(double p_82315_, double p_82316_, double p_82317_, double p_82318_, double p_82319_, double p_82320_) booleanintersects(AABB p_82382_) booleanintersects(Vec3 p_82336_, Vec3 p_82337_) doublemax(Direction.Axis p_82375_) doublemin(Direction.Axis p_82341_) move(double p_82387_, double p_82388_, double p_82389_) static AABBof(BoundingBox p_82322_) static AABBsetMaxX(double p_165892_) setMaxY(double p_165894_) setMaxZ(double p_165896_) setMinX(double p_165881_) setMinY(double p_165888_) setMinZ(double p_165890_) toString()static AABBunitCubeFromLowerCorner(Vec3 p_82334_)  
- 
Field Details
- 
EPSILON
private static final double EPSILON- See Also:
 
 - 
minX
public final double minX - 
minY
public final double minY - 
minZ
public final double minZ - 
maxX
public final double maxX - 
maxY
public final double maxY - 
maxZ
public final double maxZ 
 - 
 - 
Constructor Details
- 
AABB
public AABB(double p_82295_, double p_82296_, double p_82297_, double p_82298_, double p_82299_, double p_82300_)  - 
AABB
 - 
AABB
 
 - 
 - 
Method Details
- 
of
 - 
unitCubeFromLowerCorner
 - 
encapsulatingFullBlocks
 - 
setMinX
 - 
setMinY
 - 
setMinZ
 - 
setMaxX
 - 
setMaxY
 - 
setMaxZ
 - 
min
 - 
max
 - 
equals
 - 
hashCode
public int hashCode() - 
contract
 - 
expandTowards
 - 
expandTowards
 - 
inflate
 - 
inflate
 - 
intersect
 - 
minmax
 - 
move
 - 
move
 - 
move
 - 
intersects
 - 
intersects
public boolean intersects(double p_82315_, double p_82316_, double p_82317_, double p_82318_, double p_82319_, double p_82320_)  - 
intersects
 - 
contains
 - 
contains
public boolean contains(double p_82394_, double p_82395_, double p_82396_)  - 
getSize
public double getSize() - 
getXsize
public double getXsize() - 
getYsize
public double getYsize() - 
getZsize
public double getZsize() - 
deflate
 - 
deflate
 - 
clip
 - 
clip
 - 
getDirection
 - 
clipPoint
@Nullable private static Direction clipPoint(double[] p_82348_, @Nullable Direction p_82349_, double p_82350_, double p_82351_, double p_82352_, double p_82353_, double p_82354_, double p_82355_, double p_82356_, double p_82357_, Direction p_82358_, double p_82359_, double p_82360_, double p_82361_)  - 
distanceToSqr
 - 
toString
 - 
hasNaN
public boolean hasNaN() - 
getCenter
 - 
ofSize
 
 -