Package net.minecraft.block
Enum DoublePlantBlock.DoublePlantType
java.lang.Object
java.lang.Enum<DoublePlantBlock.DoublePlantType>
net.minecraft.block.DoublePlantBlock.DoublePlantType
- All Implemented Interfaces:
Serializable,Comparable<DoublePlantBlock.DoublePlantType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- DoublePlantBlock
public static enum DoublePlantBlock.DoublePlantType extends Enum<DoublePlantBlock.DoublePlantType> implements StringIdentifiable
- Mappings:
Namespace Name official agi$bintermediary net/minecraft/class_195$class_197named net/minecraft/block/DoublePlantBlock$DoublePlantType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private intidprivate Stringnameprivate StringtranslationKeyprivate static DoublePlantBlock.DoublePlantType[]VALUES -
Constructor Summary
Constructors Modifier Constructor Description privateDoublePlantType(int id, String name)privateDoublePlantType(int id, String name, String translationKey) -
Method Summary
Modifier and Type Method Description StringasString()static DoublePlantBlock.DoublePlantTypegetById(int id)intgetId()StringgetSingleName()StringtoString()static DoublePlantBlock.DoublePlantTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DoublePlantBlock.DoublePlantType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SUNFLOWER
- Mappings:
Namespace Name Mixin selector official aLagi$b;a:Lagi$b;intermediary field_885Lnet/minecraft/class_195$class_197;field_885:Lnet/minecraft/class_195$class_197;named SUNFLOWERLnet/minecraft/block/DoublePlantBlock$DoublePlantType;SUNFLOWER:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
SYRINGA
- Mappings:
Namespace Name Mixin selector official bLagi$b;b:Lagi$b;intermediary field_886Lnet/minecraft/class_195$class_197;field_886:Lnet/minecraft/class_195$class_197;named SYRINGALnet/minecraft/block/DoublePlantBlock$DoublePlantType;SYRINGA:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
GRASS
- Mappings:
Namespace Name Mixin selector official cLagi$b;c:Lagi$b;intermediary field_887Lnet/minecraft/class_195$class_197;field_887:Lnet/minecraft/class_195$class_197;named GRASSLnet/minecraft/block/DoublePlantBlock$DoublePlantType;GRASS:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
FERN
- Mappings:
Namespace Name Mixin selector official dLagi$b;d:Lagi$b;intermediary field_888Lnet/minecraft/class_195$class_197;field_888:Lnet/minecraft/class_195$class_197;named FERNLnet/minecraft/block/DoublePlantBlock$DoublePlantType;FERN:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
ROSE
- Mappings:
Namespace Name Mixin selector official eLagi$b;e:Lagi$b;intermediary field_889Lnet/minecraft/class_195$class_197;field_889:Lnet/minecraft/class_195$class_197;named ROSELnet/minecraft/block/DoublePlantBlock$DoublePlantType;ROSE:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
PAEONIA
- Mappings:
Namespace Name Mixin selector official fLagi$b;f:Lagi$b;intermediary field_890Lnet/minecraft/class_195$class_197;field_890:Lnet/minecraft/class_195$class_197;named PAEONIALnet/minecraft/block/DoublePlantBlock$DoublePlantType;PAEONIA:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official gLagi$b;g:[Lagi$b;intermediary field_891Lnet/minecraft/class_195$class_197;field_891:[Lnet/minecraft/class_195$class_197;named VALUESLnet/minecraft/block/DoublePlantBlock$DoublePlantType;VALUES:[Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official hLagi$b;h:Iintermediary field_892Lnet/minecraft/class_195$class_197;field_892:Inamed idLnet/minecraft/block/DoublePlantBlock$DoublePlantType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official iLagi$b;i:Ljava/lang/String;intermediary field_893Lnet/minecraft/class_195$class_197;field_893:Ljava/lang/String;named nameLnet/minecraft/block/DoublePlantBlock$DoublePlantType;name:Ljava/lang/String;
-
translationKey
- Mappings:
Namespace Name Mixin selector official jLagi$b;j:Ljava/lang/String;intermediary field_894Lnet/minecraft/class_195$class_197;field_894:Ljava/lang/String;named translationKeyLnet/minecraft/block/DoublePlantBlock$DoublePlantType;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
DoublePlantType
- Mappings:
Namespace Name Mixin selector official <init>Lagi$b;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_195$class_197;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;<init>(Ljava/lang/String;IILjava/lang/String;)V
-
DoublePlantType
- Mappings:
Namespace Name Mixin selector official <init>Lagi$b;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_195$class_197;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/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
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official aLagi$b;a()Iintermediary method_829Lnet/minecraft/class_195$class_197;method_829()Inamed getIdLnet/minecraft/block/DoublePlantBlock$DoublePlantType;getId()I
-
toString
- Overrides:
toStringin classEnum<DoublePlantBlock.DoublePlantType>- Mappings:
Namespace Name Mixin selector official toStringLagi$b;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_195$class_197;toString()Ljava/lang/String;named toStringLnet/minecraft/block/DoublePlantBlock$DoublePlantType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLagi$b;a(I)Lagi$b;intermediary method_830Lnet/minecraft/class_195$class_197;method_830(I)Lnet/minecraft/class_195$class_197;named getByIdLnet/minecraft/block/DoublePlantBlock$DoublePlantType;getById(I)Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
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;
-
getSingleName
- Mappings:
Namespace Name Mixin selector official cLagi$b;c()Ljava/lang/String;intermediary method_831Lnet/minecraft/class_195$class_197;method_831()Ljava/lang/String;named getSingleNameLnet/minecraft/block/DoublePlantBlock$DoublePlantType;getSingleName()Ljava/lang/String;
-