Enum Class StairsBlock.Half

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

public static enum StairsBlock.Half extends Enum<StairsBlock.Half> implements StringIdentifiable
Mappings:
Namespace Name
official aud$a
intermediary net/minecraft/class_188$class_2214
named net/minecraft/block/StairsBlock$Half
  • Enum Constant Details

    • TOP

      public static final StairsBlock.Half TOP
      Mappings:
      Namespace Name Mixin selector
      official a Laud$a;a:Laud$a;
      intermediary field_9677 Lnet/minecraft/class_188$class_2214;field_9677:Lnet/minecraft/class_188$class_2214;
      named TOP Lnet/minecraft/block/StairsBlock$Half;TOP:Lnet/minecraft/block/StairsBlock$Half;
    • BOTTOM

      public static final StairsBlock.Half BOTTOM
      Mappings:
      Namespace Name Mixin selector
      official b Laud$a;b:Laud$a;
      intermediary field_9678 Lnet/minecraft/class_188$class_2214;field_9678:Lnet/minecraft/class_188$class_2214;
      named BOTTOM Lnet/minecraft/block/StairsBlock$Half;BOTTOM:Lnet/minecraft/block/StairsBlock$Half;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official c Laud$a;c:Ljava/lang/String;
      intermediary field_9679 Lnet/minecraft/class_188$class_2214;field_9679:Ljava/lang/String;
      named name Lnet/minecraft/block/StairsBlock$Half;name:Ljava/lang/String;
  • Constructor Details

    • Half

      private Half(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laud$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_188$class_2214;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/block/StairsBlock$Half;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static StairsBlock.Half[] 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 StairsBlock.Half 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<StairsBlock.Half>
      Mappings:
      Namespace Name Mixin selector
      official toString Laud$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_188$class_2214;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/StairsBlock$Half;toString()Ljava/lang/String;
    • asString

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