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
named net/minecraft/client/render/block/BlockModelRenderer$BrightnessCache
intermediary net/minecraft/class_778$class_4303
official gem$d
  • Field Details

    • enabled

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

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

      private final Long2FloatLinkedOpenHashMap floatCache
      Mappings:
      Namespace Name Mixin selector
      named floatCache Lnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;floatCache:Lit/unimi/dsi/fastutil/longs/Long2FloatLinkedOpenHashMap;
      intermediary field_19322 Lnet/minecraft/class_778$class_4303;field_19322:Lit/unimi/dsi/fastutil/longs/Long2FloatLinkedOpenHashMap;
      official c Lgem$d;c:Lit/unimi/dsi/fastutil/longs/Long2FloatLinkedOpenHashMap;
  • Constructor Details

    • BrightnessCache

      private BrightnessCache()
  • Method Details

    • enable

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

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

      public int getInt(BlockState state, BlockRenderView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getInt Lnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;getInt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;)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
      official a Lgem$d;a(Ldse;Ldbd;Liz;)I
    • getFloat

      public float getFloat(BlockState state, BlockRenderView blockView, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getFloat Lnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;getFloat(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;)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
      official b Lgem$d;b(Ldse;Ldbd;Liz;)F