Enum Class CubeFace

java.lang.Object
java.lang.Enum<CubeFace>
net.minecraft.client.render.model.CubeFace
All Implemented Interfaces:
Serializable, Comparable<CubeFace>, Constable

@Environment(CLIENT) public enum CubeFace extends Enum<CubeFace>
Mappings:
Namespace Name
official fix
intermediary net/minecraft/class_753
named net/minecraft/client/render/model/CubeFace
  • Enum Constant Details

    • DOWN

      public static final CubeFace DOWN
      Mappings:
      Namespace Name Mixin selector
      official a Lfix;a:Lfix;
      intermediary field_3965 Lnet/minecraft/class_753;field_3965:Lnet/minecraft/class_753;
      named DOWN Lnet/minecraft/client/render/model/CubeFace;DOWN:Lnet/minecraft/client/render/model/CubeFace;
    • UP

      public static final CubeFace UP
      Mappings:
      Namespace Name Mixin selector
      official b Lfix;b:Lfix;
      intermediary field_3960 Lnet/minecraft/class_753;field_3960:Lnet/minecraft/class_753;
      named UP Lnet/minecraft/client/render/model/CubeFace;UP:Lnet/minecraft/client/render/model/CubeFace;
    • NORTH

      public static final CubeFace NORTH
      Mappings:
      Namespace Name Mixin selector
      official c Lfix;c:Lfix;
      intermediary field_3962 Lnet/minecraft/class_753;field_3962:Lnet/minecraft/class_753;
      named NORTH Lnet/minecraft/client/render/model/CubeFace;NORTH:Lnet/minecraft/client/render/model/CubeFace;
    • SOUTH

      public static final CubeFace SOUTH
      Mappings:
      Namespace Name Mixin selector
      official d Lfix;d:Lfix;
      intermediary field_3963 Lnet/minecraft/class_753;field_3963:Lnet/minecraft/class_753;
      named SOUTH Lnet/minecraft/client/render/model/CubeFace;SOUTH:Lnet/minecraft/client/render/model/CubeFace;
    • WEST

      public static final CubeFace WEST
      Mappings:
      Namespace Name Mixin selector
      official e Lfix;e:Lfix;
      intermediary field_3966 Lnet/minecraft/class_753;field_3966:Lnet/minecraft/class_753;
      named WEST Lnet/minecraft/client/render/model/CubeFace;WEST:Lnet/minecraft/client/render/model/CubeFace;
    • EAST

      public static final CubeFace EAST
      Mappings:
      Namespace Name Mixin selector
      official f Lfix;f:Lfix;
      intermediary field_3961 Lnet/minecraft/class_753;field_3961:Lnet/minecraft/class_753;
      named EAST Lnet/minecraft/client/render/model/CubeFace;EAST:Lnet/minecraft/client/render/model/CubeFace;
  • Field Details

    • DIRECTION_LOOKUP

      private static final CubeFace[] DIRECTION_LOOKUP
      Mappings:
      Namespace Name Mixin selector
      official g Lfix;g:[Lfix;
      intermediary field_3958 Lnet/minecraft/class_753;field_3958:[Lnet/minecraft/class_753;
      named DIRECTION_LOOKUP Lnet/minecraft/client/render/model/CubeFace;DIRECTION_LOOKUP:[Lnet/minecraft/client/render/model/CubeFace;
    • corners

      private final CubeFace.Corner[] corners
      Mappings:
      Namespace Name Mixin selector
      official h Lfix;h:[Lfix$b;
      intermediary field_3959 Lnet/minecraft/class_753;field_3959:[Lnet/minecraft/class_753$class_755;
      named corners Lnet/minecraft/client/render/model/CubeFace;corners:[Lnet/minecraft/client/render/model/CubeFace$Corner;
  • Constructor Details

    • CubeFace

      private CubeFace(CubeFace.Corner[] corners)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfix;<init>(Ljava/lang/String;I[Lfix$b;)V
      intermediary <init> Lnet/minecraft/class_753;<init>(Ljava/lang/String;I[Lnet/minecraft/class_753$class_755;)V
      named <init> Lnet/minecraft/client/render/model/CubeFace;<init>(Ljava/lang/String;I[Lnet/minecraft/client/render/model/CubeFace$Corner;)V
  • Method Details

    • values

      public static CubeFace[] 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 CubeFace 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
    • getFace

      public static CubeFace getFace(Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lfix;a(Lha;)Lfix;
      intermediary method_3163 Lnet/minecraft/class_753;method_3163(Lnet/minecraft/class_2350;)Lnet/minecraft/class_753;
      named getFace Lnet/minecraft/client/render/model/CubeFace;getFace(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/client/render/model/CubeFace;
    • getCorner

      public CubeFace.Corner getCorner(int corner)
      Mappings:
      Namespace Name Mixin selector
      official a Lfix;a(I)Lfix$b;
      intermediary method_3162 Lnet/minecraft/class_753;method_3162(I)Lnet/minecraft/class_753$class_755;
      named getCorner Lnet/minecraft/client/render/model/CubeFace;getCorner(I)Lnet/minecraft/client/render/model/CubeFace$Corner;