net.minecraft.world.phys

public class Vec2

fba
net.minecraft.world.phys.Vec2
net.minecraft.class_241
net.minecraft.util.math.Vec2f
net.minecraft.world.phys.Vec2F

Field summary

Modifier and TypeField
public static final Vec2
a
ZERO
field_1340
ZERO
public static final Vec2
b
ONE
field_1335
SOUTH_EAST_UNIT
public static final Vec2
c
UNIT_X
field_1341
EAST_UNIT
public static final Vec2
d
NEG_UNIT_X
field_1338
WEST_UNIT
public static final Vec2
e
UNIT_Y
field_1336
SOUTH_UNIT
public static final Vec2
f
NEG_UNIT_Y
field_1344
NORTH_UNIT
public static final Vec2
g
MAX
field_1337
MAX_SOUTH_EAST
public static final Vec2
h
MIN
field_1339
MIN_SOUTH_EAST
public final float
i
x
field_1343
x
public final float
j
y
field_1342
y

Constructor summary

ModifierConstructor
public (float x, float y)

Method summary

Modifier and TypeMethod
public Vec2
a(float arg0)
scale(float arg0)
method_35582(float arg0)
multiply(float value)
public float
a(fba arg0)
dot(Vec2 arg0)
method_35583(class_241 arg0)
dot(Vec2f vec)
public Vec2
b(fba arg0)
add(Vec2 arg0)
method_35586(class_241 arg0)
add(Vec2f vec)
public Vec2
b(float arg0)
add(float arg0)
method_35585(float arg0)
add(float value)
public boolean
c(fba arg0)
equals(Vec2 arg0)
method_1016(class_241 arg0)
equals(Vec2f other)
public Vec2
a()
normalized()
method_35581()
normalize()
public float
b()
length()
method_35584()
length()
public float
c()
lengthSquared()
method_35587()
lengthSquared()
public float
d(fba arg0)
distanceToSqr(Vec2 arg0)
method_35589(class_241 arg0)
distanceSquared(Vec2f vec)
public Vec2
d()
negated()
method_35588()
negate()