Package net.minecraft.block
Enum Class AbstractRailBlock.RailShapeType
- All Implemented Interfaces:
Serializable,Comparable<AbstractRailBlock.RailShapeType>,Constable,StringIdentifiable
- Enclosing class:
- AbstractRailBlock
public static enum AbstractRailBlock.RailShapeType
extends Enum<AbstractRailBlock.RailShapeType>
implements StringIdentifiable
- Mappings:
Namespace Name official ajp$bintermediary net/minecraft/class_1446$class_2175named net/minecraft/block/AbstractRailBlock$RailShapeType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final Stringprivate static final AbstractRailBlock.RailShapeType[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()getById(int id) intgetData()booleantoString()Returns the enum constant of this class with the specified name.static AbstractRailBlock.RailShapeType[]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 official aLajp$b;a:Lajp$b;intermediary field_9255Lnet/minecraft/class_1446$class_2175;field_9255:Lnet/minecraft/class_1446$class_2175;named NORTH_SOUTHLnet/minecraft/block/AbstractRailBlock$RailShapeType;NORTH_SOUTH:Lnet/minecraft/block/AbstractRailBlock$RailShapeType;
-
EAST_WEST
- Mappings:
Namespace Name Mixin selector official bLajp$b;b:Lajp$b;intermediary field_9256Lnet/minecraft/class_1446$class_2175;field_9256:Lnet/minecraft/class_1446$class_2175;named EAST_WESTLnet/minecraft/block/AbstractRailBlock$RailShapeType;EAST_WEST:Lnet/minecraft/block/AbstractRailBlock$RailShapeType;
-
ASCENDING_EAST
- Mappings:
Namespace Name Mixin selector official cLajp$b;c:Lajp$b;intermediary field_9257Lnet/minecraft/class_1446$class_2175;field_9257:Lnet/minecraft/class_1446$class_2175;named ASCENDING_EASTLnet/minecraft/block/AbstractRailBlock$RailShapeType;ASCENDING_EAST:Lnet/minecraft/block/AbstractRailBlock$RailShapeType;
-
ASCENDING_WEST
- Mappings:
Namespace Name Mixin selector official dLajp$b;d:Lajp$b;intermediary field_9258Lnet/minecraft/class_1446$class_2175;field_9258:Lnet/minecraft/class_1446$class_2175;named ASCENDING_WESTLnet/minecraft/block/AbstractRailBlock$RailShapeType;ASCENDING_WEST:Lnet/minecraft/block/AbstractRailBlock$RailShapeType;
-
ASCENDING_NORTH
- Mappings:
Namespace Name Mixin selector official eLajp$b;e:Lajp$b;intermediary field_9259Lnet/minecraft/class_1446$class_2175;field_9259:Lnet/minecraft/class_1446$class_2175;named ASCENDING_NORTHLnet/minecraft/block/AbstractRailBlock$RailShapeType;ASCENDING_NORTH:Lnet/minecraft/block/AbstractRailBlock$RailShapeType;
-
ASCENDING_SOUTH
- Mappings:
Namespace Name Mixin selector official fLajp$b;f:Lajp$b;intermediary field_9260Lnet/minecraft/class_1446$class_2175;field_9260:Lnet/minecraft/class_1446$class_2175;named ASCENDING_SOUTHLnet/minecraft/block/AbstractRailBlock$RailShapeType;ASCENDING_SOUTH:Lnet/minecraft/block/AbstractRailBlock$RailShapeType;
-
SOUTH_EAST
- Mappings:
Namespace Name Mixin selector official gLajp$b;g:Lajp$b;intermediary field_9261Lnet/minecraft/class_1446$class_2175;field_9261:Lnet/minecraft/class_1446$class_2175;named SOUTH_EASTLnet/minecraft/block/AbstractRailBlock$RailShapeType;SOUTH_EAST:Lnet/minecraft/block/AbstractRailBlock$RailShapeType;
-
SOUTH_WEST
- Mappings:
Namespace Name Mixin selector official hLajp$b;h:Lajp$b;intermediary field_9262Lnet/minecraft/class_1446$class_2175;field_9262:Lnet/minecraft/class_1446$class_2175;named SOUTH_WESTLnet/minecraft/block/AbstractRailBlock$RailShapeType;SOUTH_WEST:Lnet/minecraft/block/AbstractRailBlock$RailShapeType;
-
NORTH_WEST
- Mappings:
Namespace Name Mixin selector official iLajp$b;i:Lajp$b;intermediary field_9263Lnet/minecraft/class_1446$class_2175;field_9263:Lnet/minecraft/class_1446$class_2175;named NORTH_WESTLnet/minecraft/block/AbstractRailBlock$RailShapeType;NORTH_WEST:Lnet/minecraft/block/AbstractRailBlock$RailShapeType;
-
NORTH_EAST
- Mappings:
Namespace Name Mixin selector official jLajp$b;j:Lajp$b;intermediary field_9264Lnet/minecraft/class_1446$class_2175;field_9264:Lnet/minecraft/class_1446$class_2175;named NORTH_EASTLnet/minecraft/block/AbstractRailBlock$RailShapeType;NORTH_EAST:Lnet/minecraft/block/AbstractRailBlock$RailShapeType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official kLajp$b;k:[Lajp$b;intermediary field_9265Lnet/minecraft/class_1446$class_2175;field_9265:[Lnet/minecraft/class_1446$class_2175;named TYPESLnet/minecraft/block/AbstractRailBlock$RailShapeType;TYPES:[Lnet/minecraft/block/AbstractRailBlock$RailShapeType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official lLajp$b;l:Iintermediary field_9266Lnet/minecraft/class_1446$class_2175;field_9266:Inamed idLnet/minecraft/block/AbstractRailBlock$RailShapeType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official mLajp$b;m:Ljava/lang/String;intermediary field_9267Lnet/minecraft/class_1446$class_2175;field_9267:Ljava/lang/String;named nameLnet/minecraft/block/AbstractRailBlock$RailShapeType;name:Ljava/lang/String;
-
-
Constructor Details
-
RailShapeType
- Mappings:
Namespace Name Mixin selector official <init>Lajp$b;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1446$class_2175;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/AbstractRailBlock$RailShapeType;<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
-
getData
public int getData()- Mappings:
Namespace Name Mixin selector official aLajp$b;a()Iintermediary method_8625Lnet/minecraft/class_1446$class_2175;method_8625()Inamed getDataLnet/minecraft/block/AbstractRailBlock$RailShapeType;getData()I
-
toString
- Overrides:
toStringin classEnum<AbstractRailBlock.RailShapeType>- Mappings:
Namespace Name Mixin selector official toStringLajp$b;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_1446$class_2175;toString()Ljava/lang/String;named toStringLnet/minecraft/block/AbstractRailBlock$RailShapeType;toString()Ljava/lang/String;
-
isAscending
public boolean isAscending()- Mappings:
Namespace Name Mixin selector official cLajp$b;c()Zintermediary method_8627Lnet/minecraft/class_1446$class_2175;method_8627()Znamed isAscendingLnet/minecraft/block/AbstractRailBlock$RailShapeType;isAscending()Z
-
getById
- Mappings:
Namespace Name Mixin selector official aLajp$b;a(I)Lajp$b;intermediary method_8626Lnet/minecraft/class_1446$class_2175;method_8626(I)Lnet/minecraft/class_1446$class_2175;named getByIdLnet/minecraft/block/AbstractRailBlock$RailShapeType;getById(I)Lnet/minecraft/block/AbstractRailBlock$RailShapeType;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official mLor;m()Ljava/lang/String;intermediary method_10853Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-