Package net.minecraft.block
Enum DoublePlantBlock.HalfType
- All Implemented Interfaces:
Serializable,Comparable<DoublePlantBlock.HalfType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- DoublePlantBlock
public static enum DoublePlantBlock.HalfType extends Enum<DoublePlantBlock.HalfType> implements StringIdentifiable
- Mappings:
Namespace Name official agi$aintermediary net/minecraft/class_195$class_196named net/minecraft/block/DoublePlantBlock$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 DoublePlantBlock.HalfTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DoublePlantBlock.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 aLagi$a;a:Lagi$a;intermediary field_882Lnet/minecraft/class_195$class_196;field_882:Lnet/minecraft/class_195$class_196;named UPPERLnet/minecraft/block/DoublePlantBlock$HalfType;UPPER:Lnet/minecraft/block/DoublePlantBlock$HalfType;
-
LOWER
- Mappings:
Namespace Name Mixin selector official bLagi$a;b:Lagi$a;intermediary field_883Lnet/minecraft/class_195$class_196;field_883:Lnet/minecraft/class_195$class_196;named LOWERLnet/minecraft/block/DoublePlantBlock$HalfType;LOWER:Lnet/minecraft/block/DoublePlantBlock$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<DoublePlantBlock.HalfType>- Mappings:
Namespace Name Mixin selector official toStringLagi$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_195$class_196;toString()Ljava/lang/String;named toStringLnet/minecraft/block/DoublePlantBlock$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;
-