Class Vector4f

java.lang.Object
net.minecraft.client.util.math.Vector4f

@Environment(CLIENT)
public class Vector4f
extends Object
Mappings:
Namespace Name
official h
intermediary net/minecraft/class_1162
named net/minecraft/client/util/math/Vector4f
  • Field Details

    • x

      private float x
      Mappings:
      Namespace Name Mixin selector
      official a Lh;a:F
      intermediary field_21486 Lnet/minecraft/class_1162;field_21486:F
      named x Lnet/minecraft/client/util/math/Vector4f;x:F
    • y

      private float y
      Mappings:
      Namespace Name Mixin selector
      official b Lh;b:F
      intermediary field_21487 Lnet/minecraft/class_1162;field_21487:F
      named y Lnet/minecraft/client/util/math/Vector4f;y:F
    • z

      private float z
      Mappings:
      Namespace Name Mixin selector
      official c Lh;c:F
      intermediary field_21488 Lnet/minecraft/class_1162;field_21488:F
      named z Lnet/minecraft/client/util/math/Vector4f;z:F
    • w

      private float w
      Mappings:
      Namespace Name Mixin selector
      official d Lh;d:F
      intermediary field_21489 Lnet/minecraft/class_1162;field_21489:F
      named w Lnet/minecraft/client/util/math/Vector4f;w:F
  • Constructor Details

    • Vector4f

      public Vector4f()
    • Vector4f

      public Vector4f​(float x, float y, float z, float w)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lh;<init>(FFFF)V
      intermediary <init> Lnet/minecraft/class_1162;<init>(FFFF)V
      named <init> Lnet/minecraft/client/util/math/Vector4f;<init>(FFFF)V
    • Vector4f

      public Vector4f​(Vec3f vector)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lh;<init>(Lg;)V
      intermediary <init> Lnet/minecraft/class_1162;<init>(Lnet/minecraft/class_1160;)V
      named <init> Lnet/minecraft/client/util/math/Vector4f;<init>(Lnet/minecraft/util/math/Vec3f;)V
  • Method Details

    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lh;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_1162;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/client/util/math/Vector4f;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Mappings:
      Namespace Name Mixin selector
      official hashCode Lh;hashCode()I
      intermediary hashCode Lnet/minecraft/class_1162;hashCode()I
      named hashCode Lnet/minecraft/client/util/math/Vector4f;hashCode()I
    • getX

      public float getX()
      Mappings:
      Namespace Name Mixin selector
      official a Lh;a()F
      intermediary method_4953 Lnet/minecraft/class_1162;method_4953()F
      named getX Lnet/minecraft/client/util/math/Vector4f;getX()F
    • getY

      public float getY()
      Mappings:
      Namespace Name Mixin selector
      official b Lh;b()F
      intermediary method_4956 Lnet/minecraft/class_1162;method_4956()F
      named getY Lnet/minecraft/client/util/math/Vector4f;getY()F
    • getZ

      public float getZ()
      Mappings:
      Namespace Name Mixin selector
      official c Lh;c()F
      intermediary method_4957 Lnet/minecraft/class_1162;method_4957()F
      named getZ Lnet/minecraft/client/util/math/Vector4f;getZ()F
    • getW

      public float getW()
      Mappings:
      Namespace Name Mixin selector
      official d Lh;d()F
      intermediary method_23853 Lnet/minecraft/class_1162;method_23853()F
      named getW Lnet/minecraft/client/util/math/Vector4f;getW()F
    • multiplyComponentwise

      public void multiplyComponentwise​(Vec3f vector)
      Mappings:
      Namespace Name Mixin selector
      official a Lh;a(Lg;)V
      intermediary method_4954 Lnet/minecraft/class_1162;method_4954(Lnet/minecraft/class_1160;)V
      named multiplyComponentwise Lnet/minecraft/client/util/math/Vector4f;multiplyComponentwise(Lnet/minecraft/util/math/Vec3f;)V
    • set

      public void set​(float x, float y, float z, float w)
      Mappings:
      Namespace Name Mixin selector
      official a Lh;a(FFFF)V
      intermediary method_23851 Lnet/minecraft/class_1162;method_23851(FFFF)V
      named set Lnet/minecraft/client/util/math/Vector4f;set(FFFF)V
    • dotProduct

      public float dotProduct​(Vector4f other)
      Mappings:
      Namespace Name Mixin selector
      official a Lh;a(Lh;)F
      intermediary method_23217 Lnet/minecraft/class_1162;method_23217(Lnet/minecraft/class_1162;)F
      named dotProduct Lnet/minecraft/client/util/math/Vector4f;dotProduct(Lnet/minecraft/client/util/math/Vector4f;)F
    • normalize

      public boolean normalize()
      Mappings:
      Namespace Name Mixin selector
      official e Lh;e()Z
      intermediary method_23218 Lnet/minecraft/class_1162;method_23218()Z
      named normalize Lnet/minecraft/client/util/math/Vector4f;normalize()Z
    • transform

      public void transform​(Matrix4f matrix)
      Mappings:
      Namespace Name Mixin selector
      official a Lh;a(Lb;)V
      intermediary method_22674 Lnet/minecraft/class_1162;method_22674(Lnet/minecraft/class_1159;)V
      named transform Lnet/minecraft/client/util/math/Vector4f;transform(Lnet/minecraft/util/math/Matrix4f;)V
    • rotate

      public void rotate​(Quaternion rotation)
      Mappings:
      Namespace Name Mixin selector
      official a Lh;a(Ld;)V
      intermediary method_23852 Lnet/minecraft/class_1162;method_23852(Lnet/minecraft/class_1158;)V
      named rotate Lnet/minecraft/client/util/math/Vector4f;rotate(Lnet/minecraft/util/math/Quaternion;)V
    • normalizeProjectiveCoordinates

      public void normalizeProjectiveCoordinates()
      Mappings:
      Namespace Name Mixin selector
      official f Lh;f()V
      intermediary method_23219 Lnet/minecraft/class_1162;method_23219()V
      named normalizeProjectiveCoordinates Lnet/minecraft/client/util/math/Vector4f;normalizeProjectiveCoordinates()V
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lh;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_1162;toString()Ljava/lang/String;
      named toString Lnet/minecraft/client/util/math/Vector4f;toString()Ljava/lang/String;