Class Vector2f

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

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

    • x

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

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

    • Vector2f

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

    • getX

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

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

      public String toString()
      Overrides:
      toString in class Object