Package net.minecraft.util.math
Class Vec2f
java.lang.Object
net.minecraft.util.math.Vec2f
An immutable vector composed of 2 floats.
- Mappings:
Namespace Name official dma
intermediary net/minecraft/class_241
named net/minecraft/util/math/Vec2f
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
method_35582(float float2)
float
method_35583(Vec2f vec2f)
float
method_35585(float float2)
method_35586(Vec2f vec2f)
float
float
method_35589(Vec2f vec2f)
-
Field Details
-
ZERO
- Mappings:
Namespace Name Mixin selector official a
Ldma;a:Ldma;
intermediary field_1340
Lnet/minecraft/class_241;field_1340:Lnet/minecraft/class_241;
named ZERO
Lnet/minecraft/util/math/Vec2f;ZERO:Lnet/minecraft/util/math/Vec2f;
-
SOUTH_EAST_UNIT
- Mappings:
Namespace Name Mixin selector official b
Ldma;b:Ldma;
intermediary field_1335
Lnet/minecraft/class_241;field_1335:Lnet/minecraft/class_241;
named SOUTH_EAST_UNIT
Lnet/minecraft/util/math/Vec2f;SOUTH_EAST_UNIT:Lnet/minecraft/util/math/Vec2f;
-
EAST_UNIT
- Mappings:
Namespace Name Mixin selector official c
Ldma;c:Ldma;
intermediary field_1341
Lnet/minecraft/class_241;field_1341:Lnet/minecraft/class_241;
named EAST_UNIT
Lnet/minecraft/util/math/Vec2f;EAST_UNIT:Lnet/minecraft/util/math/Vec2f;
-
WEST_UNIT
- Mappings:
Namespace Name Mixin selector official d
Ldma;d:Ldma;
intermediary field_1338
Lnet/minecraft/class_241;field_1338:Lnet/minecraft/class_241;
named WEST_UNIT
Lnet/minecraft/util/math/Vec2f;WEST_UNIT:Lnet/minecraft/util/math/Vec2f;
-
SOUTH_UNIT
- Mappings:
Namespace Name Mixin selector official e
Ldma;e:Ldma;
intermediary field_1336
Lnet/minecraft/class_241;field_1336:Lnet/minecraft/class_241;
named SOUTH_UNIT
Lnet/minecraft/util/math/Vec2f;SOUTH_UNIT:Lnet/minecraft/util/math/Vec2f;
-
NORTH_UNIT
- Mappings:
Namespace Name Mixin selector official f
Ldma;f:Ldma;
intermediary field_1344
Lnet/minecraft/class_241;field_1344:Lnet/minecraft/class_241;
named NORTH_UNIT
Lnet/minecraft/util/math/Vec2f;NORTH_UNIT:Lnet/minecraft/util/math/Vec2f;
-
MAX_SOUTH_EAST
- Mappings:
Namespace Name Mixin selector official g
Ldma;g:Ldma;
intermediary field_1337
Lnet/minecraft/class_241;field_1337:Lnet/minecraft/class_241;
named MAX_SOUTH_EAST
Lnet/minecraft/util/math/Vec2f;MAX_SOUTH_EAST:Lnet/minecraft/util/math/Vec2f;
-
MIN_SOUTH_EAST
- Mappings:
Namespace Name Mixin selector official h
Ldma;h:Ldma;
intermediary field_1339
Lnet/minecraft/class_241;field_1339:Lnet/minecraft/class_241;
named MIN_SOUTH_EAST
Lnet/minecraft/util/math/Vec2f;MIN_SOUTH_EAST:Lnet/minecraft/util/math/Vec2f;
-
x
public final float x- Mappings:
Namespace Name Mixin selector official i
Ldma;i:F
intermediary field_1343
Lnet/minecraft/class_241;field_1343:F
named x
Lnet/minecraft/util/math/Vec2f;x:F
-
y
public final float y- Mappings:
Namespace Name Mixin selector official j
Ldma;j:F
intermediary field_1342
Lnet/minecraft/class_241;field_1342:F
named y
Lnet/minecraft/util/math/Vec2f;y:F
-
-
Constructor Details
-
Vec2f
public Vec2f(float x, float y)- Mappings:
Namespace Name Mixin selector official <init>
Ldma;<init>(FF)V
intermediary <init>
Lnet/minecraft/class_241;<init>(FF)V
named <init>
Lnet/minecraft/util/math/Vec2f;<init>(FF)V
-
-
Method Details
-
method_35582
- Mappings:
Namespace Name Mixin selector official a
Ldma;a(F)Ldma;
intermediary method_35582
Lnet/minecraft/class_241;method_35582(F)Lnet/minecraft/class_241;
named method_35582
Lnet/minecraft/util/math/Vec2f;method_35582(F)Lnet/minecraft/util/math/Vec2f;
-
method_35583
- Mappings:
Namespace Name Mixin selector official a
Ldma;a(Ldma;)F
intermediary method_35583
Lnet/minecraft/class_241;method_35583(Lnet/minecraft/class_241;)F
named method_35583
Lnet/minecraft/util/math/Vec2f;method_35583(Lnet/minecraft/util/math/Vec2f;)F
-
method_35586
- Mappings:
Namespace Name Mixin selector official b
Ldma;b(Ldma;)Ldma;
intermediary method_35586
Lnet/minecraft/class_241;method_35586(Lnet/minecraft/class_241;)Lnet/minecraft/class_241;
named method_35586
Lnet/minecraft/util/math/Vec2f;method_35586(Lnet/minecraft/util/math/Vec2f;)Lnet/minecraft/util/math/Vec2f;
-
method_35585
- Mappings:
Namespace Name Mixin selector official b
Ldma;b(F)Ldma;
intermediary method_35585
Lnet/minecraft/class_241;method_35585(F)Lnet/minecraft/class_241;
named method_35585
Lnet/minecraft/util/math/Vec2f;method_35585(F)Lnet/minecraft/util/math/Vec2f;
-
equals
- Mappings:
Namespace Name Mixin selector official c
Ldma;c(Ldma;)Z
intermediary method_1016
Lnet/minecraft/class_241;method_1016(Lnet/minecraft/class_241;)Z
named equals
Lnet/minecraft/util/math/Vec2f;equals(Lnet/minecraft/util/math/Vec2f;)Z
-
method_35581
- Mappings:
Namespace Name Mixin selector official a
Ldma;a()Ldma;
intermediary method_35581
Lnet/minecraft/class_241;method_35581()Lnet/minecraft/class_241;
named method_35581
Lnet/minecraft/util/math/Vec2f;method_35581()Lnet/minecraft/util/math/Vec2f;
-
method_35584
public float method_35584()- Mappings:
Namespace Name Mixin selector official b
Ldma;b()F
intermediary method_35584
Lnet/minecraft/class_241;method_35584()F
named method_35584
Lnet/minecraft/util/math/Vec2f;method_35584()F
-
method_35587
public float method_35587()- Mappings:
Namespace Name Mixin selector official c
Ldma;c()F
intermediary method_35587
Lnet/minecraft/class_241;method_35587()F
named method_35587
Lnet/minecraft/util/math/Vec2f;method_35587()F
-
method_35589
- Mappings:
Namespace Name Mixin selector official d
Ldma;d(Ldma;)F
intermediary method_35589
Lnet/minecraft/class_241;method_35589(Lnet/minecraft/class_241;)F
named method_35589
Lnet/minecraft/util/math/Vec2f;method_35589(Lnet/minecraft/util/math/Vec2f;)F
-
method_35588
- Mappings:
Namespace Name Mixin selector official d
Ldma;d()Ldma;
intermediary method_35588
Lnet/minecraft/class_241;method_35588()Lnet/minecraft/class_241;
named method_35588
Lnet/minecraft/util/math/Vec2f;method_35588()Lnet/minecraft/util/math/Vec2f;
-