Enum TrapdoorBlock.TrapdoorType

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

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

    • TOP

      public static final TrapdoorBlock.TrapdoorType TOP
      Mappings:
      Namespace Name Mixin selector
      official a Lakh$a;a:Lakh$a;
      intermediary field_1283 Lnet/minecraft/class_329$class_330;field_1283:Lnet/minecraft/class_329$class_330;
      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 Lakh$a;b:Lakh$a;
      intermediary field_1284 Lnet/minecraft/class_329$class_330;field_1284:Lnet/minecraft/class_329$class_330;
      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 Lakh$a;c:Ljava/lang/String;
      intermediary field_1285 Lnet/minecraft/class_329$class_330;field_1285: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> Lakh$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_329$class_330;<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 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 TrapdoorBlock.TrapdoorType 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<TrapdoorBlock.TrapdoorType>
      Mappings:
      Namespace Name Mixin selector
      official toString Lakh$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_329$class_330;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 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;