Enum WallBlock.WallType

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

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

    • NORMAL

      public static final WallBlock.WallType NORMAL
      Mappings:
      Namespace Name Mixin selector
      official a Lakl$a;a:Lakl$a;
      intermediary field_1313 Lnet/minecraft/class_334$class_335;field_1313:Lnet/minecraft/class_334$class_335;
      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 Lakl$a;b:Lakl$a;
      intermediary field_1314 Lnet/minecraft/class_334$class_335;field_1314:Lnet/minecraft/class_334$class_335;
      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 Lakl$a;c:[Lakl$a;
      intermediary field_1315 Lnet/minecraft/class_334$class_335;field_1315:[Lnet/minecraft/class_334$class_335;
      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 Lakl$a;d:I
      intermediary field_1316 Lnet/minecraft/class_334$class_335;field_1316:I
      named id Lnet/minecraft/block/WallBlock$WallType;id:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official e Lakl$a;e:Ljava/lang/String;
      intermediary field_1317 Lnet/minecraft/class_334$class_335;field_1317: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 Lakl$a;f:Ljava/lang/String;
      intermediary field_1318 Lnet/minecraft/class_334$class_335;field_1318: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> Lakl$a;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_334$class_335;<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 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 WallBlock.WallType 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
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lakl$a;a()I
      intermediary method_1056 Lnet/minecraft/class_334$class_335;method_1056()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 Lakl$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_334$class_335;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 Lakl$a;a(I)Lakl$a;
      intermediary method_1057 Lnet/minecraft/class_334$class_335;method_1057(I)Lnet/minecraft/class_334$class_335;
      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 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;
    • getBlockStateName

      public String getBlockStateName()
      Mappings:
      Namespace Name Mixin selector
      official c Lakl$a;c()Ljava/lang/String;
      intermediary method_1058 Lnet/minecraft/class_334$class_335;method_1058()Ljava/lang/String;
      named getBlockStateName Lnet/minecraft/block/WallBlock$WallType;getBlockStateName()Ljava/lang/String;