Package net.minecraft.util.math
Class Vec3d
java.lang.Object
net.minecraft.util.math.Vec3d
- Mappings:
Namespace Name official bheintermediary 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) booleanstatic Vec3dfromPolar(float x, float y) static Vec3dinthashCode()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) doublesubtract(double x, double y, double z) toString()
-
Field Details
-
ZERO
- Mappings:
Namespace Name Mixin selector official aLbhe;a:Lbhe;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 bLbhe;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 cLbhe;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 dLbhe;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>Lbhe;<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>Lbhe;<init>(Lfq;)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 aLbhe;a(Lbhe;)Lbhe;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 aLbhe;a()Lbhe;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 bLbhe;b(Lbhe;)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 cLbhe;c(Lbhe;)Lbhe;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 dLbhe;d(Lbhe;)Lbhe;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 aLbhe;a(DDD)Lbhe;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 eLbhe;e(Lbhe;)Lbhe;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 bLbhe;b(DDD)Lbhe;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 fLbhe;f(Lbhe;)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 gLbhe;g(Lbhe;)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 cLbhe;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 aLbhe;a(D)Lbhe;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 bLbhe;b()Dintermediary method_612Lnet/minecraft/class_236;method_612()Dnamed lengthLnet/minecraft/util/math/Vec3d;length()D
-
squaredLength
- Mappings:
Namespace Name Mixin selector official cLbhe;c()Dintermediary method_13407Lnet/minecraft/class_236;method_13407()Dnamed squaredLengthLnet/minecraft/util/math/Vec3d;squaredLength()D
-
method_12124
- Mappings:
Namespace Name Mixin selector official aLbhe;a(Lbhe;D)Lbhe;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 bLbhe;b(Lbhe;D)Lbhe;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 cLbhe;c(Lbhe;D)Lbhe;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 aLbhe;a(F)Lbhe;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 bLbhe;b(F)Lbhe;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;
-
fromPolar
- Mappings:
Namespace Name Mixin selector official aLbhe;a(Lbhd;)Lbhe;intermediary method_13406Lnet/minecraft/class_236;method_13406(Lnet/minecraft/class_3019;)Lnet/minecraft/class_236;named fromPolarLnet/minecraft/util/math/Vec3d;fromPolar(Lnet/minecraft/util/math/Vec2f;)Lnet/minecraft/util/math/Vec3d;
-
fromPolar
- Mappings:
Namespace Name Mixin selector official aLbhe;a(FF)Lbhe;intermediary method_13405Lnet/minecraft/class_236;method_13405(FF)Lnet/minecraft/class_236;named fromPolarLnet/minecraft/util/math/Vec3d;fromPolar(FF)Lnet/minecraft/util/math/Vec3d;
-