Class Vector2f

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

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

    • x

      private final float x
      Mappings:
      Namespace Name Mixin selector
      official a Ledr;a:F
      intermediary field_27731 Lnet/minecraft/class_5611;field_27731:F
      named x Lnet/minecraft/client/util/math/Vector2f;x:F
    • y

      private final float y
      Mappings:
      Namespace Name Mixin selector
      official b Ledr;b:F
      intermediary field_27732 Lnet/minecraft/class_5611;field_27732:F
      named y Lnet/minecraft/client/util/math/Vector2f;y:F
  • Constructor Details

    • Vector2f

      public Vector2f​(float x, float y)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ledr;<init>(FF)V
      intermediary <init> Lnet/minecraft/class_5611;<init>(FF)V
      named <init> Lnet/minecraft/client/util/math/Vector2f;<init>(FF)V
  • Method Details

    • getX

      public float getX()
      Mappings:
      Namespace Name Mixin selector
      official a Ledr;a()F
      intermediary method_32118 Lnet/minecraft/class_5611;method_32118()F
      named getX Lnet/minecraft/client/util/math/Vector2f;getX()F
    • getY

      public float getY()
      Mappings:
      Namespace Name Mixin selector
      official b Ledr;b()F
      intermediary method_32119 Lnet/minecraft/class_5611;method_32119()F
      named getY Lnet/minecraft/client/util/math/Vector2f;getY()F
    • toString

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