Class BlockModelRenderer.BrightnessCache
java.lang.Object
net.minecraft.client.render.block.BlockModelRenderer.BrightnessCache
- Enclosing class:
BlockModelRenderer
- Mappings:
Namespace Name official fal$d
intermediary net/minecraft/class_778$class_4303
named net/minecraft/client/render/block/BlockModelRenderer$BrightnessCache
-
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 official a
Lfal$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
- Mappings:
Namespace Name Mixin selector official b
Lfal$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
- Mappings:
Namespace Name Mixin selector official c
Lfal$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
Lfal$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
Lfal$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
- Mappings:
Namespace Name Mixin selector official a
Lfal$d;a(Lcvo;Lcga;Lgt;)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
- Mappings:
Namespace Name Mixin selector official b
Lfal$d;b(Lcvo;Lcga;Lgt;)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
-