Package net.minecraft.util.math
Class Box
java.lang.Object
net.minecraft.util.math.Box
- Mappings:
Namespace Name official bhbintermediary net/minecraft/class_231named net/minecraft/util/math/Box
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontract(double value) booleanexpand(double value) expand(double x, double y, double z) doubleinthashCode()intersection(Box box) booleanintersects(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) booleanintersects(Box box) booleanintersects(Vec3d vec1, Vec3d vec2) booleanintersectsXY(Vec3d vec) booleanintersectsXZ(Vec3d vec) booleanintersectsYZ(Vec3d vec) boolean(package private) Vec3dmethod_12111(double double2, Vec3d vec3d, Vec3d vec3d2) (package private) booleanmethod_12112(Vec3d vec3d, Vec3d vec3d2, Vec3d vec3d3) (package private) Vec3dmethod_12114(double double2, Vec3d vec3d, Vec3d vec3d2) (package private) Vec3dmethod_12117(double double2, Vec3d vec3d, Vec3d vec3d2) doublemethod_583(Box box, double double2) method_585(Vec3d vec1, Vec3d vec2) doublemethod_589(Box box, double double2) doublemethod_594(Box box, double double2) offset(double x, double y, double z) shrink(double x, double y, double z) stretch(double x, double y, double z) toString()withMaxY(double maxY)
-
Field Details
-
minX
public final double minX- Mappings:
Namespace Name Mixin selector official aLbhb;a:Dintermediary field_13256Lnet/minecraft/class_231;field_13256:Dnamed minXLnet/minecraft/util/math/Box;minX:D
-
minY
public final double minY- Mappings:
Namespace Name Mixin selector official bLbhb;b:Dintermediary field_13257Lnet/minecraft/class_231;field_13257:Dnamed minYLnet/minecraft/util/math/Box;minY:D
-
minZ
public final double minZ- Mappings:
Namespace Name Mixin selector official cLbhb;c:Dintermediary field_13258Lnet/minecraft/class_231;field_13258:Dnamed minZLnet/minecraft/util/math/Box;minZ:D
-
maxX
public final double maxX- Mappings:
Namespace Name Mixin selector official dLbhb;d:Dintermediary field_13259Lnet/minecraft/class_231;field_13259:Dnamed maxXLnet/minecraft/util/math/Box;maxX:D
-
maxY
public final double maxY- Mappings:
Namespace Name Mixin selector official eLbhb;e:Dintermediary field_13260Lnet/minecraft/class_231;field_13260:Dnamed maxYLnet/minecraft/util/math/Box;maxY:D
-
maxZ
public final double maxZ- Mappings:
Namespace Name Mixin selector official fLbhb;f:Dintermediary field_13261Lnet/minecraft/class_231;field_13261:Dnamed maxZLnet/minecraft/util/math/Box;maxZ:D
-
-
Constructor Details
-
Box
public Box(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) - Mappings:
Namespace Name Mixin selector official <init>Lbhb;<init>(DDDDDD)Vintermediary <init>Lnet/minecraft/class_231;<init>(DDDDDD)Vnamed <init>Lnet/minecraft/util/math/Box;<init>(DDDDDD)V
-
Box
- Mappings:
Namespace Name Mixin selector official <init>Lbhb;<init>(Let;)Vintermediary <init>Lnet/minecraft/class_231;<init>(Lnet/minecraft/class_2552;)Vnamed <init>Lnet/minecraft/util/math/Box;<init>(Lnet/minecraft/util/math/BlockPos;)V
-
Box
- Mappings:
Namespace Name Mixin selector official <init>Lbhb;<init>(Let;Let;)Vintermediary <init>Lnet/minecraft/class_231;<init>(Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;)Vnamed <init>Lnet/minecraft/util/math/Box;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)V
-
Box
- Mappings:
Namespace Name Mixin selector official <init>Lbhb;<init>(Lbhe;Lbhe;)Vintermediary <init>Lnet/minecraft/class_231;<init>(Lnet/minecraft/class_236;Lnet/minecraft/class_236;)Vnamed <init>Lnet/minecraft/util/math/Box;<init>(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)V
-
-
Method Details
-
withMaxY
- Mappings:
Namespace Name Mixin selector official eLbhb;e(D)Lbhb;intermediary method_12120Lnet/minecraft/class_231;method_12120(D)Lnet/minecraft/class_231;named withMaxYLnet/minecraft/util/math/Box;withMaxY(D)Lnet/minecraft/util/math/Box;
-
equals
-
hashCode
public int hashCode() -
shrink
- Mappings:
Namespace Name Mixin selector official aLbhb;a(DDD)Lbhb;intermediary method_13831Lnet/minecraft/class_231;method_13831(DDD)Lnet/minecraft/class_231;named shrinkLnet/minecraft/util/math/Box;shrink(DDD)Lnet/minecraft/util/math/Box;
-
stretch
- Mappings:
Namespace Name Mixin selector official bLbhb;b(DDD)Lbhb;intermediary method_580Lnet/minecraft/class_231;method_580(DDD)Lnet/minecraft/class_231;named stretchLnet/minecraft/util/math/Box;stretch(DDD)Lnet/minecraft/util/math/Box;
-
expand
- Mappings:
Namespace Name Mixin selector official cLbhb;c(DDD)Lbhb;intermediary method_587Lnet/minecraft/class_231;method_587(DDD)Lnet/minecraft/class_231;named expandLnet/minecraft/util/math/Box;expand(DDD)Lnet/minecraft/util/math/Box;
-
expand
- Mappings:
Namespace Name Mixin selector official gLbhb;g(D)Lbhb;intermediary method_12121Lnet/minecraft/class_231;method_12121(D)Lnet/minecraft/class_231;named expandLnet/minecraft/util/math/Box;expand(D)Lnet/minecraft/util/math/Box;
-
intersection
- Mappings:
Namespace Name Mixin selector official aLbhb;a(Lbhb;)Lbhb;intermediary method_13832Lnet/minecraft/class_231;method_13832(Lnet/minecraft/class_231;)Lnet/minecraft/class_231;named intersectionLnet/minecraft/util/math/Box;intersection(Lnet/minecraft/util/math/Box;)Lnet/minecraft/util/math/Box;
-
union
- Mappings:
Namespace Name Mixin selector official bLbhb;b(Lbhb;)Lbhb;intermediary method_5556Lnet/minecraft/class_231;method_5556(Lnet/minecraft/class_231;)Lnet/minecraft/class_231;named unionLnet/minecraft/util/math/Box;union(Lnet/minecraft/util/math/Box;)Lnet/minecraft/util/math/Box;
-
offset
- Mappings:
Namespace Name Mixin selector official dLbhb;d(DDD)Lbhb;intermediary method_596Lnet/minecraft/class_231;method_596(DDD)Lnet/minecraft/class_231;named offsetLnet/minecraft/util/math/Box;offset(DDD)Lnet/minecraft/util/math/Box;
-
offset
- Mappings:
Namespace Name Mixin selector official aLbhb;a(Let;)Lbhb;intermediary method_12113Lnet/minecraft/class_231;method_12113(Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;named offsetLnet/minecraft/util/math/Box;offset(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
-
offset
- Mappings:
Namespace Name Mixin selector official aLbhb;a(Lbhe;)Lbhb;intermediary method_13833Lnet/minecraft/class_231;method_13833(Lnet/minecraft/class_236;)Lnet/minecraft/class_231;named offsetLnet/minecraft/util/math/Box;offset(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Box;
-
method_583
- Mappings:
Namespace Name Mixin selector official aLbhb;a(Lbhb;D)Dintermediary method_583Lnet/minecraft/class_231;method_583(Lnet/minecraft/class_231;D)Dnamed method_583Lnet/minecraft/util/math/Box;method_583(Lnet/minecraft/util/math/Box;D)D
-
method_589
- Mappings:
Namespace Name Mixin selector official bLbhb;b(Lbhb;D)Dintermediary method_589Lnet/minecraft/class_231;method_589(Lnet/minecraft/class_231;D)Dnamed method_589Lnet/minecraft/util/math/Box;method_589(Lnet/minecraft/util/math/Box;D)D
-
method_594
- Mappings:
Namespace Name Mixin selector official cLbhb;c(Lbhb;D)Dintermediary method_594Lnet/minecraft/class_231;method_594(Lnet/minecraft/class_231;D)Dnamed method_594Lnet/minecraft/util/math/Box;method_594(Lnet/minecraft/util/math/Box;D)D
-
intersects
- Mappings:
Namespace Name Mixin selector official cLbhb;c(Lbhb;)Zintermediary method_12115Lnet/minecraft/class_231;method_12115(Lnet/minecraft/class_231;)Znamed intersectsLnet/minecraft/util/math/Box;intersects(Lnet/minecraft/util/math/Box;)Z
-
intersects
public boolean intersects(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) - Mappings:
Namespace Name Mixin selector official aLbhb;a(DDDDDD)Zintermediary method_12110Lnet/minecraft/class_231;method_12110(DDDDDD)Znamed intersectsLnet/minecraft/util/math/Box;intersects(DDDDDD)Z
-
intersects
- Mappings:
Namespace Name Mixin selector official aLbhb;a(Lbhe;Lbhe;)Zintermediary method_13403Lnet/minecraft/class_231;method_13403(Lnet/minecraft/class_236;Lnet/minecraft/class_236;)Znamed intersectsLnet/minecraft/util/math/Box;intersects(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Z
-
contains
- Mappings:
Namespace Name Mixin selector official bLbhb;b(Lbhe;)Zintermediary method_584Lnet/minecraft/class_231;method_584(Lnet/minecraft/class_236;)Znamed containsLnet/minecraft/util/math/Box;contains(Lnet/minecraft/util/math/Vec3d;)Z
-
getAverage
public double getAverage()- Mappings:
Namespace Name Mixin selector official aLbhb;a()Dintermediary method_586Lnet/minecraft/class_231;method_586()Dnamed getAverageLnet/minecraft/util/math/Box;getAverage()D
-
contract
- Mappings:
Namespace Name Mixin selector official hLbhb;h(D)Lbhb;intermediary method_12122Lnet/minecraft/class_231;method_12122(D)Lnet/minecraft/class_231;named contractLnet/minecraft/util/math/Box;contract(D)Lnet/minecraft/util/math/Box;
-
method_585
- Mappings:
Namespace Name Mixin selector official bLbhb;b(Lbhe;Lbhe;)Lbhc;intermediary method_585Lnet/minecraft/class_231;method_585(Lnet/minecraft/class_236;Lnet/minecraft/class_236;)Lnet/minecraft/class_234;named method_585Lnet/minecraft/util/math/Box;method_585(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/hit/BlockHitResult;
-
method_12112
- Mappings:
Namespace Name Mixin selector official aLbhb;a(Lbhe;Lbhe;Lbhe;)Zintermediary method_12112Lnet/minecraft/class_231;method_12112(Lnet/minecraft/class_236;Lnet/minecraft/class_236;Lnet/minecraft/class_236;)Znamed method_12112Lnet/minecraft/util/math/Box;method_12112(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Z
-
method_12111
- Mappings:
Namespace Name Mixin selector official aLbhb;a(DLbhe;Lbhe;)Lbhe;intermediary method_12111Lnet/minecraft/class_231;method_12111(DLnet/minecraft/class_236;Lnet/minecraft/class_236;)Lnet/minecraft/class_236;named method_12111Lnet/minecraft/util/math/Box;method_12111(DLnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
method_12114
- Mappings:
Namespace Name Mixin selector official bLbhb;b(DLbhe;Lbhe;)Lbhe;intermediary method_12114Lnet/minecraft/class_231;method_12114(DLnet/minecraft/class_236;Lnet/minecraft/class_236;)Lnet/minecraft/class_236;named method_12114Lnet/minecraft/util/math/Box;method_12114(DLnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
method_12117
- Mappings:
Namespace Name Mixin selector official cLbhb;c(DLbhe;Lbhe;)Lbhe;intermediary method_12117Lnet/minecraft/class_231;method_12117(DLnet/minecraft/class_236;Lnet/minecraft/class_236;)Lnet/minecraft/class_236;named method_12117Lnet/minecraft/util/math/Box;method_12117(DLnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
intersectsYZ
- Mappings:
Namespace Name Mixin selector official cLbhb;c(Lbhe;)Zintermediary method_12116Lnet/minecraft/class_231;method_12116(Lnet/minecraft/class_236;)Znamed intersectsYZLnet/minecraft/util/math/Box;intersectsYZ(Lnet/minecraft/util/math/Vec3d;)Z
-
intersectsXZ
- Mappings:
Namespace Name Mixin selector official dLbhb;d(Lbhe;)Zintermediary method_12118Lnet/minecraft/class_231;method_12118(Lnet/minecraft/class_236;)Znamed intersectsXZLnet/minecraft/util/math/Box;intersectsXZ(Lnet/minecraft/util/math/Vec3d;)Z
-
intersectsXY
- Mappings:
Namespace Name Mixin selector official eLbhb;e(Lbhe;)Zintermediary method_12119Lnet/minecraft/class_231;method_12119(Lnet/minecraft/class_236;)Znamed intersectsXYLnet/minecraft/util/math/Box;intersectsXY(Lnet/minecraft/util/math/Vec3d;)Z
-
toString
-
isInvalid
- Mappings:
Namespace Name Mixin selector official bLbhb;b()Zintermediary method_9343Lnet/minecraft/class_231;method_9343()Znamed isInvalidLnet/minecraft/util/math/Box;isInvalid()Z
-
getCenter
- Mappings:
Namespace Name Mixin selector official cLbhb;c()Lbhe;intermediary method_13404Lnet/minecraft/class_231;method_13404()Lnet/minecraft/class_236;named getCenterLnet/minecraft/util/math/Box;getCenter()Lnet/minecraft/util/math/Vec3d;
-