Package net.minecraft.block
Enum Class TallPlantBlock.GrassType
- All Implemented Interfaces:
Serializable,Comparable<TallPlantBlock.GrassType>,Constable,StringIdentifiable
- Enclosing class:
- TallPlantBlock
public static enum TallPlantBlock.GrassType
extends Enum<TallPlantBlock.GrassType>
implements StringIdentifiable
- Mappings:
Namespace Name official aun$aintermediary net/minecraft/class_193$class_2220named net/minecraft/block/TallPlantBlock$GrassType
-
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 static final TallPlantBlock.GrassType[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()static TallPlantBlock.GrassTypegetById(int id) intgetId()toString()static TallPlantBlock.GrassTypeReturns the enum constant of this class with the specified name.static TallPlantBlock.GrassType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEAD_BUSH
- Mappings:
Namespace Name Mixin selector official aLaun$a;a:Laun$a;intermediary field_9736Lnet/minecraft/class_193$class_2220;field_9736:Lnet/minecraft/class_193$class_2220;named DEAD_BUSHLnet/minecraft/block/TallPlantBlock$GrassType;DEAD_BUSH:Lnet/minecraft/block/TallPlantBlock$GrassType;
-
GRASS
- Mappings:
Namespace Name Mixin selector official bLaun$a;b:Laun$a;intermediary field_9737Lnet/minecraft/class_193$class_2220;field_9737:Lnet/minecraft/class_193$class_2220;named GRASSLnet/minecraft/block/TallPlantBlock$GrassType;GRASS:Lnet/minecraft/block/TallPlantBlock$GrassType;
-
FERN
- Mappings:
Namespace Name Mixin selector official cLaun$a;c:Laun$a;intermediary field_9738Lnet/minecraft/class_193$class_2220;field_9738:Lnet/minecraft/class_193$class_2220;named FERNLnet/minecraft/block/TallPlantBlock$GrassType;FERN:Lnet/minecraft/block/TallPlantBlock$GrassType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official dLaun$a;d:[Laun$a;intermediary field_9739Lnet/minecraft/class_193$class_2220;field_9739:[Lnet/minecraft/class_193$class_2220;named TYPESLnet/minecraft/block/TallPlantBlock$GrassType;TYPES:[Lnet/minecraft/block/TallPlantBlock$GrassType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official eLaun$a;e:Iintermediary field_9740Lnet/minecraft/class_193$class_2220;field_9740:Inamed idLnet/minecraft/block/TallPlantBlock$GrassType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official fLaun$a;f:Ljava/lang/String;intermediary field_9741Lnet/minecraft/class_193$class_2220;field_9741:Ljava/lang/String;named nameLnet/minecraft/block/TallPlantBlock$GrassType;name:Ljava/lang/String;
-
-
Constructor Details
-
GrassType
- Mappings:
Namespace Name Mixin selector official <init>Laun$a;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_193$class_2220;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/TallPlantBlock$GrassType;<init>(Ljava/lang/String;IILjava/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 aLaun$a;a()Iintermediary method_8930Lnet/minecraft/class_193$class_2220;method_8930()Inamed getIdLnet/minecraft/block/TallPlantBlock$GrassType;getId()I
-
toString
- Overrides:
toStringin classEnum<TallPlantBlock.GrassType>- Mappings:
Namespace Name Mixin selector official toStringLaun$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_193$class_2220;toString()Ljava/lang/String;named toStringLnet/minecraft/block/TallPlantBlock$GrassType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLaun$a;a(I)Laun$a;intermediary method_8931Lnet/minecraft/class_193$class_2220;method_8931(I)Lnet/minecraft/class_193$class_2220;named getByIdLnet/minecraft/block/TallPlantBlock$GrassType;getById(I)Lnet/minecraft/block/TallPlantBlock$GrassType;
-
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;
-