Enum Class TallPlantBlock.GrassType

java.lang.Object
java.lang.Enum<TallPlantBlock.GrassType>
net.minecraft.block.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 apc$a
intermediary net/minecraft/class_193$class_2220
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 Lapc$a;a:Lapc$a;
      intermediary field_9736 Lnet/minecraft/class_193$class_2220;field_9736:Lnet/minecraft/class_193$class_2220;
      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 Lapc$a;b:Lapc$a;
      intermediary field_9737 Lnet/minecraft/class_193$class_2220;field_9737:Lnet/minecraft/class_193$class_2220;
      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 Lapc$a;c:Lapc$a;
      intermediary field_9738 Lnet/minecraft/class_193$class_2220;field_9738:Lnet/minecraft/class_193$class_2220;
      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 Lapc$a;d:[Lapc$a;
      intermediary field_9739 Lnet/minecraft/class_193$class_2220;field_9739:[Lnet/minecraft/class_193$class_2220;
      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 Lapc$a;e:I
      intermediary field_9740 Lnet/minecraft/class_193$class_2220;field_9740:I
      named id Lnet/minecraft/block/TallPlantBlock$GrassType;id:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official f Lapc$a;f:Ljava/lang/String;
      intermediary field_9741 Lnet/minecraft/class_193$class_2220;field_9741: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> Lapc$a;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_193$class_2220;<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 class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

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

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lapc$a;a()I
      intermediary method_8930 Lnet/minecraft/class_193$class_2220;method_8930()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 Lapc$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_193$class_2220;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 Lapc$a;a(I)Lapc$a;
      intermediary method_8931 Lnet/minecraft/class_193$class_2220;method_8931(I)Lnet/minecraft/class_193$class_2220;
      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 m Lor;m()Ljava/lang/String;
      intermediary method_10853 Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;