Enum DoorBlock.HalfType

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

public static enum DoorBlock.HalfType
extends Enum<DoorBlock.HalfType>
implements StringIdentifiable
Mappings:
Namespace Name
official agh$a
intermediary net/minecraft/class_192$class_193
named net/minecraft/block/DoorBlock$HalfType
  • Enum Constant Details

    • UPPER

      public static final DoorBlock.HalfType UPPER
      Mappings:
      Namespace Name Mixin selector
      official a Lagh$a;a:Lagh$a;
      intermediary field_873 Lnet/minecraft/class_192$class_193;field_873:Lnet/minecraft/class_192$class_193;
      named UPPER Lnet/minecraft/block/DoorBlock$HalfType;UPPER:Lnet/minecraft/block/DoorBlock$HalfType;
    • LOWER

      public static final DoorBlock.HalfType LOWER
      Mappings:
      Namespace Name Mixin selector
      official b Lagh$a;b:Lagh$a;
      intermediary field_874 Lnet/minecraft/class_192$class_193;field_874:Lnet/minecraft/class_192$class_193;
      named LOWER Lnet/minecraft/block/DoorBlock$HalfType;LOWER:Lnet/minecraft/block/DoorBlock$HalfType;
  • Constructor Details

    • HalfType

      private HalfType()
  • Method Details

    • values

      public static DoorBlock.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 DoorBlock.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<DoorBlock.HalfType>
      Mappings:
      Namespace Name Mixin selector
      official toString Lagh$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_192$class_193;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/DoorBlock$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;