net.minecraft.util.math

public enum Direction

implements StringIdentifiable

fz
net.minecraft.core.Direction
net.minecraft.class_2350
net.minecraft.util.math.Direction
net.minecraft.unmapped.C_xpuuihxf
net.minecraft.util.Direction
net.minecraft.util.Direction

Enum constant summary

Enum Constant
a
DOWN
field_11033
DOWN
f_xygjmnro
DOWN
DOWN
b
UP
field_11036
UP
f_zqbqkjxs
UP
UP
c
NORTH
field_11043
NORTH
f_aciyjvvi
NORTH
NORTH
d
SOUTH
field_11035
SOUTH
f_ndjtdfhn
SOUTH
SOUTH
e
WEST
field_11039
WEST
f_zfdkaecl
WEST
WEST
f
EAST
field_11034
EAST
f_logymkrj
EAST
EAST

Field summary

Modifier and TypeField
private final int
g
data3d
field_11032
id
f_xnopevsr
field_176748_g
index
private final int
h
oppositeIndex
field_11031
idOpposite
f_jqokexui
field_176759_h
opposite
private final int
i
data2d
field_11030
idHorizontal
f_wytgjiez
field_176760_i
horizontalIndex
private final String
j
name
field_11046
name
f_abqikats
field_176757_j
name
private final Direction$Axis
k
axis
field_11047
axis
f_cbbzbcev
field_176758_k
axis
private final Direction$AxisDirection
l
axisDirection
field_11044
direction
f_qmkvdeuo
field_176755_l
axisDirection
private final Vec3i
m
normal
field_11042
vector
f_yxdvzmgt
field_176756_m
directionVec
private static final Direction[]
n
VALUES
field_11040
ALL
f_xneestkm
field_199792_n
VALUES
private static final Map<String, Direction>
o
BY_NAME
field_11045
NAME_MAP
f_nxxmoaxm
field_176761_p
NAME_LOOKUP
private static final Direction[]
p
BY_3D_DATA
field_11038
VALUES
f_midvwggr
field_82609_l
BY_INDEX
private static final Direction[]
q
BY_2D_DATA
field_11041
HORIZONTAL
f_bqmoexgm
field_176754_o
BY_HORIZONTAL_INDEX
private static final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Direction>
r
BY_NORMAL
field_16542
VECTOR_TO_DIRECTION
f_nogydkkd
field_218387_r
BY_LONG

Constructor summary

ModifierConstructor
private (int arg0, int arg1, int id, String idOpposite, Direction$AxisDirection idHorizontal, Direction$Axis name, Vec3i direction)

Method summary

