Package net.minecraft.block
Enum Class BedBlock.BedBlockType
- All Implemented Interfaces:
Serializable,Comparable<BedBlock.BedBlockType>,Constable,StringIdentifiable
- Enclosing class:
- BedBlock
public static enum BedBlock.BedBlockType
extends Enum<BedBlock.BedBlockType>
implements StringIdentifiable
- Mappings:
Namespace Name official aou$aintermediary net/minecraft/class_109$class_2176named 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
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()toString()static BedBlock.BedBlockTypeReturns the enum constant of this class with the specified name.static BedBlock.BedBlockType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HEAD
- Mappings:
Namespace Name Mixin selector official aLaou$a;a:Laou$a;intermediary field_9275Lnet/minecraft/class_109$class_2176;field_9275:Lnet/minecraft/class_109$class_2176;named HEADLnet/minecraft/block/BedBlock$BedBlockType;HEAD:Lnet/minecraft/block/BedBlock$BedBlockType;
-
FOOT
- Mappings:
Namespace Name Mixin selector official bLaou$a;b:Laou$a;intermediary field_9276Lnet/minecraft/class_109$class_2176;field_9276:Lnet/minecraft/class_109$class_2176;named FOOTLnet/minecraft/block/BedBlock$BedBlockType;FOOT:Lnet/minecraft/block/BedBlock$BedBlockType;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLaou$a;c:Ljava/lang/String;intermediary field_9277Lnet/minecraft/class_109$class_2176;field_9277:Ljava/lang/String;named nameLnet/minecraft/block/BedBlock$BedBlockType;name:Ljava/lang/String;
-
-
Constructor Details
-
BedBlockType
- Mappings:
Namespace Name Mixin selector official <init>Laou$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_109$class_2176;<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 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<BedBlock.BedBlockType>- Mappings:
Namespace Name Mixin selector official toStringLaou$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_109$class_2176;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 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;
-