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
named net/minecraft/block/enums/BlockFace
intermediary net/minecraft/class_2738
official dyf
  • Enum Constant Details

    • FLOOR

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

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

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

    • name

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

    • BlockFace

      private BlockFace(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/enums/BlockFace;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2738;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Ldyf;<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
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbba;c()Ljava/lang/String;