Modifier and TypeMethod
public static Direction[]
a(aom arg0)
orderedByNearest(Entity arg0)
method_10159(class_1297 arg0)
getEntityFacingOrder(Entity entity)
m_srfplate(C_astfners arg0)
func_196054_a(Entity arg0)
getFacingDirections(Entity entityIn)
private static Direction[]
a(fz arg0, fz arg1, fz arg2)
makeDirectionArray(Direction arg0, Direction arg1, Direction arg2)
method_10145(class_2350 arg0, class_2350 arg1, class_2350 arg2)
method_10145(Direction arg0, Direction arg1, Direction arg2)
m_pgajqvvm(C_xpuuihxf arg0, C_xpuuihxf arg1, C_xpuuihxf arg2)
func_196053_a(Direction arg0, Direction arg1, Direction arg2)
compose(Direction first, Direction second, Direction third)
public int
c()
get3DDataValue()
method_10146()
getId()
m_atdyqmtg()
func_176745_a()
getIndex()
public int
d()
get2DDataValue()
method_10161()
getHorizontal()
m_zlqwwplb()
func_176736_b()
getHorizontalIndex()
public Direction$AxisDirection
e()
getAxisDirection()
method_10171()
getDirection()
m_fsfcsxhu()
func_176743_c()
getAxisDirection()
public Direction
f()
getOpposite()
method_10153()
getOpposite()
m_buxxiflp()
func_176734_d()
getOpposite()
public Direction
g()
getClockWise()
method_10170()
rotateYClockwise()
m_osvadcjw()
func_176746_e()
rotateY()
public Direction
h()
getCounterClockWise()
method_10160()
rotateYCounterclockwise()
m_gdxixwix()
func_176735_f()
rotateYCCW()
public int
i()
getStepX()
method_10148()
getOffsetX()
m_oqyobyjy()
func_82601_c()
getXOffset()
public int
j()
getStepY()
method_10164()
getOffsetY()
m_lxrgvhbm()
func_96559_d()
getYOffset()
public int
k()
getStepZ()
method_10165()
getOffsetZ()
m_vyhskrab()
func_82599_e()
getZOffset()
public String
m()
getName()
method_10151()
getName()
m_rybsiiha()
func_176742_j()
getName2()
public Direction$Axis
n()
getAxis()
method_10166()
getAxis()
m_iuvhambs()
func_176740_k()
getAxis()
public static Direction
a(int arg0)
from3DDataValue(int arg0)
method_10143(int arg0)
byId(int id)
m_cmaqxlom(int arg0)
func_82600_a(int arg0)
byIndex(int index)
public static Direction
b(int arg0)
from2DDataValue(int arg0)
method_10139(int arg0)
fromHorizontal(int value)
m_dfjhoqwe(int arg0)
func_176731_b(int arg0)
byHorizontalIndex(int horizontalIndexIn)
public static Direction
a(int arg0, int arg1, int arg2)
fromNormal(int arg0, int arg1, int arg2)
method_16365(int arg0, int arg1, int arg2)
fromVector(int x, int y, int z)
m_ipxwfhsd(int arg0, int arg1, int arg2)
func_218383_a(int arg0, int arg1, int arg2)
byLong(int x, int y, int z)
public static Direction
a(double arg0)
fromYRot(double arg0)
method_10150(double arg0)
fromRotation(double rotation)
m_zdlrznbn(double arg0)
func_176733_a(double arg0)
fromAngle(double angle)
public static Direction
a(fz$a arg0, fz$b arg1)
fromAxisAndDirection(Direction$Axis arg0, Direction$AxisDirection arg1)
method_10169(class_2350$class_2351 arg0, class_2350$class_2352 arg1)
from(Direction$Axis axis, Direction$AxisDirection direction)
m_rzedosik(C_xpuuihxf$C_rmpfouoz arg0, C_xpuuihxf$C_ozjqcgqq arg1)
func_211699_a(Direction$Axis arg0, Direction$AxisDirection arg1)
getFacingFromAxisDirection(Direction$Axis axisIn, Direction$AxisDirection axisDirectionIn)
public float
o()
toYRot()
method_10144()
asRotation()
m_ylzomeem()
func_185119_l()
getHorizontalAngle()
public static Direction
a(Random arg0)
getRandom(Random arg0)
method_10162(Random arg0)
random(Random arg0)
m_gksmdspg(Random arg0)
func_239631_a_(Random arg0)
getRandomDirection(Random rand)
public static Direction
a(double arg0, double arg1, double arg2)
getNearest(double arg0, double arg1, double arg2)
method_10142(double arg0, double arg1, double arg2)
getFacing(double x, double y, double z)
m_tccwmyzb(double arg0, double arg1, double arg2)
func_210769_a(double arg0, double arg1, double arg2)
getFacingFromVector(double x, double y, double z)
public static Direction
a(float arg0, float arg1, float arg2)
getNearest(float arg0, float arg1, float arg2)
method_10147(float arg0, float arg1, float arg2)
getFacing(float x, float y, float z)
m_ldgaxwhd(float arg0, float arg1, float arg2)
func_176737_a(float arg0, float arg1, float arg2)
getFacingFromVector(float x, float y, float z)
public String
a()
getSerializedName()
method_15434()
asString()
m_dxbrenur()
func_176610_l()
getString()
public static Direction
a(fz$b arg0, fz$a arg1)
get(Direction$AxisDirection arg0, Direction$Axis arg1)
method_10156(class_2350$class_2352 arg0, class_2350$class_2351 arg1)
get(Direction$AxisDirection direction, Direction$Axis axis)
m_hntyvpnl(C_xpuuihxf$C_ozjqcgqq arg0, C_xpuuihxf$C_rmpfouoz arg1)
func_181076_a(Direction$AxisDirection arg0, Direction$Axis arg1)
getFacingFromAxis(Direction$AxisDirection axisDirectionIn, Direction$Axis axisIn)
public Vec3i
p()
getNormal()
method_10163()
getVector()
m_cikjuvmv()
func_176730_m()
getDirectionVec()
public static Direction
a(b arg0, fz arg1)
rotate(Matrix4f arg0, Direction arg1)
method_23225(class_1159 arg0, class_2350 arg1)
transform(Matrix4f arg0, Direction arg1)
m_nyqvqnqv(C_gxvddjib arg0, C_xpuuihxf arg1)
func_229385_a_(Matrix4f arg0, Direction arg1)
rotateFace(Matrix4f matrixIn, Direction directionIn)
public Quaternion
b()
getRotation()
method_23224()
getRotationQuaternion()
m_xwgdebbi()
func_229384_a_()
getRotation()
public Vector3f
l()
step()
method_23955()
getUnitVector()
m_iztsoygw()
func_229386_k_()
toVector3f()
public static Direction
a(String arg0)
byName(String arg0)
method_10168(String arg0)
byName(String name)
m_zriikhwb(String arg0)
func_176739_a(String arg0)
byName(String name)