Package net.minecraft.block
Enum TallPlantBlock.GrassType
- All Implemented Interfaces:
Serializable,Comparable<TallPlantBlock.GrassType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- TallPlantBlock
public static enum TallPlantBlock.GrassType extends Enum<TallPlantBlock.GrassType> implements StringIdentifiable
- Mappings:
Namespace Name official akc$aintermediary net/minecraft/class_323$class_324named 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
-
Field Summary
Fields Modifier and Type Field Description private intidprivate Stringnameprivate static TallPlantBlock.GrassType[]TYPES -
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringasString()static TallPlantBlock.GrassTypegetById(int id)intgetId()StringtoString()static TallPlantBlock.GrassTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TallPlantBlock.GrassType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEAD_BUSH
- Mappings:
Namespace Name Mixin selector official aLakc$a;a:Lakc$a;intermediary field_1263Lnet/minecraft/class_323$class_324;field_1263:Lnet/minecraft/class_323$class_324;named DEAD_BUSHLnet/minecraft/block/TallPlantBlock$GrassType;DEAD_BUSH:Lnet/minecraft/block/TallPlantBlock$GrassType;
-
GRASS
- Mappings:
Namespace Name Mixin selector official bLakc$a;b:Lakc$a;intermediary field_1264Lnet/minecraft/class_323$class_324;field_1264:Lnet/minecraft/class_323$class_324;named GRASSLnet/minecraft/block/TallPlantBlock$GrassType;GRASS:Lnet/minecraft/block/TallPlantBlock$GrassType;
-
FERN
- Mappings:
Namespace Name Mixin selector official cLakc$a;c:Lakc$a;intermediary field_1265Lnet/minecraft/class_323$class_324;field_1265:Lnet/minecraft/class_323$class_324;named FERNLnet/minecraft/block/TallPlantBlock$GrassType;FERN:Lnet/minecraft/block/TallPlantBlock$GrassType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official dLakc$a;d:[Lakc$a;intermediary field_1266Lnet/minecraft/class_323$class_324;field_1266:[Lnet/minecraft/class_323$class_324;named TYPESLnet/minecraft/block/TallPlantBlock$GrassType;TYPES:[Lnet/minecraft/block/TallPlantBlock$GrassType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official eLakc$a;e:Iintermediary field_1267Lnet/minecraft/class_323$class_324;field_1267:Inamed idLnet/minecraft/block/TallPlantBlock$GrassType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official fLakc$a;f:Ljava/lang/String;intermediary field_1268Lnet/minecraft/class_323$class_324;field_1268:Ljava/lang/String;named nameLnet/minecraft/block/TallPlantBlock$GrassType;name:Ljava/lang/String;
-
-
Constructor Details
-
GrassType
- Mappings:
Namespace Name Mixin selector official <init>Lakc$a;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_323$class_324;<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 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 aLakc$a;a()Iintermediary method_1031Lnet/minecraft/class_323$class_324;method_1031()Inamed getIdLnet/minecraft/block/TallPlantBlock$GrassType;getId()I
-
toString
- Overrides:
toStringin classEnum<TallPlantBlock.GrassType>- Mappings:
Namespace Name Mixin selector official toStringLakc$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_323$class_324;toString()Ljava/lang/String;named toStringLnet/minecraft/block/TallPlantBlock$GrassType;toString()Ljava/lang/String;
-
getById
- Mappings:
Namespace Name Mixin selector official aLakc$a;a(I)Lakc$a;intermediary method_1032Lnet/minecraft/class_323$class_324;method_1032(I)Lnet/minecraft/class_323$class_324;named getByIdLnet/minecraft/block/TallPlantBlock$GrassType;getById(I)Lnet/minecraft/block/TallPlantBlock$GrassType;
-
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;
-