net.minecraft.core

public abstract enum Direction$Axis

implements StringRepresentable, Predicate<Direction>

gy$a
net.minecraft.core.Direction$Axis
net.minecraft.class_2350$class_2351
net.minecraft.util.math.Direction$Axis
net.minecraft.src.C_4689_
net.minecraft.core.EnumDirection$EnumAxis

Enum constant summary

Enum Constant
a
X
field_11048
X
X
b
Y
field_11052
Y
Y
c
Z
field_11051
Z
Z

Field summary

Modifier and TypeField
public static final Direction$Axis[]
d
VALUES
field_23780
VALUES
f_122448_
public static final StringRepresentable$EnumCodec<Direction$Axis>
e
CODEC
field_25065
CODEC
f_122447_
private final String
f
name
field_11053
name
f_122450_

Constructor summary

ModifierConstructor
(String p_122455_)

Method summary

Modifier and TypeMethod
public static Direction$Axis
a(String arg0)
byName(String arg0)
method_10177(String arg0)
fromName(String name)
m_122473_(String p_122474_)
public String
a()
getName()
method_10174()
getName()
m_122477_()
public boolean
b()
isVertical()
method_10178()
isVertical()
m_122478_()
public boolean
d()
isHorizontal()
method_10179()
isHorizontal()
m_122479_()
public static Direction$Axis
a(amn arg0)
getRandom(RandomSource arg0)
method_16699(class_5819 arg0)
pickRandomAxis(Random random)
m_235688_(C_212974_ p_235689_)
public boolean
a(gy arg0)
test(Direction arg0)
method_10176(class_2350 arg0)
test(Direction arg0)
test(C_4687_ arg0)
public Direction$Plane
e()
getPlane()
method_10180()
getType()
m_122480_()
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
public abstract int
a(int arg0, int arg1, int arg2)
choose(int arg0, int arg1, int arg2)
method_10173(int arg0, int arg1, int arg2)
choose(int x, int y, int z)
m_7863_(int p_122467_, int p_122468_, int arg2)
public abstract double
a(double arg0, double arg1, double arg2)
choose(double arg0, double arg1, double arg2)
method_10172(double arg0, double arg1, double arg2)
choose(double x, double y, double z)
m_6150_(double p_122464_, double arg1, double arg2)