Package net.minecraft.block
Enum Class DoorBlock.HalfType
- All Implemented Interfaces:
Serializable,Comparable<DoorBlock.HalfType>,Constable,StringIdentifiable
- Enclosing class:
- DoorBlock
public static enum DoorBlock.HalfType
extends Enum<DoorBlock.HalfType>
implements StringIdentifiable
- Mappings:
Namespace Name official aqa$aintermediary net/minecraft/class_129$class_2181named net/minecraft/block/DoorBlock$HalfType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()toString()static DoorBlock.HalfTypeReturns the enum constant of this class with the specified name.static DoorBlock.HalfType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPPER
- Mappings:
Namespace Name Mixin selector official aLaqa$a;a:Laqa$a;intermediary field_9374Lnet/minecraft/class_129$class_2181;field_9374:Lnet/minecraft/class_129$class_2181;named UPPERLnet/minecraft/block/DoorBlock$HalfType;UPPER:Lnet/minecraft/block/DoorBlock$HalfType;
-
LOWER
- Mappings:
Namespace Name Mixin selector official bLaqa$a;b:Laqa$a;intermediary field_9375Lnet/minecraft/class_129$class_2181;field_9375:Lnet/minecraft/class_129$class_2181;named LOWERLnet/minecraft/block/DoorBlock$HalfType;LOWER:Lnet/minecraft/block/DoorBlock$HalfType;
-
-
Constructor Details
-
HalfType
private HalfType()
-
-
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<DoorBlock.HalfType>- Mappings:
Namespace Name Mixin selector official toStringLaqa$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_129$class_2181;toString()Ljava/lang/String;named toStringLnet/minecraft/block/DoorBlock$HalfType;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;
-