Enum Class WallShape

java.lang.Object
java.lang.Enum<WallShape>
net.minecraft.block.enums.WallShape
All Implemented Interfaces:
Serializable, Comparable<WallShape>, Constable, StringIdentifiable

public enum WallShape extends Enum<WallShape> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/block/enums/WallShape
intermediary net/minecraft/class_4778
official dtx
  • Enum Constant Details

    • NONE

      public static final WallShape NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/block/enums/WallShape;NONE:Lnet/minecraft/block/enums/WallShape;
      intermediary field_22178 Lnet/minecraft/class_4778;field_22178:Lnet/minecraft/class_4778;
      official a Ldtx;a:Ldtx;
    • LOW

      public static final WallShape LOW
      Mappings:
      Namespace Name Mixin selector
      named LOW Lnet/minecraft/block/enums/WallShape;LOW:Lnet/minecraft/block/enums/WallShape;
      intermediary field_22179 Lnet/minecraft/class_4778;field_22179:Lnet/minecraft/class_4778;
      official b Ldtx;b:Ldtx;
    • TALL

      public static final WallShape TALL
      Mappings:
      Namespace Name Mixin selector
      named TALL Lnet/minecraft/block/enums/WallShape;TALL:Lnet/minecraft/block/enums/WallShape;
      intermediary field_22180 Lnet/minecraft/class_4778;field_22180:Lnet/minecraft/class_4778;
      official c Ldtx;c:Ldtx;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/block/enums/WallShape;name:Ljava/lang/String;
      intermediary field_22181 Lnet/minecraft/class_4778;field_22181:Ljava/lang/String;
      official d Ldtx;d:Ljava/lang/String;
  • Constructor Details

    • WallShape

      private WallShape(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/enums/WallShape;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4778;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Ldtx;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static WallShape[] 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 WallShape 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<WallShape>
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazc;c()Ljava/lang/String;