Class BlockModelRenderer.BrightnessCache
java.lang.Object
net.minecraft.client.render.block.BlockModelRenderer.BrightnessCache
- Enclosing class:
BlockModelRenderer
- Mappings:
Namespace Name named net/minecraft/client/render/block/BlockModelRenderer$BrightnessCache
intermediary net/minecraft/class_778$class_4303
official gfb$d
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private final Long2FloatLinkedOpenHashMap
private final Long2IntLinkedOpenHashMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
disable()
void
enable()
float
getFloat
(BlockState state, BlockRenderView blockView, BlockPos pos) int
getInt
(BlockState state, BlockRenderView world, BlockPos pos)
-
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
Lgfb$d;a:Z
-
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
Lgfb$d;b:Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;
-
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
Lgfb$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
Lgfb$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
Lgfb$d;b()V
-
getInt
- 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
Lgfb$d;a(Ldsl;Ldbj;Lja;)I
-
getFloat
- 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
Lgfb$d;b(Ldsl;Ldbj;Lja;)F
-