Package net.minecraft.block
Enum Class DoublePlantBlock.DoublePlantType
java.lang.Object
java.lang.Enum<DoublePlantBlock.DoublePlantType>
net.minecraft.block.DoublePlantBlock.DoublePlantType
- All Implemented Interfaces:
Serializable,Comparable<DoublePlantBlock.DoublePlantType>,Constable,StringIdentifiable
- Enclosing class:
- DoublePlantBlock
public static enum DoublePlantBlock.DoublePlantType
extends Enum<DoublePlantBlock.DoublePlantType>
implements StringIdentifiable
- Mappings:
Namespace Name official aqb$bintermediary net/minecraft/class_1755$class_2184named 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
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final Stringprivate final Stringprivate static final DoublePlantBlock.DoublePlantType[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDoublePlantType(int id, String name) privateDoublePlantType(int id, String name, String translationKey) -
Method Summary
-
Enum Constant Details
-
SUNFLOWER
- Mappings:
Namespace Name Mixin selector official aLaqb$b;a:Laqb$b;intermediary field_9386Lnet/minecraft/class_1755$class_2184;field_9386:Lnet/minecraft/class_1755$class_2184;named SUNFLOWERLnet/minecraft/block/DoublePlantBlock$DoublePlantType;SUNFLOWER:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
SYRINGA
- Mappings:
Namespace Name Mixin selector official bLaqb$b;b:Laqb$b;intermediary field_9387Lnet/minecraft/class_1755$class_2184;field_9387:Lnet/minecraft/class_1755$class_2184;named SYRINGALnet/minecraft/block/DoublePlantBlock$DoublePlantType;SYRINGA:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
GRASS
- Mappings:
Namespace Name Mixin selector official cLaqb$b;c:Laqb$b;intermediary field_9388Lnet/minecraft/class_1755$class_2184;field_9388:Lnet/minecraft/class_1755$class_2184;named GRASSLnet/minecraft/block/DoublePlantBlock$DoublePlantType;GRASS:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
FERN
- Mappings:
Namespace Name Mixin selector official dLaqb$b;d:Laqb$b;intermediary field_9389Lnet/minecraft/class_1755$class_2184;field_9389:Lnet/minecraft/class_1755$class_2184;named FERNLnet/minecraft/block/DoublePlantBlock$DoublePlantType;FERN:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
ROSE
- Mappings:
Namespace Name Mixin selector official eLaqb$b;e:Laqb$b;intermediary field_9390Lnet/minecraft/class_1755$class_2184;field_9390:Lnet/minecraft/class_1755$class_2184;named ROSELnet/minecraft/block/DoublePlantBlock$DoublePlantType;ROSE:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
PAEONIA
- Mappings:
Namespace Name Mixin selector official fLaqb$b;f:Laqb$b;intermediary field_9391Lnet/minecraft/class_1755$class_2184;field_9391:Lnet/minecraft/class_1755$class_2184;named PAEONIALnet/minecraft/block/DoublePlantBlock$DoublePlantType;PAEONIA:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official gLaqb$b;g:[Laqb$b;intermediary field_9392Lnet/minecraft/class_1755$class_2184;field_9392:[Lnet/minecraft/class_1755$class_2184;named VALUESLnet/minecraft/block/DoublePlantBlock$DoublePlantType;VALUES:[Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official hLaqb$b;h:Iintermediary field_9393Lnet/minecraft/class_1755$class_2184;field_9393:Inamed idLnet/minecraft/block/DoublePlantBlock$DoublePlantType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official iLaqb$b;i:Ljava/lang/String;intermediary field_9394Lnet/minecraft/class_1755$class_2184;field_9394:Ljava/lang/String;named nameLnet/minecraft/block/DoublePlantBlock$DoublePlantType;name:Ljava/lang/String;
-
translationKey
- Mappings:
Namespace Name Mixin selector official jLaqb$b;j:Ljava/lang/String;intermediary field_9395Lnet/minecraft/class_1755$class_2184;field_9395:Ljava/lang/String;named translationKeyLnet/minecraft/block/DoublePlantBlock$DoublePlantType;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
DoublePlantType
- Mappings:
Namespace Name Mixin selector official <init>Laqb$b;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1755$class_2184;<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>Laqb$b;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1755$class_2184;<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 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
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official aLaqb$b;a()Iintermediary method_8755Lnet/minecraft/class_1755$class_2184;method_8755()Inamed getIdLnet/minecraft/block/DoublePlantBlock$DoublePlantType;getId()I
-
toString
- Overrides:
toStringin classEnum<DoublePlantBlock.DoublePlantType>- Mappings:
Namespace Name Mixin selector official toStringLaqb$b;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_1755$class_2184;toString()Ljava/lang/String;named toStringLnet/minecraft/block/DoublePlantBlock$DoublePlantType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLaqb$b;a(I)Laqb$b;intermediary method_8756Lnet/minecraft/class_1755$class_2184;method_8756(I)Lnet/minecraft/class_1755$class_2184;named getByIdLnet/minecraft/block/DoublePlantBlock$DoublePlantType;getById(I)Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
-
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;
-
getSingleName
- Mappings:
Namespace Name Mixin selector official cLaqb$b;c()Ljava/lang/String;intermediary method_8757Lnet/minecraft/class_1755$class_2184;method_8757()Ljava/lang/String;named getSingleNameLnet/minecraft/block/DoublePlantBlock$DoublePlantType;getSingleName()Ljava/lang/String;
-