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
named net/minecraft/client/render/model/CubeFace
intermediary net/minecraft/class_753
official gdg
  • Enum Constant Details

    • DOWN

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

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

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

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

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

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

    • DIRECTION_LOOKUP

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

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

    • CubeFace

      private CubeFace(CubeFace.Corner[] corners)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/CubeFace;<init>(Ljava/lang/String;I[Lnet/minecraft/client/render/model/CubeFace$Corner;)V
      intermediary <init> Lnet/minecraft/class_753;<init>(Ljava/lang/String;I[Lnet/minecraft/class_753$class_755;)V
      official <init> Lgdg;<init>(Ljava/lang/String;I[Lgdg$b;)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
      named getFace Lnet/minecraft/client/render/model/CubeFace;getFace(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/client/render/model/CubeFace;
      intermediary method_3163 Lnet/minecraft/class_753;method_3163(Lnet/minecraft/class_2350;)Lnet/minecraft/class_753;
      official a Lgdg;a(Lje;)Lgdg;
    • getCorner

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