Package net.minecraft.block
Enum DoorBlock.HalfType
- All Implemented Interfaces:
Serializable,Comparable<DoorBlock.HalfType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- DoorBlock
public static enum DoorBlock.HalfType extends Enum<DoorBlock.HalfType> implements StringIdentifiable
- Mappings:
Namespace Name official agh$aintermediary net/minecraft/class_192$class_193named 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
-
Constructor Summary
Constructors Modifier Constructor Description privateHalfType() -
Method Summary
Modifier and Type Method Description StringasString()StringtoString()static DoorBlock.HalfTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DoorBlock.HalfType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UPPER
- Mappings:
Namespace Name Mixin selector official aLagh$a;a:Lagh$a;intermediary field_873Lnet/minecraft/class_192$class_193;field_873:Lnet/minecraft/class_192$class_193;named UPPERLnet/minecraft/block/DoorBlock$HalfType;UPPER:Lnet/minecraft/block/DoorBlock$HalfType;
-
LOWER
- Mappings:
Namespace Name Mixin selector official bLagh$a;b:Lagh$a;intermediary field_874Lnet/minecraft/class_192$class_193;field_874:Lnet/minecraft/class_192$class_193;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 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<DoorBlock.HalfType>- Mappings:
Namespace Name Mixin selector official toStringLagh$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_192$class_193;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 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;
-