枚举 BlockStateModelGenerator.TintType

    • 枚举常量详细资料

      • TINTED

        public static final BlockStateModelGenerator.TintType TINTED
        Mappings:
        Namespace Name Mixin selector
        official a Liu$d;a:Liu$d;
        intermediary field_22839 Lnet/minecraft/class_4910$class_4913;field_22839:Lnet/minecraft/class_4910$class_4913;
        named TINTED Lnet/minecraft/data/client/model/BlockStateModelGenerator$TintType;TINTED:Lnet/minecraft/data/client/model/BlockStateModelGenerator$TintType;
      • NOT_TINTED

        public static final BlockStateModelGenerator.TintType NOT_TINTED
        Mappings:
        Namespace Name Mixin selector
        official b Liu$d;b:Liu$d;
        intermediary field_22840 Lnet/minecraft/class_4910$class_4913;field_22840:Lnet/minecraft/class_4910$class_4913;
        named NOT_TINTED Lnet/minecraft/data/client/model/BlockStateModelGenerator$TintType;NOT_TINTED:Lnet/minecraft/data/client/model/BlockStateModelGenerator$TintType;
    • 构造器详细资料

      • TintType

        private TintType()
    • 方法详细资料

      • values

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

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

        public Model getCrossModel()
        Mappings:
        Namespace Name Mixin selector
        official a Liu$d;a()Ljj;
        intermediary method_25726 Lnet/minecraft/class_4910$class_4913;method_25726()Lnet/minecraft/class_4942;
        named getCrossModel Lnet/minecraft/data/client/model/BlockStateModelGenerator$TintType;getCrossModel()Lnet/minecraft/data/client/model/Model;
      • getFlowerPotCrossModel

        public Model getFlowerPotCrossModel()
        Mappings:
        Namespace Name Mixin selector
        official b Liu$d;b()Ljj;
        intermediary method_25727 Lnet/minecraft/class_4910$class_4913;method_25727()Lnet/minecraft/class_4942;
        named getFlowerPotCrossModel Lnet/minecraft/data/client/model/BlockStateModelGenerator$TintType;getFlowerPotCrossModel()Lnet/minecraft/data/client/model/Model;