Package net.minecraft.block
Enum Class StairsBlock.Half
- All Implemented Interfaces:
Serializable,Comparable<StairsBlock.Half>,Constable,StringIdentifiable
- Enclosing class:
- StairsBlock
- Mappings:
Namespace Name official aud$aintermediary net/minecraft/class_188$class_2214named net/minecraft/block/StairsBlock$Half
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()toString()static StairsBlock.HalfReturns the enum constant of this class with the specified name.static StairsBlock.Half[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP
- Mappings:
Namespace Name Mixin selector official aLaud$a;a:Laud$a;intermediary field_9677Lnet/minecraft/class_188$class_2214;field_9677:Lnet/minecraft/class_188$class_2214;named TOPLnet/minecraft/block/StairsBlock$Half;TOP:Lnet/minecraft/block/StairsBlock$Half;
-
BOTTOM
- Mappings:
Namespace Name Mixin selector official bLaud$a;b:Laud$a;intermediary field_9678Lnet/minecraft/class_188$class_2214;field_9678:Lnet/minecraft/class_188$class_2214;named BOTTOMLnet/minecraft/block/StairsBlock$Half;BOTTOM:Lnet/minecraft/block/StairsBlock$Half;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLaud$a;c:Ljava/lang/String;intermediary field_9679Lnet/minecraft/class_188$class_2214;field_9679:Ljava/lang/String;named nameLnet/minecraft/block/StairsBlock$Half;name:Ljava/lang/String;
-
-
Constructor Details
-
Half
- Mappings:
Namespace Name Mixin selector official <init>Laud$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_188$class_2214;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/StairsBlock$Half;<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
-
toString
- Overrides:
toStringin classEnum<StairsBlock.Half>- Mappings:
Namespace Name Mixin selector official toStringLaud$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_188$class_2214;toString()Ljava/lang/String;named toStringLnet/minecraft/block/StairsBlock$Half;toString()Ljava/lang/String;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official mLro;m()Ljava/lang/String;intermediary method_10853Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-