Enum Class WallBlock.WallType

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

public static enum WallBlock.WallType extends Enum<WallBlock.WallType> implements StringIdentifiable
Mappings:
Namespace Name
official apk$a
intermediary net/minecraft/class_1307$class_2222
named net/minecraft/block/WallBlock$WallType
  • Enum Constant Details

    • NORMAL

      public static final WallBlock.WallType NORMAL
      Mappings:
      Namespace Name Mixin selector
      official a Lapk$a;a:Lapk$a;
      intermediary field_9784 Lnet/minecraft/class_1307$class_2222;field_9784:Lnet/minecraft/class_1307$class_2222;
      named NORMAL Lnet/minecraft/block/WallBlock$WallType;NORMAL:Lnet/minecraft/block/WallBlock$WallType;
    • MOSSY

      public static final WallBlock.WallType MOSSY
      Mappings:
      Namespace Name Mixin selector
      official b Lapk$a;b:Lapk$a;
      intermediary field_9785 Lnet/minecraft/class_1307$class_2222;field_9785:Lnet/minecraft/class_1307$class_2222;
      named MOSSY Lnet/minecraft/block/WallBlock$WallType;MOSSY:Lnet/minecraft/block/WallBlock$WallType;
  • Field Details

    • TYPES

      private static final WallBlock.WallType[] TYPES
      Mappings:
      Namespace Name Mixin selector
      official c Lapk$a;c:[Lapk$a;
      intermediary field_9786 Lnet/minecraft/class_1307$class_2222;field_9786:[Lnet/minecraft/class_1307$class_2222;
      named TYPES Lnet/minecraft/block/WallBlock$WallType;TYPES:[Lnet/minecraft/block/WallBlock$WallType;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official d Lapk$a;d:I
      intermediary field_9787 Lnet/minecraft/class_1307$class_2222;field_9787:I
      named id Lnet/minecraft/block/WallBlock$WallType;id:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official e Lapk$a;e:Ljava/lang/String;
      intermediary field_9788 Lnet/minecraft/class_1307$class_2222;field_9788:Ljava/lang/String;
      named name Lnet/minecraft/block/WallBlock$WallType;name:Ljava/lang/String;
    • stateName

      private String stateName
      Mappings:
      Namespace Name Mixin selector
      official f Lapk$a;f:Ljava/lang/String;
      intermediary field_9789 Lnet/minecraft/class_1307$class_2222;field_9789:Ljava/lang/String;
      named stateName Lnet/minecraft/block/WallBlock$WallType;stateName:Ljava/lang/String;
  • Constructor Details

    • WallType

      private WallType(int id, String name, String stateName)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lapk$a;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1307$class_2222;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/block/WallBlock$WallType;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
  • Method Details

    • values

      public static WallBlock.WallType[] 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 WallBlock.WallType 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
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lapk$a;a()I
      intermediary method_8952 Lnet/minecraft/class_1307$class_2222;method_8952()I
      named getId Lnet/minecraft/block/WallBlock$WallType;getId()I
    • toString

      public String toString()
      Overrides:
      toString in class Enum<WallBlock.WallType>
      Mappings:
      Namespace Name Mixin selector
      official toString Lapk$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_1307$class_2222;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/WallBlock$WallType;toString()Ljava/lang/String;
    • getById

      public static WallBlock.WallType getById(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lapk$a;a(I)Lapk$a;
      intermediary method_8953 Lnet/minecraft/class_1307$class_2222;method_8953(I)Lnet/minecraft/class_1307$class_2222;
      named getById Lnet/minecraft/block/WallBlock$WallType;getById(I)Lnet/minecraft/block/WallBlock$WallType;
    • asString

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

      public String getBlockStateName()
      Mappings:
      Namespace Name Mixin selector
      official c Lapk$a;c()Ljava/lang/String;
      intermediary method_8954 Lnet/minecraft/class_1307$class_2222;method_8954()Ljava/lang/String;
      named getBlockStateName Lnet/minecraft/block/WallBlock$WallType;getBlockStateName()Ljava/lang/String;