类 BlockColors


  • @Environment(CLIENT)
    public class BlockColors
    extends Object
    Mappings:
    Namespace Name
    official dvb
    intermediary net/minecraft/class_324
    named net/minecraft/client/color/block/BlockColors
    • 字段详细资料

      • field_32163

        private static final int field_32163
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Ldvb;a:I
        intermediary field_32163 Lnet/minecraft/class_324;field_32163:I
        named field_32163 Lnet/minecraft/client/color/block/BlockColors;field_32163:I
      • providers

        private final IdList<BlockColorProvider> providers
        Mappings:
        Namespace Name Mixin selector
        official b Ldvb;b:Lgl;
        intermediary field_1995 Lnet/minecraft/class_324;field_1995:Lnet/minecraft/class_2361;
        named providers Lnet/minecraft/client/color/block/BlockColors;providers:Lnet/minecraft/util/collection/IdList;
      • properties

        private final Map<Block,​Set<Property<?>>> properties
        Mappings:
        Namespace Name Mixin selector
        official c Ldvb;c:Ljava/util/Map;
        intermediary field_20271 Lnet/minecraft/class_324;field_20271:Ljava/util/Map;
        named properties Lnet/minecraft/client/color/block/BlockColors;properties:Ljava/util/Map;
    • 构造器详细资料

      • BlockColors

        public BlockColors()
    • 方法详细资料

      • create

        public static BlockColors create()
        Mappings:
        Namespace Name Mixin selector
        official a Ldvb;a()Ldvb;
        intermediary method_1689 Lnet/minecraft/class_324;method_1689()Lnet/minecraft/class_324;
        named create Lnet/minecraft/client/color/block/BlockColors;create()Lnet/minecraft/client/color/block/BlockColors;
      • getColor

        public int getColor​(BlockState state,
                            World world,
                            BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Ldvb;a(Lcjr;Lbvr;Lgb;)I
        intermediary method_1691 Lnet/minecraft/class_324;method_1691(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)I
        named getColor Lnet/minecraft/client/color/block/BlockColors;getColor(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
      • getColor

        public int getColor​(BlockState state,
                            @Nullable
                            @Nullable BlockRenderView world,
                            @Nullable
                            @Nullable BlockPos pos,
                            int tint)
        Mappings:
        Namespace Name Mixin selector
        official a Ldvb;a(Lcjr;Lbut;Lgb;I)I
        intermediary method_1697 Lnet/minecraft/class_324;method_1697(Lnet/minecraft/class_2680;Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;I)I
        named getColor Lnet/minecraft/client/color/block/BlockColors;getColor(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;I)I
      • registerColorProvider

        public void registerColorProvider​(BlockColorProvider provider,
                                          Block[] blocks)
        Mappings:
        Namespace Name Mixin selector
        official a Ldvb;a(Ldva;[Lbyq;)V
        intermediary method_1690 Lnet/minecraft/class_324;method_1690(Lnet/minecraft/class_322;[Lnet/minecraft/class_2248;)V
        named registerColorProvider Lnet/minecraft/client/color/block/BlockColors;registerColorProvider(Lnet/minecraft/client/color/block/BlockColorProvider;[Lnet/minecraft/block/Block;)V
      • registerColorProperties

        private void registerColorProperties​(Set<Property<?>> properties,
                                             Block[] blocks)
        Mappings:
        Namespace Name Mixin selector
        official a Ldvb;a(Ljava/util/Set;[Lbyq;)V
        intermediary method_21594 Lnet/minecraft/class_324;method_21594(Ljava/util/Set;[Lnet/minecraft/class_2248;)V
        named registerColorProperties Lnet/minecraft/client/color/block/BlockColors;registerColorProperties(Ljava/util/Set;[Lnet/minecraft/block/Block;)V
      • registerColorProperty

        private void registerColorProperty​(Property<?> property,
                                           Block[] blocks)
        Mappings:
        Namespace Name Mixin selector
        official a Ldvb;a(Lcku;[Lbyq;)V
        intermediary method_21593 Lnet/minecraft/class_324;method_21593(Lnet/minecraft/class_2769;[Lnet/minecraft/class_2248;)V
        named registerColorProperty Lnet/minecraft/client/color/block/BlockColors;registerColorProperty(Lnet/minecraft/state/property/Property;[Lnet/minecraft/block/Block;)V
      • getProperties

        public Set<Property<?>> getProperties​(Block block)
        Mappings:
        Namespace Name Mixin selector
        official a Ldvb;a(Lbyq;)Ljava/util/Set;
        intermediary method_21592 Lnet/minecraft/class_324;method_21592(Lnet/minecraft/class_2248;)Ljava/util/Set;
        named getProperties Lnet/minecraft/client/color/block/BlockColors;getProperties(Lnet/minecraft/block/Block;)Ljava/util/Set;