枚举 CubeFace

    • 枚举常量详细资料

      • DOWN

        public static final CubeFace DOWN
        Mappings:
        Namespace Name Mixin selector
        official a Lelr;a:Lelr;
        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 Lelr;b:Lelr;
        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 Lelr;c:Lelr;
        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 Lelr;d:Lelr;
        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 Lelr;e:Lelr;
        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 Lelr;f:Lelr;
        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;
    • 字段详细资料

      • DIRECTION_LOOKUP

        private static final CubeFace[] DIRECTION_LOOKUP
        Mappings:
        Namespace Name Mixin selector
        official g Lelr;g:[Lelr;
        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 Lelr;h:[Lelr$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;
    • 构造器详细资料

      • CubeFace

        private CubeFace​(CubeFace.Corner[] corners)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lelr;<init>(Ljava/lang/String;I[Lelr$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
    • 方法详细资料

      • values

        public static CubeFace[] values()
        按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
        for (CubeFace c : CubeFace.values())
            System.out.println(c);
        
        返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
      • valueOf

        public static CubeFace valueOf​(String name)
        返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
        参数:
        name - 要返回的枚举常量的名称。
        返回:
        返回带有指定名称的枚举常量
        抛出:
        IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
        NullPointerException - 如果参数为空值
      • getFace

        public static CubeFace getFace​(Direction direction)
        Mappings:
        Namespace Name Mixin selector
        official a Lelr;a(Lgg;)Lelr;
        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 Lelr;a(I)Lelr$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;