Package net.minecraft.block
Enum StairsBlock.Shape
- All Implemented Interfaces:
Serializable,Comparable<StairsBlock.Shape>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- StairsBlock
public static enum StairsBlock.Shape extends Enum<StairsBlock.Shape> implements StringIdentifiable
- Mappings:
Namespace Name official aju$bintermediary net/minecraft/class_309$class_311named net/minecraft/block/StairsBlock$Shape
-
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 INNER_LEFTINNER_RIGHTOUTER_LEFTOUTER_RIGHTSTRAIGHT -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringasString()StringtoString()static StairsBlock.ShapevalueOf(String name)Returns the enum constant of this type with the specified name.static StairsBlock.Shape[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STRAIGHT
- Mappings:
Namespace Name Mixin selector official aLaju$b;a:Laju$b;intermediary field_1207Lnet/minecraft/class_309$class_311;field_1207:Lnet/minecraft/class_309$class_311;named STRAIGHTLnet/minecraft/block/StairsBlock$Shape;STRAIGHT:Lnet/minecraft/block/StairsBlock$Shape;
-
INNER_LEFT
- Mappings:
Namespace Name Mixin selector official bLaju$b;b:Laju$b;intermediary field_1208Lnet/minecraft/class_309$class_311;field_1208:Lnet/minecraft/class_309$class_311;named INNER_LEFTLnet/minecraft/block/StairsBlock$Shape;INNER_LEFT:Lnet/minecraft/block/StairsBlock$Shape;
-
INNER_RIGHT
- Mappings:
Namespace Name Mixin selector official cLaju$b;c:Laju$b;intermediary field_1209Lnet/minecraft/class_309$class_311;field_1209:Lnet/minecraft/class_309$class_311;named INNER_RIGHTLnet/minecraft/block/StairsBlock$Shape;INNER_RIGHT:Lnet/minecraft/block/StairsBlock$Shape;
-
OUTER_LEFT
- Mappings:
Namespace Name Mixin selector official dLaju$b;d:Laju$b;intermediary field_1210Lnet/minecraft/class_309$class_311;field_1210:Lnet/minecraft/class_309$class_311;named OUTER_LEFTLnet/minecraft/block/StairsBlock$Shape;OUTER_LEFT:Lnet/minecraft/block/StairsBlock$Shape;
-
OUTER_RIGHT
- Mappings:
Namespace Name Mixin selector official eLaju$b;e:Laju$b;intermediary field_1211Lnet/minecraft/class_309$class_311;field_1211:Lnet/minecraft/class_309$class_311;named OUTER_RIGHTLnet/minecraft/block/StairsBlock$Shape;OUTER_RIGHT:Lnet/minecraft/block/StairsBlock$Shape;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official fLaju$b;f:Ljava/lang/String;intermediary field_1212Lnet/minecraft/class_309$class_311;field_1212:Ljava/lang/String;named nameLnet/minecraft/block/StairsBlock$Shape;name:Ljava/lang/String;
-
-
Constructor Details
-
Shape
- Mappings:
Namespace Name Mixin selector official <init>Laju$b;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_309$class_311;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/StairsBlock$Shape;<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<StairsBlock.Shape>- Mappings:
Namespace Name Mixin selector official toStringLaju$b;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_309$class_311;toString()Ljava/lang/String;named toStringLnet/minecraft/block/StairsBlock$Shape;toString()Ljava/lang/String;
-
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;
-