Package net.minecraft.util.math
Class Vec3d
java.lang.Object
net.minecraft.util.math.Vec3d
- Mappings:
Namespace Name official bbhintermediary net/minecraft/class_236named net/minecraft/util/math/Vec3d
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(double x, double y, double z) crossProduct(Vec3d vec) doubledistanceTo(Vec3d vec) doubledotProduct(Vec3d vec) booleaninthashCode()doublelength()method_12124(Vec3d vec3d, double double2) method_12125(Vec3d vec3d, double double2) doublemethod_12126(double double2, double double3, double double4) method_12127(Vec3d vec3d, double double2) multiply(double value) reverseSubtract(Vec3d vec) rotateX(float degrees) rotateY(float degrees) doublesquaredDistanceTo(Vec3d vec) subtract(double x, double y, double z) toString()
-
Field Details
-
ZERO
- Mappings:
Namespace Name Mixin selector official aLbbh;a:Lbbh;intermediary field_13262Lnet/minecraft/class_236;field_13262:Lnet/minecraft/class_236;named ZEROLnet/minecraft/util/math/Vec3d;ZERO:Lnet/minecraft/util/math/Vec3d;
-
x
public final double x- Mappings:
Namespace Name Mixin selector official bLbbh;b:Dintermediary field_605Lnet/minecraft/class_236;field_605:Dnamed xLnet/minecraft/util/math/Vec3d;x:D
-
y
public final double y- Mappings:
Namespace Name Mixin selector official cLbbh;c:Dintermediary field_606Lnet/minecraft/class_236;field_606:Dnamed yLnet/minecraft/util/math/Vec3d;y:D
-
z
public final double z- Mappings:
Namespace Name Mixin selector official dLbbh;d:Dintermediary field_607Lnet/minecraft/class_236;field_607:Dnamed zLnet/minecraft/util/math/Vec3d;z:D
-
-
Constructor Details
-
Vec3d
public Vec3d(double x, double y, double z) - Mappings:
Namespace Name Mixin selector official <init>Lbbh;<init>(DDD)Vintermediary <init>Lnet/minecraft/class_236;<init>(DDD)Vnamed <init>Lnet/minecraft/util/math/Vec3d;<init>(DDD)V
-
Vec3d
- Mappings:
Namespace Name Mixin selector official <init>Lbbh;<init>(Ldh;)Vintermediary <init>Lnet/minecraft/class_236;<init>(Lnet/minecraft/class_1167;)Vnamed <init>Lnet/minecraft/util/math/Vec3d;<init>(Lnet/minecraft/util/math/Vec3i;)V
-
-
Method Details
-
reverseSubtract
- Mappings:
Namespace Name Mixin selector official aLbbh;a(Lbbh;)Lbbh;intermediary method_6610Lnet/minecraft/class_236;method_6610(Lnet/minecraft/class_236;)Lnet/minecraft/class_236;named reverseSubtractLnet/minecraft/util/math/Vec3d;reverseSubtract(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
normalize
- Mappings:
Namespace Name Mixin selector official aLbbh;a()Lbbh;intermediary method_607Lnet/minecraft/class_236;method_607()Lnet/minecraft/class_236;named normalizeLnet/minecraft/util/math/Vec3d;normalize()Lnet/minecraft/util/math/Vec3d;
-
dotProduct
- Mappings:
Namespace Name Mixin selector official bLbbh;b(Lbbh;)Dintermediary method_610Lnet/minecraft/class_236;method_610(Lnet/minecraft/class_236;)Dnamed dotProductLnet/minecraft/util/math/Vec3d;dotProduct(Lnet/minecraft/util/math/Vec3d;)D
-
crossProduct
- Mappings:
Namespace Name Mixin selector official cLbbh;c(Lbbh;)Lbbh;intermediary method_6612Lnet/minecraft/class_236;method_6612(Lnet/minecraft/class_236;)Lnet/minecraft/class_236;named crossProductLnet/minecraft/util/math/Vec3d;crossProduct(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
subtract
- Mappings:
Namespace Name Mixin selector official dLbbh;d(Lbbh;)Lbbh;intermediary method_9348Lnet/minecraft/class_236;method_9348(Lnet/minecraft/class_236;)Lnet/minecraft/class_236;named subtractLnet/minecraft/util/math/Vec3d;subtract(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
subtract
- Mappings:
Namespace Name Mixin selector official aLbbh;a(DDD)Lbbh;intermediary method_9345Lnet/minecraft/class_236;method_9345(DDD)Lnet/minecraft/class_236;named subtractLnet/minecraft/util/math/Vec3d;subtract(DDD)Lnet/minecraft/util/math/Vec3d;
-
add
- Mappings:
Namespace Name Mixin selector official eLbbh;e(Lbbh;)Lbbh;intermediary method_9349Lnet/minecraft/class_236;method_9349(Lnet/minecraft/class_236;)Lnet/minecraft/class_236;named addLnet/minecraft/util/math/Vec3d;add(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
add
- Mappings:
Namespace Name Mixin selector official bLbbh;b(DDD)Lbbh;intermediary method_6611Lnet/minecraft/class_236;method_6611(DDD)Lnet/minecraft/class_236;named addLnet/minecraft/util/math/Vec3d;add(DDD)Lnet/minecraft/util/math/Vec3d;
-
distanceTo
- Mappings:
Namespace Name Mixin selector official fLbbh;f(Lbbh;)Dintermediary method_618Lnet/minecraft/class_236;method_618(Lnet/minecraft/class_236;)Dnamed distanceToLnet/minecraft/util/math/Vec3d;distanceTo(Lnet/minecraft/util/math/Vec3d;)D
-
squaredDistanceTo
- Mappings:
Namespace Name Mixin selector official gLbbh;g(Lbbh;)Dintermediary method_620Lnet/minecraft/class_236;method_620(Lnet/minecraft/class_236;)Dnamed squaredDistanceToLnet/minecraft/util/math/Vec3d;squaredDistanceTo(Lnet/minecraft/util/math/Vec3d;)D
-
method_12126
public double method_12126(double double2, double double3, double double4) - Mappings:
Namespace Name Mixin selector official cLbbh;c(DDD)Dintermediary method_12126Lnet/minecraft/class_236;method_12126(DDD)Dnamed method_12126Lnet/minecraft/util/math/Vec3d;method_12126(DDD)D
-
multiply
- Mappings:
Namespace Name Mixin selector official aLbbh;a(D)Lbbh;intermediary method_12123Lnet/minecraft/class_236;method_12123(D)Lnet/minecraft/class_236;named multiplyLnet/minecraft/util/math/Vec3d;multiply(D)Lnet/minecraft/util/math/Vec3d;
-
length
public double length()- Mappings:
Namespace Name Mixin selector official bLbbh;b()Dintermediary method_612Lnet/minecraft/class_236;method_612()Dnamed lengthLnet/minecraft/util/math/Vec3d;length()D
-
method_12124
- Mappings:
Namespace Name Mixin selector official aLbbh;a(Lbbh;D)Lbbh;intermediary method_12124Lnet/minecraft/class_236;method_12124(Lnet/minecraft/class_236;D)Lnet/minecraft/class_236;named method_12124Lnet/minecraft/util/math/Vec3d;method_12124(Lnet/minecraft/util/math/Vec3d;D)Lnet/minecraft/util/math/Vec3d;
-
method_12125
- Mappings:
Namespace Name Mixin selector official bLbbh;b(Lbbh;D)Lbbh;intermediary method_12125Lnet/minecraft/class_236;method_12125(Lnet/minecraft/class_236;D)Lnet/minecraft/class_236;named method_12125Lnet/minecraft/util/math/Vec3d;method_12125(Lnet/minecraft/util/math/Vec3d;D)Lnet/minecraft/util/math/Vec3d;
-
method_12127
- Mappings:
Namespace Name Mixin selector official cLbbh;c(Lbbh;D)Lbbh;intermediary method_12127Lnet/minecraft/class_236;method_12127(Lnet/minecraft/class_236;D)Lnet/minecraft/class_236;named method_12127Lnet/minecraft/util/math/Vec3d;method_12127(Lnet/minecraft/util/math/Vec3d;D)Lnet/minecraft/util/math/Vec3d;
-
equals
-
hashCode
public int hashCode() -
toString
-
rotateX
- Mappings:
Namespace Name Mixin selector official aLbbh;a(F)Lbbh;intermediary method_9346Lnet/minecraft/class_236;method_9346(F)Lnet/minecraft/class_236;named rotateXLnet/minecraft/util/math/Vec3d;rotateX(F)Lnet/minecraft/util/math/Vec3d;
-
rotateY
- Mappings:
Namespace Name Mixin selector official bLbbh;b(F)Lbbh;intermediary method_9347Lnet/minecraft/class_236;method_9347(F)Lnet/minecraft/class_236;named rotateYLnet/minecraft/util/math/Vec3d;rotateY(F)Lnet/minecraft/util/math/Vec3d;
-