Enum TallPlantBlock.GrassType

java.lang.Object
java.lang.Enum<TallPlantBlock.GrassType>
net.minecraft.block.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$a
intermediary net/minecraft/class_323$class_324
named net/minecraft/block/TallPlantBlock$GrassType
  • Enum Constant Details

    • DEAD_BUSH

      public static final TallPlantBlock.GrassType DEAD_BUSH
      Mappings:
      Namespace Name Mixin selector
      official a Lakc$a;a:Lakc$a;
      intermediary field_1263 Lnet/minecraft/class_323$class_324;field_1263:Lnet/minecraft/class_323$class_324;
      named DEAD_BUSH Lnet/minecraft/block/TallPlantBlock$GrassType;DEAD_BUSH:Lnet/minecraft/block/TallPlantBlock$GrassType;
    • GRASS

      public static final TallPlantBlock.GrassType GRASS
      Mappings:
      Namespace Name Mixin selector
      official b Lakc$a;b:Lakc$a;
      intermediary field_1264 Lnet/minecraft/class_323$class_324;field_1264:Lnet/minecraft/class_323$class_324;
      named GRASS Lnet/minecraft/block/TallPlantBlock$GrassType;GRASS:Lnet/minecraft/block/TallPlantBlock$GrassType;
    • FERN

      public static final TallPlantBlock.GrassType FERN
      Mappings:
      Namespace Name Mixin selector
      official c Lakc$a;c:Lakc$a;
      intermediary field_1265 Lnet/minecraft/class_323$class_324;field_1265:Lnet/minecraft/class_323$class_324;
      named FERN Lnet/minecraft/block/TallPlantBlock$GrassType;FERN:Lnet/minecraft/block/TallPlantBlock$GrassType;
  • Field Details

    • TYPES

      private static final TallPlantBlock.GrassType[] TYPES
      Mappings:
      Namespace Name Mixin selector
      official d Lakc$a;d:[Lakc$a;
      intermediary field_1266 Lnet/minecraft/class_323$class_324;field_1266:[Lnet/minecraft/class_323$class_324;
      named TYPES Lnet/minecraft/block/TallPlantBlock$GrassType;TYPES:[Lnet/minecraft/block/TallPlantBlock$GrassType;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official e Lakc$a;e:I
      intermediary field_1267 Lnet/minecraft/class_323$class_324;field_1267:I
      named id Lnet/minecraft/block/TallPlantBlock$GrassType;id:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official f Lakc$a;f:Ljava/lang/String;
      intermediary field_1268 Lnet/minecraft/class_323$class_324;field_1268:Ljava/lang/String;
      named name Lnet/minecraft/block/TallPlantBlock$GrassType;name:Ljava/lang/String;
  • Constructor Details

    • GrassType

      private GrassType​(int id, String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lakc$a;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_323$class_324;<init>(Ljava/lang/String;IILjava/lang/String;)V
      named <init> Lnet/minecraft/block/TallPlantBlock$GrassType;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static TallPlantBlock.GrassType[] 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

      public static TallPlantBlock.GrassType valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lakc$a;a()I
      intermediary method_1031 Lnet/minecraft/class_323$class_324;method_1031()I
      named getId Lnet/minecraft/block/TallPlantBlock$GrassType;getId()I
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TallPlantBlock.GrassType>
      Mappings:
      Namespace Name Mixin selector
      official toString Lakc$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_323$class_324;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/TallPlantBlock$GrassType;toString()Ljava/lang/String;
    • getById

      public static TallPlantBlock.GrassType getById​(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lakc$a;a(I)Lakc$a;
      intermediary method_1032 Lnet/minecraft/class_323$class_324;method_1032(I)Lnet/minecraft/class_323$class_324;
      named getById Lnet/minecraft/block/TallPlantBlock$GrassType;getById(I)Lnet/minecraft/block/TallPlantBlock$GrassType;
    • asString

      public String asString()
      Specified by:
      asString in interface StringIdentifiable
      Mappings:
      Namespace Name Mixin selector
      official l Lnw;l()Ljava/lang/String;
      intermediary method_6682 Lnet/minecraft/class_1709;method_6682()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;