Enum Class WallMountLocation

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

public enum WallMountLocation extends Enum<WallMountLocation> implements StringIdentifiable
Mappings:
Namespace Name
official dcm
intermediary net/minecraft/class_2738
named net/minecraft/block/enums/WallMountLocation
  • Enum Constant Details

    • FLOOR

      public static final WallMountLocation FLOOR
      Mappings:
      Namespace Name Mixin selector
      official a Ldcm;a:Ldcm;
      intermediary field_12475 Lnet/minecraft/class_2738;field_12475:Lnet/minecraft/class_2738;
      named FLOOR Lnet/minecraft/block/enums/WallMountLocation;FLOOR:Lnet/minecraft/block/enums/WallMountLocation;
    • WALL

      public static final WallMountLocation WALL
      Mappings:
      Namespace Name Mixin selector
      official b Ldcm;b:Ldcm;
      intermediary field_12471 Lnet/minecraft/class_2738;field_12471:Lnet/minecraft/class_2738;
      named WALL Lnet/minecraft/block/enums/WallMountLocation;WALL:Lnet/minecraft/block/enums/WallMountLocation;
    • CEILING

      public static final WallMountLocation CEILING
      Mappings:
      Namespace Name Mixin selector
      official c Ldcm;c:Ldcm;
      intermediary field_12473 Lnet/minecraft/class_2738;field_12473:Lnet/minecraft/class_2738;
      named CEILING Lnet/minecraft/block/enums/WallMountLocation;CEILING:Lnet/minecraft/block/enums/WallMountLocation;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official d Ldcm;d:Ljava/lang/String;
      intermediary field_12472 Lnet/minecraft/class_2738;field_12472:Ljava/lang/String;
      named name Lnet/minecraft/block/enums/WallMountLocation;name:Ljava/lang/String;
  • Constructor Details

    • WallMountLocation

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

    • values

      public static WallMountLocation[] 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 WallMountLocation 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
    • 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
      official c Lapr;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;