net.minecraft.core

public enum Direction

implements StringRepresentable

fp
net.minecraft.core.Direction
net.minecraft.class_2350
net.minecraft.unmapped.C_xpuuihxf
net.minecraft.util.math.Direction
net.minecraft.util.Direction
net.minecraft.server.v1_15_R1.EnumDirection

Enum constant summary

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

Field summary

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

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(akn arg0)
orderedByNearest(Entity arg0)
method_10159(class_1297 arg0)
m_srfplate(C_astfners arg0)
getEntityFacingOrder(Entity entity)
func_196054_a(Entity arg0)
private static Direction[]
a(fp arg0, fp arg1, fp arg2)
makeDirectionArray(Direction arg0, Direction arg1, Direction arg2)
method_10145(class_2350 arg0, class_2350 arg1, class_2350 arg2)
m_pgajqvvm(C_xpuuihxf arg0, C_xpuuihxf arg1, C_xpuuihxf arg2)
func_196053_a(Direction arg0, Direction arg1, Direction arg2)
public int
b()
get3DDataValue()
method_10146()
m_atdyqmtg()
getId()
func_176745_a()
public int
c()
get2DDataValue()
method_10161()
m_zlqwwplb()
getHorizontal()
func_176736_b()
get2DRotationValue()
public Direction$AxisDirection
d()
getAxisDirection()
method_10171()
m_fsfcsxhu()
getDirection()
func_176743_c()
public Direction
e()
getOpposite()
method_10153()
m_buxxiflp()
getOpposite()
func_176734_d()
opposite()
public Direction
f()
getClockWise()
method_10170()
m_osvadcjw()
rotateYClockwise()
func_176746_e()
public Direction
g()
getCounterClockWise()
method_10160()
m_gdxixwix()
rotateYCounterclockwise()
func_176735_f()
public int
h()
getStepX()
method_10148()
m_oqyobyjy()
getOffsetX()
func_82601_c()
getAdjacentX()
public int
i()
getStepY()
method_10164()
m_lxrgvhbm()
getOffsetY()
func_96559_d()
getAdjacentY()
public int
j()
getStepZ()
method_10165()
m_vyhskrab()
getOffsetZ()
func_82599_e()
getAdjacentZ()
public String
l()
getName()
method_10151()
m_rybsiiha()
getName()
func_176742_j()
public Direction$Axis
m()
getAxis()
method_10166()
m_iuvhambs()
getAxis()
func_176740_k()
public static Direction
a(int arg0)
from3DDataValue(int arg0)
method_10143(int arg0)
m_cmaqxlom(int arg0)
byId(int id)
func_82600_a(int arg0)
fromType1(int arg0)
public static Direction
b(int arg0)
from2DDataValue(int arg0)
method_10139(int arg0)
m_dfjhoqwe(int arg0)
fromHorizontal(int value)
func_176731_b(int arg0)
fromType2(int arg0)
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)
m_ipxwfhsd(int arg0, int arg1, int arg2)
fromVector(int x, int y, int z)
func_218383_a(int arg0, int arg1, int arg2)
public static Direction
a(double arg0)
fromYRot(double arg0)
method_10150(double arg0)
m_zdlrznbn(double arg0)
fromRotation(double rotation)
func_176733_a(double arg0)
fromAngle(double arg0)
public static Direction
a(fp$a arg0, fp$b arg1)
fromAxisAndDirection(Direction$Axis arg0, Direction$AxisDirection arg1)
method_10169(class_2350$class_2351 arg0, class_2350$class_2352 arg1)
m_rzedosik(C_xpuuihxf$C_rmpfouoz arg0, C_xpuuihxf$C_ozjqcgqq arg1)
from(Direction$Axis axis, Direction$AxisDirection direction)
func_211699_a(Direction$Axis arg0, Direction$AxisDirection arg1)
public float
n()
toYRot()
method_10144()
m_ylzomeem()
asRotation()
func_185119_l()
public static Direction
a(Random arg0)
getRandomFace(Random arg0)
method_10162(Random arg0)
m_nchcwyxn(Random arg0)
random(Random random)
func_176741_a(Random arg0)
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)
m_tccwmyzb(double arg0, double arg1, double arg2)
getFacing(double x, double arg1, double arg2)
func_210769_a(double arg0, double arg1, double arg2)
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)
m_ldgaxwhd(float arg0, float arg1, float arg2)
getFacing(float x, float y, float z)
func_176737_a(float arg0, float arg1, float arg2)
public String
o()
getSerializedName()
method_15434()
m_dxbrenur()
asString()
func_176610_l()
getName()
public static Direction
a(fp$b arg0, fp$a arg1)
get(Direction$AxisDirection arg0, Direction$Axis arg1)
method_10156(class_2350$class_2352 arg0, class_2350$class_2351 arg1)
m_hntyvpnl(C_xpuuihxf$C_ozjqcgqq arg0, C_xpuuihxf$C_rmpfouoz arg1)
get(Direction$AxisDirection direction, Direction$Axis axis)
func_181076_a(Direction$AxisDirection arg0, Direction$Axis arg1)
public Vec3i
p()
getNormal()
method_10163()
m_cikjuvmv()
getVector()
func_176730_m()
public static Direction
a(b arg0, fp arg1)
rotate(Matrix4f arg0, Direction arg1)
method_23225(class_1159 arg0, class_2350 arg1)
m_nyqvqnqv(C_gxvddjib arg0, C_xpuuihxf arg1)
transform(Matrix4f arg0, Direction arg1)
func_229385_a_(Matrix4f arg0, Direction arg1)
public Quaternion
a()
getRotation()
method_23224()
m_xwgdebbi()
getRotationQuaternion()
func_229384_a_()
public Vector3f
k()
step()
method_23955()
m_iztsoygw()
getUnitVector()
func_229386_k_()
public static Direction
a(String arg0)
byName(String arg0)
method_10168(String arg0)
m_zriikhwb(String arg0)
byName(String name)
func_176739_a(String arg0)