net.minecraft.util.math

public enum Direction

implements StringIdentifiable

fa
net.minecraft.class_2350
net.minecraft.util.math.Direction
net.minecraft.util.math.Direction
net.minecraft.util.Direction
net.minecraft.util.Direction

Enum constant summary

Enum Constant
a
field_11033
DOWN
DOWN
DOWN
DOWN
b
field_11036
UP
UP
UP
UP
c
field_11043
NORTH
NORTH
NORTH
NORTH
d
field_11035
SOUTH
SOUTH
SOUTH
SOUTH
e
field_11039
WEST
WEST
WEST
WEST
f
field_11034
EAST
EAST
EAST
EAST

Field summary

Modifier and TypeField
private final int
g
field_11032
id
id
field_176748_g
index
private final int
h
field_11031
idOpposite
opposite
field_176759_h
opposite
private final int
i
field_11030
idHorizontal
idHorizontal
field_176760_i
horizontalIndex
private final String
j
field_11046
name
key
field_176757_j
name
private final Direction$Axis
k
field_11047
axis
axis
field_176758_k
axis
private final Direction$AxisDirection
l
field_11044
direction
axisDir
field_176755_l
axisDirection
private final Vec3i
m
field_11042
vector
normal
field_176756_m
directionVec
private static final Direction[]
n
field_11040
ALL
ALL
field_199792_n
VALUES
private static final Map<String, Direction>
o
field_11045
NAME_MAP
BY_KEY
field_176761_p
NAME_LOOKUP
private static final Direction[]
p
field_11038
ID_TO_DIRECTION
BY_ID
field_82609_l
BY_INDEX
private static final Direction[]
q
field_11041
HORIZONTAL
BY_ID_HORIZONTAL
field_176754_o
BY_HORIZONTAL_INDEX
private static final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Direction>
r
field_16542
VECTOR_TO_DIRECTION
f_65559930
field_218387_r
field_218387_r

Constructor summary

ModifierConstructor
private (int arg0, int arg1, int id, String opposite, Direction$AxisDirection idHorizontal, Direction$Axis key, Vec3i axisDir)

Method summary

Modifier and TypeMethod
public static Direction[]
a(ail arg0)
method_10159(class_1297 arg0)
getEntityFacingOrder(Entity arg0)
getFacingOrder(Entity entity)
func_196054_a(Entity arg0)
getFacingDirections(Entity entityIn)
private static Direction[]
a(fa arg0, fa arg1, fa arg2)
method_10145(class_2350 arg0, class_2350 arg1, class_2350 arg2)
method_10145(Direction arg0, Direction arg1, Direction arg2)
buildArray(Direction dir1, Direction dir2, Direction dir3)
func_196053_a(Direction arg0, Direction arg1, Direction arg2)
compose(Direction first, Direction second, Direction third)
public int
a()
method_10146()
getId()
getId()
func_176745_a()
getIndex()
public int
b()
method_10161()
getHorizontal()
getIdHorizontal()
func_176736_b()
getHorizontalIndex()
public Direction$AxisDirection
c()
method_10171()
getDirection()
getAxisDirection()
func_176743_c()
getAxisDirection()
public Direction
d()
method_10153()
getOpposite()
getOpposite()
func_176734_d()
getOpposite()
public Direction
e()
method_10170()
rotateYClockwise()
clockwiseY()
func_176746_e()
rotateY()
public Direction
f()
method_10160()
rotateYCounterclockwise()
counterClockwiseY()
func_176735_f()
rotateYCCW()
public int
g()
method_10148()
getOffsetX()
getOffsetX()
func_82601_c()
getXOffset()
public int
h()
method_10164()
getOffsetY()
getOffsetY()
func_96559_d()
getYOffset()
public int
i()
method_10165()
getOffsetZ()
getOffsetZ()
func_82599_e()
getZOffset()
public String
j()
method_10151()
getName()
getKey()
func_176742_j()
getName2()
public Direction$Axis
k()
method_10166()
getAxis()
getAxis()
func_176740_k()
getAxis()
public static Direction
a(int arg0)
method_10143(int arg0)
byId(int arg0)
byId(int id)
func_82600_a(int arg0)
byIndex(int index)
public static Direction
b(int arg0)
method_10139(int arg0)
fromHorizontal(int arg0)
byIdHorizontal(int id)
func_176731_b(int arg0)
byHorizontalIndex(int horizontalIndexIn)
public static Direction
a(int arg0, int arg1, int arg2)
method_16365(int arg0, int arg1, int arg2)
fromVector(int arg0, int arg1, int arg2)
m_03449521(int arg0, int arg1, int arg2)
func_218383_a(int arg0, int arg1, int arg2)
func_218383_a(int arg0, int arg1, int arg2)
public static Direction
a(double arg0)
method_10150(double arg0)
fromRotation(double arg0)
byRotation(double rotation)
func_176733_a(double arg0)
fromAngle(double angle)
public static Direction
a(fa$a arg0, fa$b arg1)
method_10169(class_2350$class_2351 arg0, class_2350$class_2352 arg1)
from(Direction$Axis arg0, Direction$AxisDirection arg1)
of(Direction$Axis axis, Direction$AxisDirection dir)
func_211699_a(Direction$Axis arg0, Direction$AxisDirection arg1)
getFacingFromAxisDirection(Direction$Axis axisIn, Direction$AxisDirection axisDirectionIn)
public float
l()
method_10144()
asRotation()
getRotation()
func_185119_l()
getHorizontalAngle()
public static Direction
a(Random arg0)
method_10162(Random arg0)
random(Random arg0)
pick(Random random)
func_176741_a(Random arg0)
random(Random rand)
public static Direction
a(double arg0, double arg1, double arg2)
method_10142(double arg0, double arg1, double arg2)
getFacing(double arg0, double arg1, double arg2)
getNearest(double dx, double dy, double dz)
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)
method_10147(float arg0, float arg1, float arg2)
getFacing(float arg0, float arg1, float arg2)
getNearest(float dx, float dy, float dz)
func_176737_a(float arg0, float arg1, float arg2)
getFacingFromVector(float x, float y, float z)
public String
m()
method_15434()
asString()
getSerializedName()
func_176610_l()
getName()
public static Direction
a(fa$b arg0, fa$a arg1)
method_10156(class_2350$class_2352 arg0, class_2350$class_2351 arg1)
get(Direction$AxisDirection arg0, Direction$Axis arg1)
of(Direction$AxisDirection axisDir, Direction$Axis axis)
func_181076_a(Direction$AxisDirection arg0, Direction$Axis arg1)
getFacingFromAxis(Direction$AxisDirection axisDirectionIn, Direction$Axis axisIn)
public Vec3i
n()
method_10163()
getVector()
getNormal()
func_176730_m()
getDirectionVec()
public Direction
a(fa$a arg0)
method_10152(class_2350$class_2351 arg0)
rotateClockwise(Direction$Axis arg0)
clockwise(Direction$Axis axis)
func_176732_a(Direction$Axis arg0)
rotateAround(Direction$Axis axis)
private Direction
o()
method_10167()
rotateXClockwise()
clockwiseX()
func_176744_n()
rotateX()
private Direction
q()
method_10154()
rotateZClockwise()
clockwiseZ()
func_176738_p()
rotateZ()
public static Direction
a(String arg0)
method_10168(String arg0)
byName(String arg0)
byKey(String key)
func_176739_a(String arg0)
byName(String name)