net.minecraft.world.phys

public class Vec2

exb
net.minecraft.world.phys.Vec2
net.minecraft.class_241
net.minecraft.unmapped.C_krlwdsom
net.minecraft.util.math.Vec2f
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
f_serpaukv
ZERO
ZERO
f_82462_
public static final Vec2
b
ONE
field_1335
f_wzabrtss
SOUTH_EAST_UNIT
SOUTH_EAST_UNIT
f_82463_
public static final Vec2
c
UNIT_X
field_1341
f_bisxwlba
EAST_UNIT
EAST_UNIT
f_82464_
public static final Vec2
d
NEG_UNIT_X
field_1338
f_lplbfwcr
WEST_UNIT
WEST_UNIT
f_82465_
public static final Vec2
e
UNIT_Y
field_1336
f_aikhvfbk
SOUTH_UNIT
SOUTH_UNIT
f_82466_
public static final Vec2
f
NEG_UNIT_Y
field_1344
f_sskeuxtw
NORTH_UNIT
NORTH_UNIT
f_82467_
public static final Vec2
g
MAX
field_1337
f_npohzehm
MAX_SOUTH_EAST
MAX_SOUTH_EAST
f_82468_
public static final Vec2
h
MIN
field_1339
f_yrqoymfv
MIN_SOUTH_EAST
MIN_SOUTH_EAST
f_82469_
public final float
i
x
field_1343
f_zafgmwkm
x
x
f_82470_
public final float
j
y
field_1342
f_lmbnllws
y
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)
m_rqvkevya(float arg0)
multiply(float value)
multiply(float value)
m_165903_(float arg0)
public float
a(exb arg0)
dot(Vec2 arg0)
method_35583(class_241 arg0)
m_kmvsrtex(C_krlwdsom arg0)
dot(Vec2f vec)
dot(Vec2f vec)
m_165905_(C_3045_ arg0)
public Vec2
b(exb arg0)
add(Vec2 arg0)
method_35586(class_241 arg0)
m_gcgvdsyy(C_krlwdsom arg0)
add(Vec2f vec)
add(Vec2f vec)
m_165910_(C_3045_ arg0)
public Vec2
b(float arg0)
add(float arg0)
method_35585(float arg0)
m_yfxmmepf(float arg0)
add(float value)
add(float value)
m_165908_(float arg0)
public boolean
c(exb arg0)
equals(Vec2 arg0)
method_1016(class_241 arg0)
m_eqjpochp(C_krlwdsom arg0)
equals(Vec2f other)
equals(Vec2f other)
m_82476_(C_3045_ arg0)
public Vec2
a()
normalized()
method_35581()
m_ijkkhrgf()
normalize()
normalize()
m_165902_()
public float
b()
length()
method_35584()
m_gxoltqtc()
length()
length()
m_165907_()
public float
c()
lengthSquared()
method_35587()
m_xwdnqlvd()
lengthSquared()
lengthSquared()
m_165912_()
public float
d(exb arg0)
distanceToSqr(Vec2 arg0)
method_35589(class_241 arg0)
m_phpnwcfp(C_krlwdsom arg0)
distanceSquared(Vec2f vec)
distanceSquared(Vec2f vec)
m_165914_(C_3045_ arg0)
public Vec2
d()
negated()
method_35588()
m_uqzpbidh()
negate()
negate()
m_165913_()