Package net.minecraft.util.math
Enum Class Direction.Axis
- All Implemented Interfaces:
Serializable,Comparable<Direction.Axis>,Constable,Predicate<Direction>,StringIdentifiable
- Enclosing class:
- Direction
public static enum Direction.Axis
extends Enum<Direction.Axis>
implements Predicate<Direction>, StringIdentifiable
- Mappings:
Namespace Name official eq$aintermediary net/minecraft/class_1354$class_2558named net/minecraft/util/math/Direction$Axis
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map<String,Direction.Axis> private final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()abstract intchoose(int int2, int int3, int int4) static Direction.AxisgetName()booleanabstract doublemethod_19947(double double2, double double3, double double4) booleanbooleantoString()static Direction.AxisReturns the enum constant of this class with the specified name.static Direction.Axis[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
X
- Mappings:
Namespace Name Mixin selector official aLeq$a;a:Leq$a;intermediary field_11465Lnet/minecraft/class_1354$class_2558;field_11465:Lnet/minecraft/class_1354$class_2558;named XLnet/minecraft/util/math/Direction$Axis;X:Lnet/minecraft/util/math/Direction$Axis;
-
Y
- Mappings:
Namespace Name Mixin selector official bLeq$a;b:Leq$a;intermediary field_21288Lnet/minecraft/class_1354$class_2558;field_21288:Lnet/minecraft/class_1354$class_2558;named YLnet/minecraft/util/math/Direction$Axis;Y:Lnet/minecraft/util/math/Direction$Axis;
-
Z
- Mappings:
Namespace Name Mixin selector official cLeq$a;c:Leq$a;intermediary field_11467Lnet/minecraft/class_1354$class_2558;field_11467:Lnet/minecraft/class_1354$class_2558;named ZLnet/minecraft/util/math/Direction$Axis;Z:Lnet/minecraft/util/math/Direction$Axis;
-
-
Field Details
-
field_21289
- Mappings:
Namespace Name Mixin selector official dLeq$a;d:Ljava/util/Map;intermediary field_21289Lnet/minecraft/class_1354$class_2558;field_21289:Ljava/util/Map;named field_21289Lnet/minecraft/util/math/Direction$Axis;field_21289:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official eLeq$a;e:Ljava/lang/String;intermediary field_11469Lnet/minecraft/class_1354$class_2558;field_11469:Ljava/lang/String;named nameLnet/minecraft/util/math/Direction$Axis;name:Ljava/lang/String;
-
-
Constructor Details
-
Axis
-
-
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
-
fromName
- Mappings:
Namespace Name Mixin selector official aLeq$a;a(Ljava/lang/String;)Leq$a;intermediary method_10544Lnet/minecraft/class_1354$class_2558;method_10544(Ljava/lang/String;)Lnet/minecraft/class_1354$class_2558;named fromNameLnet/minecraft/util/math/Direction$Axis;fromName(Ljava/lang/String;)Lnet/minecraft/util/math/Direction$Axis;
-
getName
- Mappings:
Namespace Name Mixin selector official aLeq$a;a()Ljava/lang/String;intermediary method_10542Lnet/minecraft/class_1354$class_2558;method_10542()Ljava/lang/String;named getNameLnet/minecraft/util/math/Direction$Axis;getName()Ljava/lang/String;
-
method_19950
public boolean method_19950()- Mappings:
Namespace Name Mixin selector official bLeq$a;b()Zintermediary method_19950Lnet/minecraft/class_1354$class_2558;method_19950()Znamed method_19950Lnet/minecraft/util/math/Direction$Axis;method_19950()Z
-
isHorizontal
public boolean isHorizontal()- Mappings:
Namespace Name Mixin selector official cLeq$a;c()Zintermediary method_10546Lnet/minecraft/class_1354$class_2558;method_10546()Znamed isHorizontalLnet/minecraft/util/math/Direction$Axis;isHorizontal()Z
-
toString
- Overrides:
toStringin classEnum<Direction.Axis>- Mappings:
Namespace Name Mixin selector official toStringLeq$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_1354$class_2558;toString()Ljava/lang/String;named toStringLnet/minecraft/util/math/Direction$Axis;toString()Ljava/lang/String;
-
test
- Specified by:
testin interfacePredicate<Direction>- Mappings:
Namespace Name Mixin selector official aLeq$a;a(Leq;)Zintermediary method_10543Lnet/minecraft/class_1354$class_2558;method_10543(Lnet/minecraft/class_1354;)Znamed testLnet/minecraft/util/math/Direction$Axis;test(Lnet/minecraft/util/math/Direction;)Z
-
getDirectionType
- Mappings:
Namespace Name Mixin selector official dLeq$a;d()Leq$c;intermediary method_10547Lnet/minecraft/class_1354$class_2558;method_10547()Lnet/minecraft/class_1354$class_2560;named getDirectionTypeLnet/minecraft/util/math/Direction$Axis;getDirectionType()Lnet/minecraft/util/math/Direction$DirectionType;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official mLxv;m()Ljava/lang/String;intermediary method_10853Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
choose
public abstract int choose(int int2, int int3, int int4) - Mappings:
Namespace Name Mixin selector official aLeq$a;a(III)Iintermediary method_19948Lnet/minecraft/class_1354$class_2558;method_19948(III)Inamed chooseLnet/minecraft/util/math/Direction$Axis;choose(III)I
-
method_19947
public abstract double method_19947(double double2, double double3, double double4) - Mappings:
Namespace Name Mixin selector official aLeq$a;a(DDD)Dintermediary method_19947Lnet/minecraft/class_1354$class_2558;method_19947(DDD)Dnamed method_19947Lnet/minecraft/util/math/Direction$Axis;method_19947(DDD)D
-