Enum StairsBlock.Shape

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

public static enum StairsBlock.Shape
extends Enum<StairsBlock.Shape>
implements StringIdentifiable
Mappings:
Namespace Name
official aju$b
intermediary net/minecraft/class_309$class_311
named net/minecraft/block/StairsBlock$Shape
  • Enum Constant Details

    • STRAIGHT

      public static final StairsBlock.Shape STRAIGHT
      Mappings:
      Namespace Name Mixin selector
      official a Laju$b;a:Laju$b;
      intermediary field_1207 Lnet/minecraft/class_309$class_311;field_1207:Lnet/minecraft/class_309$class_311;
      named STRAIGHT Lnet/minecraft/block/StairsBlock$Shape;STRAIGHT:Lnet/minecraft/block/StairsBlock$Shape;
    • INNER_LEFT

      public static final StairsBlock.Shape INNER_LEFT
      Mappings:
      Namespace Name Mixin selector
      official b Laju$b;b:Laju$b;
      intermediary field_1208 Lnet/minecraft/class_309$class_311;field_1208:Lnet/minecraft/class_309$class_311;
      named INNER_LEFT Lnet/minecraft/block/StairsBlock$Shape;INNER_LEFT:Lnet/minecraft/block/StairsBlock$Shape;
    • INNER_RIGHT

      public static final StairsBlock.Shape INNER_RIGHT
      Mappings:
      Namespace Name Mixin selector
      official c Laju$b;c:Laju$b;
      intermediary field_1209 Lnet/minecraft/class_309$class_311;field_1209:Lnet/minecraft/class_309$class_311;
      named INNER_RIGHT Lnet/minecraft/block/StairsBlock$Shape;INNER_RIGHT:Lnet/minecraft/block/StairsBlock$Shape;
    • OUTER_LEFT

      public static final StairsBlock.Shape OUTER_LEFT
      Mappings:
      Namespace Name Mixin selector
      official d Laju$b;d:Laju$b;
      intermediary field_1210 Lnet/minecraft/class_309$class_311;field_1210:Lnet/minecraft/class_309$class_311;
      named OUTER_LEFT Lnet/minecraft/block/StairsBlock$Shape;OUTER_LEFT:Lnet/minecraft/block/StairsBlock$Shape;
    • OUTER_RIGHT

      public static final StairsBlock.Shape OUTER_RIGHT
      Mappings:
      Namespace Name Mixin selector
      official e Laju$b;e:Laju$b;
      intermediary field_1211 Lnet/minecraft/class_309$class_311;field_1211:Lnet/minecraft/class_309$class_311;
      named OUTER_RIGHT Lnet/minecraft/block/StairsBlock$Shape;OUTER_RIGHT:Lnet/minecraft/block/StairsBlock$Shape;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official f Laju$b;f:Ljava/lang/String;
      intermediary field_1212 Lnet/minecraft/class_309$class_311;field_1212:Ljava/lang/String;
      named name Lnet/minecraft/block/StairsBlock$Shape;name:Ljava/lang/String;
  • Constructor Details

    • Shape

      private Shape​(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laju$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_309$class_311;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/block/StairsBlock$Shape;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static StairsBlock.Shape[] 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 StairsBlock.Shape 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<StairsBlock.Shape>
      Mappings:
      Namespace Name Mixin selector
      official toString Laju$b;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_309$class_311;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/StairsBlock$Shape;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;