Package net.minecraft.block.enums
Enum RailShape
- All Implemented Interfaces:
Serializable,Comparable<RailShape>,java.lang.constant.Constable,StringIdentifiable
public enum RailShape extends Enum<RailShape> implements StringIdentifiable
- Mappings:
Namespace Name official cjsintermediary net/minecraft/class_2768named net/minecraft/block/enums/RailShape
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ASCENDING_EASTASCENDING_NORTHASCENDING_SOUTHASCENDING_WESTEAST_WESTNORTH_EASTNORTH_SOUTHNORTH_WESTSOUTH_EASTSOUTH_WEST -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringasString()booleanisAscending()StringtoString()static RailShapevalueOf(String name)Returns the enum constant of this type with the specified name.static RailShape[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORTH_SOUTH
- Mappings:
Namespace Name Mixin selector official aLcjs;a:Lcjs;intermediary field_12665Lnet/minecraft/class_2768;field_12665:Lnet/minecraft/class_2768;named NORTH_SOUTHLnet/minecraft/block/enums/RailShape;NORTH_SOUTH:Lnet/minecraft/block/enums/RailShape;
-
EAST_WEST
- Mappings:
Namespace Name Mixin selector official bLcjs;b:Lcjs;intermediary field_12674Lnet/minecraft/class_2768;field_12674:Lnet/minecraft/class_2768;named EAST_WESTLnet/minecraft/block/enums/RailShape;EAST_WEST:Lnet/minecraft/block/enums/RailShape;
-
ASCENDING_EAST
- Mappings:
Namespace Name Mixin selector official cLcjs;c:Lcjs;intermediary field_12667Lnet/minecraft/class_2768;field_12667:Lnet/minecraft/class_2768;named ASCENDING_EASTLnet/minecraft/block/enums/RailShape;ASCENDING_EAST:Lnet/minecraft/block/enums/RailShape;
-
ASCENDING_WEST
- Mappings:
Namespace Name Mixin selector official dLcjs;d:Lcjs;intermediary field_12666Lnet/minecraft/class_2768;field_12666:Lnet/minecraft/class_2768;named ASCENDING_WESTLnet/minecraft/block/enums/RailShape;ASCENDING_WEST:Lnet/minecraft/block/enums/RailShape;
-
ASCENDING_NORTH
- Mappings:
Namespace Name Mixin selector official eLcjs;e:Lcjs;intermediary field_12670Lnet/minecraft/class_2768;field_12670:Lnet/minecraft/class_2768;named ASCENDING_NORTHLnet/minecraft/block/enums/RailShape;ASCENDING_NORTH:Lnet/minecraft/block/enums/RailShape;
-
ASCENDING_SOUTH
- Mappings:
Namespace Name Mixin selector official fLcjs;f:Lcjs;intermediary field_12668Lnet/minecraft/class_2768;field_12668:Lnet/minecraft/class_2768;named ASCENDING_SOUTHLnet/minecraft/block/enums/RailShape;ASCENDING_SOUTH:Lnet/minecraft/block/enums/RailShape;
-
SOUTH_EAST
- Mappings:
Namespace Name Mixin selector official gLcjs;g:Lcjs;intermediary field_12664Lnet/minecraft/class_2768;field_12664:Lnet/minecraft/class_2768;named SOUTH_EASTLnet/minecraft/block/enums/RailShape;SOUTH_EAST:Lnet/minecraft/block/enums/RailShape;
-
SOUTH_WEST
- Mappings:
Namespace Name Mixin selector official hLcjs;h:Lcjs;intermediary field_12671Lnet/minecraft/class_2768;field_12671:Lnet/minecraft/class_2768;named SOUTH_WESTLnet/minecraft/block/enums/RailShape;SOUTH_WEST:Lnet/minecraft/block/enums/RailShape;
-
NORTH_WEST
- Mappings:
Namespace Name Mixin selector official iLcjs;i:Lcjs;intermediary field_12672Lnet/minecraft/class_2768;field_12672:Lnet/minecraft/class_2768;named NORTH_WESTLnet/minecraft/block/enums/RailShape;NORTH_WEST:Lnet/minecraft/block/enums/RailShape;
-
NORTH_EAST
- Mappings:
Namespace Name Mixin selector official jLcjs;j:Lcjs;intermediary field_12663Lnet/minecraft/class_2768;field_12663:Lnet/minecraft/class_2768;named NORTH_EASTLnet/minecraft/block/enums/RailShape;NORTH_EAST:Lnet/minecraft/block/enums/RailShape;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official kLcjs;k:Ljava/lang/String;intermediary field_12669Lnet/minecraft/class_2768;field_12669:Ljava/lang/String;named nameLnet/minecraft/block/enums/RailShape;name:Ljava/lang/String;
-
-
Constructor Details
-
RailShape
- Mappings:
Namespace Name Mixin selector official <init>Lcjs;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2768;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/enums/RailShape;<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
-
isAscending
public boolean isAscending()- Mappings:
Namespace Name Mixin selector official cLcjs;c()Zintermediary method_11897Lnet/minecraft/class_2768;method_11897()Znamed isAscendingLnet/minecraft/block/enums/RailShape;isAscending()Z
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official aLaha;a()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-