Class BlockModelRenderer.BrightnessCache

java.lang.Object
net.minecraft.client.render.block.BlockModelRenderer.BrightnessCache
Enclosing class:
BlockModelRenderer

@Environment(CLIENT) private static class BlockModelRenderer.BrightnessCache extends Object
Mappings:
Namespace Name
official eqe$d
intermediary net/minecraft/class_778$class_4303
named net/minecraft/client/render/block/BlockModelRenderer$BrightnessCache
  • Field Details

    • enabled

      private boolean enabled
      Mappings:
      Namespace Name Mixin selector
      official a Leqe$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 Leqe$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 Leqe$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;
  • Constructor Details

    • BrightnessCache

      private BrightnessCache()
  • Method Details

    • enable

      public void enable()
      Mappings:
      Namespace Name Mixin selector
      official a Leqe$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 Leqe$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 world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Leqe$d;a(Lcoc;Lbzg;Lgh;)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 Leqe$d;b(Lcoc;Lbzg;Lgh;)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