Package net.minecraft.block
Enum Class DoublePlantBlock.HalfType
- All Implemented Interfaces:
Serializable,Comparable<DoublePlantBlock.HalfType>,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_1755$class_2183named 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
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()toString()static DoublePlantBlock.HalfTypeReturns the enum constant of this class with the specified name.static DoublePlantBlock.HalfType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPPER
- Mappings:
Namespace Name Mixin selector official aLagi$a;a:Lagi$a;intermediary field_9383Lnet/minecraft/class_1755$class_2183;field_9383:Lnet/minecraft/class_1755$class_2183;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_9384Lnet/minecraft/class_1755$class_2183;field_9384:Lnet/minecraft/class_1755$class_2183;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 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<DoublePlantBlock.HalfType>- Mappings:
Namespace Name Mixin selector official toStringLagi$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_1755$class_2183;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_10853Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-