Enum Class TrapdoorBlock.TrapdoorType

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

public static enum TrapdoorBlock.TrapdoorType extends Enum<TrapdoorBlock.TrapdoorType> implements StringIdentifiable
Mappings:
Namespace Name
official arm$a
intermediary net/minecraft/class_205$class_2221
named net/minecraft/block/TrapdoorBlock$TrapdoorType
  • Enum Constant Details

    • TOP

      public static final TrapdoorBlock.TrapdoorType TOP
      Mappings:
      Namespace Name Mixin selector
      official a Larm$a;a:Larm$a;
      intermediary field_9754 Lnet/minecraft/class_205$class_2221;field_9754:Lnet/minecraft/class_205$class_2221;
      named TOP Lnet/minecraft/block/TrapdoorBlock$TrapdoorType;TOP:Lnet/minecraft/block/TrapdoorBlock$TrapdoorType;
    • BOTTOM

      public static final TrapdoorBlock.TrapdoorType BOTTOM
      Mappings:
      Namespace Name Mixin selector
      official b Larm$a;b:Larm$a;
      intermediary field_9755 Lnet/minecraft/class_205$class_2221;field_9755:Lnet/minecraft/class_205$class_2221;
      named BOTTOM Lnet/minecraft/block/TrapdoorBlock$TrapdoorType;BOTTOM:Lnet/minecraft/block/TrapdoorBlock$TrapdoorType;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official c Larm$a;c:Ljava/lang/String;
      intermediary field_9756 Lnet/minecraft/class_205$class_2221;field_9756:Ljava/lang/String;
      named name Lnet/minecraft/block/TrapdoorBlock$TrapdoorType;name:Ljava/lang/String;
  • Constructor Details

    • TrapdoorType

      private TrapdoorType(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Larm$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_205$class_2221;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/block/TrapdoorBlock$TrapdoorType;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static TrapdoorBlock.TrapdoorType[] 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 TrapdoorBlock.TrapdoorType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TrapdoorBlock.TrapdoorType>
      Mappings:
      Namespace Name Mixin selector
      official toString Larm$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_205$class_2221;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/TrapdoorBlock$TrapdoorType;toString()Ljava/lang/String;
    • asString

      public String asString()
      Specified by:
      asString in interface StringIdentifiable
      Mappings:
      Namespace Name Mixin selector
      official m Lox;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;