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 gkx
  • 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 Lgkx;a:Lgkx;
    • 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 Lgkx;b:Lgkx;
    • 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 Lgkx;c:Lgkx;
    • 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 Lgkx;d:Lgkx;
    • 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 Lgkx;e:Lgkx;
    • 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 Lgkx;f:Lgkx;
  • 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 Lgkx;g:[Lgkx;
    • 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 Lgkx;h:[Lgkx$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> Lgkx;<init>(Ljava/lang/String;I[Lgkx$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 Lgkx;a(Ljm;)Lgkx;
    • 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 Lgkx;a(I)Lgkx$b;