Package net.minecraft.block
Enum BedBlock.BedBlockType
- All Implemented Interfaces:
Serializable,Comparable<BedBlock.BedBlockType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- BedBlock
public static enum BedBlock.BedBlockType extends Enum<BedBlock.BedBlockType> implements StringIdentifiable
- Mappings:
Namespace Name official afg$aintermediary net/minecraft/class_158$class_159named net/minecraft/block/BedBlock$BedBlockType
-
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 privateBedBlockType(String name) -
Method Summary
Modifier and Type Method Description StringasString()StringtoString()static BedBlock.BedBlockTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BedBlock.BedBlockType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HEAD
- Mappings:
Namespace Name Mixin selector official aLafg$a;a:Lafg$a;intermediary field_572Lnet/minecraft/class_158$class_159;field_572:Lnet/minecraft/class_158$class_159;named HEADLnet/minecraft/block/BedBlock$BedBlockType;HEAD:Lnet/minecraft/block/BedBlock$BedBlockType;
-
FOOT
- Mappings:
Namespace Name Mixin selector official bLafg$a;b:Lafg$a;intermediary field_573Lnet/minecraft/class_158$class_159;field_573:Lnet/minecraft/class_158$class_159;named FOOTLnet/minecraft/block/BedBlock$BedBlockType;FOOT:Lnet/minecraft/block/BedBlock$BedBlockType;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLafg$a;c:Ljava/lang/String;intermediary field_574Lnet/minecraft/class_158$class_159;field_574:Ljava/lang/String;named nameLnet/minecraft/block/BedBlock$BedBlockType;name:Ljava/lang/String;
-
-
Constructor Details
-
BedBlockType
- Mappings:
Namespace Name Mixin selector official <init>Lafg$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_158$class_159;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/BedBlock$BedBlockType;<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<BedBlock.BedBlockType>- Mappings:
Namespace Name Mixin selector official toStringLafg$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_158$class_159;toString()Ljava/lang/String;named toStringLnet/minecraft/block/BedBlock$BedBlockType;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;
-