Enum DoublePlantBlock.DoublePlantType

java.lang.Object
java.lang.Enum<DoublePlantBlock.DoublePlantType>
net.minecraft.block.DoublePlantBlock.DoublePlantType
All Implemented Interfaces:
Serializable, Comparable<DoublePlantBlock.DoublePlantType>, java.lang.constant.Constable, StringIdentifiable
Enclosing class:
DoublePlantBlock

public static enum DoublePlantBlock.DoublePlantType
extends Enum<DoublePlantBlock.DoublePlantType>
implements StringIdentifiable
Mappings:
Namespace Name
official agi$b
intermediary net/minecraft/class_195$class_197
named net/minecraft/block/DoublePlantBlock$DoublePlantType
  • Enum Constant Details

    • SUNFLOWER

      public static final DoublePlantBlock.DoublePlantType SUNFLOWER
      Mappings:
      Namespace Name Mixin selector
      official a Lagi$b;a:Lagi$b;
      intermediary field_885 Lnet/minecraft/class_195$class_197;field_885:Lnet/minecraft/class_195$class_197;
      named SUNFLOWER Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;SUNFLOWER:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
    • SYRINGA

      public static final DoublePlantBlock.DoublePlantType SYRINGA
      Mappings:
      Namespace Name Mixin selector
      official b Lagi$b;b:Lagi$b;
      intermediary field_886 Lnet/minecraft/class_195$class_197;field_886:Lnet/minecraft/class_195$class_197;
      named SYRINGA Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;SYRINGA:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
    • GRASS

      public static final DoublePlantBlock.DoublePlantType GRASS
      Mappings:
      Namespace Name Mixin selector
      official c Lagi$b;c:Lagi$b;
      intermediary field_887 Lnet/minecraft/class_195$class_197;field_887:Lnet/minecraft/class_195$class_197;
      named GRASS Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;GRASS:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
    • FERN

      public static final DoublePlantBlock.DoublePlantType FERN
      Mappings:
      Namespace Name Mixin selector
      official d Lagi$b;d:Lagi$b;
      intermediary field_888 Lnet/minecraft/class_195$class_197;field_888:Lnet/minecraft/class_195$class_197;
      named FERN Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;FERN:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
    • ROSE

      public static final DoublePlantBlock.DoublePlantType ROSE
      Mappings:
      Namespace Name Mixin selector
      official e Lagi$b;e:Lagi$b;
      intermediary field_889 Lnet/minecraft/class_195$class_197;field_889:Lnet/minecraft/class_195$class_197;
      named ROSE Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;ROSE:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
    • PAEONIA

      public static final DoublePlantBlock.DoublePlantType PAEONIA
      Mappings:
      Namespace Name Mixin selector
      official f Lagi$b;f:Lagi$b;
      intermediary field_890 Lnet/minecraft/class_195$class_197;field_890:Lnet/minecraft/class_195$class_197;
      named PAEONIA Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;PAEONIA:Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
  • Field Details

    • VALUES

      private static final DoublePlantBlock.DoublePlantType[] VALUES
      Mappings:
      Namespace Name Mixin selector
      official g Lagi$b;g:[Lagi$b;
      intermediary field_891 Lnet/minecraft/class_195$class_197;field_891:[Lnet/minecraft/class_195$class_197;
      named VALUES Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;VALUES:[Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official h Lagi$b;h:I
      intermediary field_892 Lnet/minecraft/class_195$class_197;field_892:I
      named id Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;id:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official i Lagi$b;i:Ljava/lang/String;
      intermediary field_893 Lnet/minecraft/class_195$class_197;field_893:Ljava/lang/String;
      named name Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;name:Ljava/lang/String;
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      official j Lagi$b;j:Ljava/lang/String;
      intermediary field_894 Lnet/minecraft/class_195$class_197;field_894:Ljava/lang/String;
      named translationKey Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;translationKey:Ljava/lang/String;
  • Constructor Details

    • DoublePlantType

      private DoublePlantType​(int id, String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lagi$b;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_195$class_197;<init>(Ljava/lang/String;IILjava/lang/String;)V
      named <init> Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;<init>(Ljava/lang/String;IILjava/lang/String;)V
    • DoublePlantType

      private DoublePlantType​(int id, String name, String translationKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lagi$b;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_195$class_197;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
  • Method Details

    • values

      public static DoublePlantBlock.DoublePlantType[] 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 DoublePlantBlock.DoublePlantType 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 Lagi$b;a()I
      intermediary method_829 Lnet/minecraft/class_195$class_197;method_829()I
      named getId Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;getId()I
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DoublePlantBlock.DoublePlantType>
      Mappings:
      Namespace Name Mixin selector
      official toString Lagi$b;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_195$class_197;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;toString()Ljava/lang/String;
    • getById

      public static DoublePlantBlock.DoublePlantType getById​(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lagi$b;a(I)Lagi$b;
      intermediary method_830 Lnet/minecraft/class_195$class_197;method_830(I)Lnet/minecraft/class_195$class_197;
      named getById Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;getById(I)Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;
    • 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;
    • getSingleName

      public String getSingleName()
      Mappings:
      Namespace Name Mixin selector
      official c Lagi$b;c()Ljava/lang/String;
      intermediary method_831 Lnet/minecraft/class_195$class_197;method_831()Ljava/lang/String;
      named getSingleName Lnet/minecraft/block/DoublePlantBlock$DoublePlantType;getSingleName()Ljava/lang/String;