Package net.minecraft.datafixer.fix
Enum ChunkPalettedStorageFix.Facing.Direction
java.lang.Object
java.lang.Enum<ChunkPalettedStorageFix.Facing.Direction>
net.minecraft.datafixer.fix.ChunkPalettedStorageFix.Facing.Direction
- All Implemented Interfaces:
Serializable,Comparable<ChunkPalettedStorageFix.Facing.Direction>,java.lang.constant.Constable
- Enclosing class:
- ChunkPalettedStorageFix.Facing
public static enum ChunkPalettedStorageFix.Facing.Direction extends Enum<ChunkPalettedStorageFix.Facing.Direction>
- Mappings:
Namespace Name official ahx$b$bintermediary net/minecraft/class_3582$class_3584$class_3586named net/minecraft/datafixer/fix/ChunkPalettedStorageFix$Facing$Direction
-
Nested Class Summary
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 intoffset -
Constructor Summary
Constructors Modifier Constructor Description privateDirection(int int2) -
Method Summary
Modifier and Type Method Description intgetOffset()static ChunkPalettedStorageFix.Facing.DirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static ChunkPalettedStorageFix.Facing.Direction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
POSITIVE
- Mappings:
Namespace Name Mixin selector official aLahx$b$b;a:Lahx$b$b;intermediary field_15873Lnet/minecraft/class_3582$class_3584$class_3586;field_15873:Lnet/minecraft/class_3582$class_3584$class_3586;named POSITIVELnet/minecraft/datafixer/fix/ChunkPalettedStorageFix$Facing$Direction;POSITIVE:Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix$Facing$Direction;
-
NEGATIVE
- Mappings:
Namespace Name Mixin selector official bLahx$b$b;b:Lahx$b$b;intermediary field_15870Lnet/minecraft/class_3582$class_3584$class_3586;field_15870:Lnet/minecraft/class_3582$class_3584$class_3586;named NEGATIVELnet/minecraft/datafixer/fix/ChunkPalettedStorageFix$Facing$Direction;NEGATIVE:Lnet/minecraft/datafixer/fix/ChunkPalettedStorageFix$Facing$Direction;
-
-
Field Details
-
offset
private final int offset- Mappings:
Namespace Name Mixin selector official cLahx$b$b;c:Iintermediary field_15872Lnet/minecraft/class_3582$class_3584$class_3586;field_15872:Inamed offsetLnet/minecraft/datafixer/fix/ChunkPalettedStorageFix$Facing$Direction;offset:I
-
-
Constructor Details
-
Direction
private Direction(int int2)
-
-
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
-
getOffset
public int getOffset()- Mappings:
Namespace Name Mixin selector official aLahx$b$b;a()Iintermediary method_15645Lnet/minecraft/class_3582$class_3584$class_3586;method_15645()Inamed getOffsetLnet/minecraft/datafixer/fix/ChunkPalettedStorageFix$Facing$Direction;getOffset()I
-