类 BlockModelRenderer.BrightnessCache

  • 封闭类:
    BlockModelRenderer

    @Environment(CLIENT)
    static class BlockModelRenderer.BrightnessCache
    extends Object
    Mappings:
    Namespace Name
    official emt$d
    intermediary net/minecraft/class_778$class_4303
    named net/minecraft/client/render/block/BlockModelRenderer$BrightnessCache
    • 字段详细资料

      • enabled

        private boolean enabled
        Mappings:
        Namespace Name Mixin selector
        official a Lemt$d;a:Z
        intermediary field_19320 Lnet/minecraft/class_778$class_4303;field_19320:Z
        named enabled Lnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;enabled:Z
      • intCache

        private final Long2IntLinkedOpenHashMap intCache
        Mappings:
        Namespace Name Mixin selector
        official b Lemt$d;b:Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;
        intermediary field_19321 Lnet/minecraft/class_778$class_4303;field_19321:Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;
        named intCache Lnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;intCache:Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;
      • floatCache

        private final Long2FloatLinkedOpenHashMap floatCache
        Mappings:
        Namespace Name Mixin selector
        official c Lemt$d;c:Lit/unimi/dsi/fastutil/longs/Long2FloatLinkedOpenHashMap;
        intermediary field_19322 Lnet/minecraft/class_778$class_4303;field_19322:Lit/unimi/dsi/fastutil/longs/Long2FloatLinkedOpenHashMap;
        named floatCache Lnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;floatCache:Lit/unimi/dsi/fastutil/longs/Long2FloatLinkedOpenHashMap;
    • 构造器详细资料

      • BrightnessCache

        private BrightnessCache()
    • 方法详细资料

      • enable

        public void enable()
        Mappings:
        Namespace Name Mixin selector
        official a Lemt$d;a()V
        intermediary method_20548 Lnet/minecraft/class_778$class_4303;method_20548()V
        named enable Lnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;enable()V
      • disable

        public void disable()
        Mappings:
        Namespace Name Mixin selector
        official b Lemt$d;b()V
        intermediary method_20550 Lnet/minecraft/class_778$class_4303;method_20550()V
        named disable Lnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;disable()V
      • getInt

        public int getInt​(BlockState state,
                          BlockRenderView blockRenderView,
                          BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lemt$d;a(Lcjr;Lbut;Lgb;)I
        intermediary method_20549 Lnet/minecraft/class_778$class_4303;method_20549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;)I
        named getInt Lnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;getInt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;)I
      • getFloat

        public float getFloat​(BlockState state,
                              BlockRenderView blockView,
                              BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official b Lemt$d;b(Lcjr;Lbut;Lgb;)F
        intermediary method_20551 Lnet/minecraft/class_778$class_4303;method_20551(Lnet/minecraft/class_2680;Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;)F
        named getFloat Lnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;getFloat(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;)F