Enum DoublePlantBlock.HalfType

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

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

    • UPPER

      public static final DoublePlantBlock.HalfType UPPER
      Mappings:
      Namespace Name Mixin selector
      official a Lagi$a;a:Lagi$a;
      intermediary field_882 Lnet/minecraft/class_195$class_196;field_882:Lnet/minecraft/class_195$class_196;
      named UPPER Lnet/minecraft/block/DoublePlantBlock$HalfType;UPPER:Lnet/minecraft/block/DoublePlantBlock$HalfType;
    • LOWER

      public static final DoublePlantBlock.HalfType LOWER
      Mappings:
      Namespace Name Mixin selector
      official b Lagi$a;b:Lagi$a;
      intermediary field_883 Lnet/minecraft/class_195$class_196;field_883:Lnet/minecraft/class_195$class_196;
      named LOWER Lnet/minecraft/block/DoublePlantBlock$HalfType;LOWER:Lnet/minecraft/block/DoublePlantBlock$HalfType;
  • Constructor Details

    • HalfType

      private HalfType()
  • Method Details

    • values

      public static DoublePlantBlock.HalfType[] 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.HalfType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DoublePlantBlock.HalfType>
      Mappings:
      Namespace Name Mixin selector
      official toString Lagi$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_195$class_196;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/DoublePlantBlock$HalfType;toString()Ljava/lang/String;
    • 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;