Package net.minecraft.util.math
Enum Class Direction.AxisDirection
- All Implemented Interfaces:
Serializable
,Comparable<Direction.AxisDirection>
,Constable
- Enclosing class:
Direction
- Mappings:
Namespace Name named net/minecraft/util/math/Direction$AxisDirection
intermediary net/minecraft/class_2350$class_2352
official jm$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
offset()
toString()
static Direction.AxisDirection
Returns the enum constant of this class with the specified name.static Direction.AxisDirection[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POSITIVE
- Mappings:
Namespace Name Mixin selector named POSITIVE
Lnet/minecraft/util/math/Direction$AxisDirection;POSITIVE:Lnet/minecraft/util/math/Direction$AxisDirection;
intermediary field_11056
Lnet/minecraft/class_2350$class_2352;field_11056:Lnet/minecraft/class_2350$class_2352;
official a
Ljm$b;a:Ljm$b;
-
NEGATIVE
- Mappings:
Namespace Name Mixin selector named NEGATIVE
Lnet/minecraft/util/math/Direction$AxisDirection;NEGATIVE:Lnet/minecraft/util/math/Direction$AxisDirection;
intermediary field_11060
Lnet/minecraft/class_2350$class_2352;field_11060:Lnet/minecraft/class_2350$class_2352;
official b
Ljm$b;b:Ljm$b;
-
-
Field Details
-
offset
private final int offset- Mappings:
Namespace Name Mixin selector named offset
Lnet/minecraft/util/math/Direction$AxisDirection;offset:I
intermediary field_11059
Lnet/minecraft/class_2350$class_2352;field_11059:I
official c
Ljm$b;c:I
-
description
- Mappings:
Namespace Name Mixin selector named description
Lnet/minecraft/util/math/Direction$AxisDirection;description:Ljava/lang/String;
intermediary field_11057
Lnet/minecraft/class_2350$class_2352;field_11057:Ljava/lang/String;
official d
Ljm$b;d:Ljava/lang/String;
-
-
Constructor Details
-
AxisDirection
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/math/Direction$AxisDirection;<init>(Ljava/lang/String;IILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_2350$class_2352;<init>(Ljava/lang/String;IILjava/lang/String;)V
official <init>
Ljm$b;<init>(Ljava/lang/String;IILjava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
offset
public int offset()- Mappings:
Namespace Name Mixin selector named offset
Lnet/minecraft/util/math/Direction$AxisDirection;offset()I
intermediary method_10181
Lnet/minecraft/class_2350$class_2352;method_10181()I
official a
Ljm$b;a()I
-
getDescription
- Mappings:
Namespace Name Mixin selector named getDescription
Lnet/minecraft/util/math/Direction$AxisDirection;getDescription()Ljava/lang/String;
intermediary method_35839
Lnet/minecraft/class_2350$class_2352;method_35839()Ljava/lang/String;
official b
Ljm$b;b()Ljava/lang/String;
-
toString
- Overrides:
toString
in classEnum<Direction.AxisDirection>
-
getOpposite
- Mappings:
Namespace Name Mixin selector named getOpposite
Lnet/minecraft/util/math/Direction$AxisDirection;getOpposite()Lnet/minecraft/util/math/Direction$AxisDirection;
intermediary method_26424
Lnet/minecraft/class_2350$class_2352;method_26424()Lnet/minecraft/class_2350$class_2352;
official c
Ljm$b;c()Ljm$b;
-