Package net.minecraft.block.enums
Enum Class RailShape
- All Implemented Interfaces:
Serializable,Comparable<RailShape>,Constable,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/block/enums/RailShapeintermediary net/minecraft/class_2768official dyb
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.getName()booleantoString()static RailShapeReturns the enum constant of this class with the specified name.static RailShape[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORTH_SOUTH
- Mappings:
Namespace Name Mixin selector named NORTH_SOUTHLnet/minecraft/block/enums/RailShape;NORTH_SOUTH:Lnet/minecraft/block/enums/RailShape;intermediary field_12665Lnet/minecraft/class_2768;field_12665:Lnet/minecraft/class_2768;official aLdyb;a:Ldyb;
-
EAST_WEST
- Mappings:
Namespace Name Mixin selector named EAST_WESTLnet/minecraft/block/enums/RailShape;EAST_WEST:Lnet/minecraft/block/enums/RailShape;intermediary field_12674Lnet/minecraft/class_2768;field_12674:Lnet/minecraft/class_2768;official bLdyb;b:Ldyb;
-
ASCENDING_EAST
- Mappings:
Namespace Name Mixin selector named ASCENDING_EASTLnet/minecraft/block/enums/RailShape;ASCENDING_EAST:Lnet/minecraft/block/enums/RailShape;intermediary field_12667Lnet/minecraft/class_2768;field_12667:Lnet/minecraft/class_2768;official cLdyb;c:Ldyb;
-
ASCENDING_WEST
- Mappings:
Namespace Name Mixin selector named ASCENDING_WESTLnet/minecraft/block/enums/RailShape;ASCENDING_WEST:Lnet/minecraft/block/enums/RailShape;intermediary field_12666Lnet/minecraft/class_2768;field_12666:Lnet/minecraft/class_2768;official dLdyb;d:Ldyb;
-
ASCENDING_NORTH
- Mappings:
Namespace Name Mixin selector named ASCENDING_NORTHLnet/minecraft/block/enums/RailShape;ASCENDING_NORTH:Lnet/minecraft/block/enums/RailShape;intermediary field_12670Lnet/minecraft/class_2768;field_12670:Lnet/minecraft/class_2768;official eLdyb;e:Ldyb;
-
ASCENDING_SOUTH
- Mappings:
Namespace Name Mixin selector named ASCENDING_SOUTHLnet/minecraft/block/enums/RailShape;ASCENDING_SOUTH:Lnet/minecraft/block/enums/RailShape;intermediary field_12668Lnet/minecraft/class_2768;field_12668:Lnet/minecraft/class_2768;official fLdyb;f:Ldyb;
-
SOUTH_EAST
- Mappings:
Namespace Name Mixin selector named SOUTH_EASTLnet/minecraft/block/enums/RailShape;SOUTH_EAST:Lnet/minecraft/block/enums/RailShape;intermediary field_12664Lnet/minecraft/class_2768;field_12664:Lnet/minecraft/class_2768;official gLdyb;g:Ldyb;
-
SOUTH_WEST
- Mappings:
Namespace Name Mixin selector named SOUTH_WESTLnet/minecraft/block/enums/RailShape;SOUTH_WEST:Lnet/minecraft/block/enums/RailShape;intermediary field_12671Lnet/minecraft/class_2768;field_12671:Lnet/minecraft/class_2768;official hLdyb;h:Ldyb;
-
NORTH_WEST
- Mappings:
Namespace Name Mixin selector named NORTH_WESTLnet/minecraft/block/enums/RailShape;NORTH_WEST:Lnet/minecraft/block/enums/RailShape;intermediary field_12672Lnet/minecraft/class_2768;field_12672:Lnet/minecraft/class_2768;official iLdyb;i:Ldyb;
-
NORTH_EAST
- Mappings:
Namespace Name Mixin selector named NORTH_EASTLnet/minecraft/block/enums/RailShape;NORTH_EAST:Lnet/minecraft/block/enums/RailShape;intermediary field_12663Lnet/minecraft/class_2768;field_12663:Lnet/minecraft/class_2768;official jLdyb;j:Ldyb;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/block/enums/RailShape;name:Ljava/lang/String;intermediary field_12669Lnet/minecraft/class_2768;field_12669:Ljava/lang/String;official kLdyb;k:Ljava/lang/String;
-
-
Constructor Details
-
RailShape
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/enums/RailShape;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2768;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Ldyb;<init>(Ljava/lang/String;ILjava/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
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/block/enums/RailShape;getName()Ljava/lang/String;intermediary method_35309Lnet/minecraft/class_2768;method_35309()Ljava/lang/String;official aLdyb;a()Ljava/lang/String;
-
toString
-
isAscending
public boolean isAscending()- Mappings:
Namespace Name Mixin selector named isAscendingLnet/minecraft/block/enums/RailShape;isAscending()Zintermediary method_11897Lnet/minecraft/class_2768;method_11897()Zofficial bLdyb;b()Z
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLazv;c()Ljava/lang/String;
-