Package net.minecraft.datafixer.fix
Enum ChunkPalettedStorageFix.Facing
java.lang.Object
java.lang.Enum<ChunkPalettedStorageFix.Facing>
net.minecraft.datafixer.fix.ChunkPalettedStorageFix.Facing
- All Implemented Interfaces:
Serializable
,Comparable<ChunkPalettedStorageFix.Facing>
,java.lang.constant.Constable
- Enclosing class:
- ChunkPalettedStorageFix
public static enum ChunkPalettedStorageFix.Facing extends Enum<ChunkPalettedStorageFix.Facing>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChunkPalettedStorageFix.Facing.Axis
static class
ChunkPalettedStorageFix.Facing.Direction
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private ChunkPalettedStorageFix.Facing.Axis
axis
private ChunkPalettedStorageFix.Facing.Direction
direction
-
Constructor Summary
Constructors Modifier Constructor Description private
Facing(ChunkPalettedStorageFix.Facing.Direction direction, ChunkPalettedStorageFix.Facing.Axis axis)
-
Method Summary
Modifier and Type Method Description ChunkPalettedStorageFix.Facing.Axis
getAxis()
ChunkPalettedStorageFix.Facing.Direction
getDirection()
static ChunkPalettedStorageFix.Facing
valueOf(String name)
Returns the enum constant of this type with the specified name.static ChunkPalettedStorageFix.Facing[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DOWN
-
UP
-
NORTH
-
SOUTH
-
WEST
-
EAST
-
-
Field Details
-
axis
-
direction
-
-
Constructor Details
-
Facing
private Facing(ChunkPalettedStorageFix.Facing.Direction direction, ChunkPalettedStorageFix.Facing.Axis axis)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDirection
-
getAxis
-