net.minecraft.core

public abstract enum Direction$Axis

implements StringRepresentable, Predicate<Direction>

gc$a
net.minecraft.core.Direction$Axis
net.minecraft.class_2350$class_2351
net.minecraft.util.math.Direction$Axis
net.minecraft.util.Direction$Axis
net.minecraft.server.v1_16_R2.EnumDirection$EnumAxis

Enum constant summary

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

Field summary

Modifier and TypeField
private static final Direction$Axis[]
e
VALUES
field_23780
VALUES
field_239633_e_
public static final com.mojang.serialization.Codec<Direction$Axis>
d
CODEC
field_25065
CODEC
field_239632_d_
private static final Map<String, Direction$Axis>
f
BY_NAME
field_11050
BY_NAME
field_176725_d
private final String
g
name
field_11053
name
field_176726_e

Constructor summary

ModifierConstructor
private (String arg0)

Method summary

Modifier and TypeMethod
public static Direction$Axis
a(String arg0)
byName(String arg0)
method_10177(String arg0)
fromName(String name)
func_176717_a(String arg0)
public String
b()
getName()
method_10174()
getName()
func_176719_a()
public boolean
c()
isVertical()
method_10178()
isVertical()
func_200128_b()
public boolean
d()
isHorizontal()
method_10179()
isHorizontal()
func_176722_c()
public static Direction$Axis
a(Random arg0)
getRandom(Random arg0)
method_16699(Random arg0)
pickRandomAxis(Random random)
func_239634_a_(Random arg0)
public boolean
a(gc arg0)
test(Direction arg0)
method_10176(class_2350 arg0)
test(Direction arg0)
test(Direction arg0)
public Direction$Plane
e()
getPlane()
method_10180()
getType()
func_176716_d()
public String
a()
getSerializedName()
method_15434()
asString()
func_176610_l()
getName()
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)
func_196052_a(int arg0, int arg1, 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)
func_196051_a(double arg0, double arg1, double arg2)