net.minecraft.world.phys

public class Vec2

ehm
net.minecraft.world.phys.Vec2
net.minecraft.class_241
net.minecraft.util.math.Vec2f
net.minecraft.src.C_3045_
net.minecraft.world.phys.Vec2F

Field summary

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

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)
m_165903_(float arg0)
public float
a(ehm arg0)
dot(Vec2 arg0)
method_35583(class_241 arg0)
dot(Vec2f vec)
m_165905_(C_3045_ arg0)
public Vec2
b(ehm arg0)
add(Vec2 arg0)
method_35586(class_241 arg0)
add(Vec2f vec)
m_165910_(C_3045_ arg0)
public Vec2
b(float arg0)
add(float arg0)
method_35585(float arg0)
add(float value)
m_165908_(float arg0)
public boolean
c(ehm arg0)
equals(Vec2 arg0)
method_1016(class_241 arg0)
equals(Vec2f other)
m_82476_(C_3045_ arg0)
public Vec2
a()
normalized()
method_35581()
normalize()
m_165902_()
public float
b()
length()
method_35584()
length()
m_165907_()
public float
c()
lengthSquared()
method_35587()
lengthSquared()
m_165912_()
public float
d(ehm arg0)
distanceToSqr(Vec2 arg0)
method_35589(class_241 arg0)
distanceSquared(Vec2f vec)
m_165914_(C_3045_ arg0)
public Vec2
d()
negated()
method_35588()
negate()
m_165913_()