Enum Class BlockFace

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

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

    • FLOOR

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

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

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

    • name

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

    • BlockFace

      private BlockFace(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldjs;<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/BlockFace;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static BlockFace[] 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 BlockFace 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 Lavk;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;