Class Vector2f

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

@Environment(CLIENT) public class Vector2f extends Object
Mappings:
Namespace Name
official feo
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 Lfeo;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 Lfeo;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> Lfeo;<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 Lfeo;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 Lfeo;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