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

    • DOWN

      public static final CubeFace DOWN
      Mappings:
      Namespace Name Mixin selector
      official a Lbup;a:Lbup;
      intermediary field_10677 Lnet/minecraft/class_2400;field_10677:Lnet/minecraft/class_2400;
      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 Lbup;b:Lbup;
      intermediary field_10678 Lnet/minecraft/class_2400;field_10678:Lnet/minecraft/class_2400;
      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 Lbup;c:Lbup;
      intermediary field_10679 Lnet/minecraft/class_2400;field_10679:Lnet/minecraft/class_2400;
      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 Lbup;d:Lbup;
      intermediary field_10680 Lnet/minecraft/class_2400;field_10680:Lnet/minecraft/class_2400;
      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 Lbup;e:Lbup;
      intermediary field_10681 Lnet/minecraft/class_2400;field_10681:Lnet/minecraft/class_2400;
      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 Lbup;f:Lbup;
      intermediary field_10682 Lnet/minecraft/class_2400;field_10682:Lnet/minecraft/class_2400;
      named EAST Lnet/minecraft/client/render/model/CubeFace;EAST:Lnet/minecraft/client/render/model/CubeFace;
  • Field Details

    • ALL

      private static final CubeFace[] ALL
      Mappings:
      Namespace Name Mixin selector
      official g Lbup;g:[Lbup;
      intermediary field_10683 Lnet/minecraft/class_2400;field_10683:[Lnet/minecraft/class_2400;
      named ALL Lnet/minecraft/client/render/model/CubeFace;ALL:[Lnet/minecraft/client/render/model/CubeFace;
    • corners

      private final CubeFace.Corner[] corners
      Mappings:
      Namespace Name Mixin selector
      official h Lbup;h:[Lbup$b;
      intermediary field_10684 Lnet/minecraft/class_2400;field_10684:[Lnet/minecraft/class_2400$class_2402;
      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> Lbup;<init>(Ljava/lang/String;I[Lbup$b;)V
      intermediary <init> Lnet/minecraft/class_2400;<init>(Ljava/lang/String;I[Lnet/minecraft/class_2400$class_2402;)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 Lbup;a(Lfa;)Lbup;
      intermediary method_9774 Lnet/minecraft/class_2400;method_9774(Lnet/minecraft/class_1354;)Lnet/minecraft/class_2400;
      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 Lbup;a(I)Lbup$b;
      intermediary method_9773 Lnet/minecraft/class_2400;method_9773(I)Lnet/minecraft/class_2400$class_2402;
      named getCorner Lnet/minecraft/client/render/model/CubeFace;getCorner(I)Lnet/minecraft/client/render/model/CubeFace$Corner;