Package net.minecraft.block
Enum TrapdoorBlock.TrapdoorType
- All Implemented Interfaces:
Serializable,Comparable<TrapdoorBlock.TrapdoorType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- TrapdoorBlock
public static enum TrapdoorBlock.TrapdoorType extends Enum<TrapdoorBlock.TrapdoorType> implements StringIdentifiable
- Mappings:
Namespace Name official akh$aintermediary net/minecraft/class_329$class_330named net/minecraft/block/TrapdoorBlock$TrapdoorType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateTrapdoorType(String name) -
Method Summary
Modifier and Type Method Description StringasString()StringtoString()static TrapdoorBlock.TrapdoorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TrapdoorBlock.TrapdoorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TOP
- Mappings:
Namespace Name Mixin selector official aLakh$a;a:Lakh$a;intermediary field_1283Lnet/minecraft/class_329$class_330;field_1283:Lnet/minecraft/class_329$class_330;named TOPLnet/minecraft/block/TrapdoorBlock$TrapdoorType;TOP:Lnet/minecraft/block/TrapdoorBlock$TrapdoorType;
-
BOTTOM
- Mappings:
Namespace Name Mixin selector official bLakh$a;b:Lakh$a;intermediary field_1284Lnet/minecraft/class_329$class_330;field_1284:Lnet/minecraft/class_329$class_330;named BOTTOMLnet/minecraft/block/TrapdoorBlock$TrapdoorType;BOTTOM:Lnet/minecraft/block/TrapdoorBlock$TrapdoorType;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLakh$a;c:Ljava/lang/String;intermediary field_1285Lnet/minecraft/class_329$class_330;field_1285:Ljava/lang/String;named nameLnet/minecraft/block/TrapdoorBlock$TrapdoorType;name:Ljava/lang/String;
-
-
Constructor Details
-
TrapdoorType
- Mappings:
Namespace Name Mixin selector official <init>Lakh$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_329$class_330;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/TrapdoorBlock$TrapdoorType;<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<TrapdoorBlock.TrapdoorType>- Mappings:
Namespace Name Mixin selector official toStringLakh$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_329$class_330;toString()Ljava/lang/String;named toStringLnet/minecraft/block/TrapdoorBlock$TrapdoorType;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;
-