Package net.minecraft.block
Enum LogBlock.Axis
- All Implemented Interfaces:
Serializable,Comparable<LogBlock.Axis>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- LogBlock
public static enum LogBlock.Axis extends Enum<LogBlock.Axis> implements StringIdentifiable
- Mappings:
Namespace Name official ahw$aintermediary net/minecraft/class_244$class_245named net/minecraft/block/LogBlock$Axis
-
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 Type Method Description StringasString()static LogBlock.AxisgetByDirectionAxis(Direction.Axis axis)StringtoString()static LogBlock.AxisvalueOf(String name)Returns the enum constant of this type with the specified name.static LogBlock.Axis[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
X
- Mappings:
Namespace Name Mixin selector official aLahw$a;a:Lahw$a;intermediary field_1034Lnet/minecraft/class_244$class_245;field_1034:Lnet/minecraft/class_244$class_245;named XLnet/minecraft/block/LogBlock$Axis;X:Lnet/minecraft/block/LogBlock$Axis;
-
Y
- Mappings:
Namespace Name Mixin selector official bLahw$a;b:Lahw$a;intermediary field_1035Lnet/minecraft/class_244$class_245;field_1035:Lnet/minecraft/class_244$class_245;named YLnet/minecraft/block/LogBlock$Axis;Y:Lnet/minecraft/block/LogBlock$Axis;
-
Z
- Mappings:
Namespace Name Mixin selector official cLahw$a;c:Lahw$a;intermediary field_1036Lnet/minecraft/class_244$class_245;field_1036:Lnet/minecraft/class_244$class_245;named ZLnet/minecraft/block/LogBlock$Axis;Z:Lnet/minecraft/block/LogBlock$Axis;
-
NONE
- Mappings:
Namespace Name Mixin selector official dLahw$a;d:Lahw$a;intermediary field_1037Lnet/minecraft/class_244$class_245;field_1037:Lnet/minecraft/class_244$class_245;named NONELnet/minecraft/block/LogBlock$Axis;NONE:Lnet/minecraft/block/LogBlock$Axis;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official eLahw$a;e:Ljava/lang/String;intermediary field_1038Lnet/minecraft/class_244$class_245;field_1038:Ljava/lang/String;named nameLnet/minecraft/block/LogBlock$Axis;name:Ljava/lang/String;
-
-
Constructor Details
-
Axis
- Mappings:
Namespace Name Mixin selector official <init>Lahw$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_244$class_245;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/LogBlock$Axis;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
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
-
toString
- Overrides:
toStringin classEnum<LogBlock.Axis>- Mappings:
Namespace Name Mixin selector official toStringLahw$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_244$class_245;toString()Ljava/lang/String;named toStringLnet/minecraft/block/LogBlock$Axis;toString()Ljava/lang/String;
-
getByDirectionAxis
- Mappings:
Namespace Name Mixin selector official aLahw$a;a(Lcq$a;)Lahw$a;intermediary method_912Lnet/minecraft/class_244$class_245;method_912(Lnet/minecraft/class_1383$class_1384;)Lnet/minecraft/class_244$class_245;named getByDirectionAxisLnet/minecraft/block/LogBlock$Axis;getByDirectionAxis(Lnet/minecraft/util/math/Direction$Axis;)Lnet/minecraft/block/LogBlock$Axis;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official lLnw;l()Ljava/lang/String;intermediary method_6682Lnet/minecraft/class_1709;method_6682()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-