Class BlockModelRenderer.BrightnessCache
java.lang.Object
net.minecraft.client.render.block.BlockModelRenderer.BrightnessCache
- Enclosing class:
- BlockModelRenderer
@Environment(CLIENT) static class BlockModelRenderer.BrightnessCache extends Object
- Mappings:
Namespace Name official eij$dintermediary net/minecraft/class_778$class_4303named net/minecraft/client/render/block/BlockModelRenderer$BrightnessCache
-
Field Summary
Fields Modifier and Type Field Description private booleanenabledprivate Long2FloatLinkedOpenHashMapfloatCacheprivate Long2IntLinkedOpenHashMapintCache -
Constructor Summary
Constructors Modifier Constructor Description privateBrightnessCache() -
Method Summary
Modifier and Type Method Description voiddisable()voidenable()floatgetFloat(BlockState state, BlockRenderView blockView, BlockPos pos)intgetInt(BlockState state, BlockRenderView blockRenderView, BlockPos pos)
-
Field Details
-
enabled
private boolean enabled- Mappings:
Namespace Name Mixin selector official aLeij$d;a:Zintermediary field_19320Lnet/minecraft/class_778$class_4303;field_19320:Znamed enabledLnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;enabled:Z
-
intCache
- Mappings:
Namespace Name Mixin selector official bLeij$d;b:Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;intermediary field_19321Lnet/minecraft/class_778$class_4303;field_19321:Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;named intCacheLnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;intCache:Lit/unimi/dsi/fastutil/longs/Long2IntLinkedOpenHashMap;
-
floatCache
- Mappings:
Namespace Name Mixin selector official cLeij$d;c:Lit/unimi/dsi/fastutil/longs/Long2FloatLinkedOpenHashMap;intermediary field_19322Lnet/minecraft/class_778$class_4303;field_19322:Lit/unimi/dsi/fastutil/longs/Long2FloatLinkedOpenHashMap;named floatCacheLnet/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 aLeij$d;a()Vintermediary method_20548Lnet/minecraft/class_778$class_4303;method_20548()Vnamed enableLnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;enable()V
-
disable
public void disable()- Mappings:
Namespace Name Mixin selector official bLeij$d;b()Vintermediary method_20550Lnet/minecraft/class_778$class_4303;method_20550()Vnamed disableLnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;disable()V
-
getInt
- Mappings:
Namespace Name Mixin selector official aLeij$d;a(Lcht;Lbsx;Lfx;)Iintermediary method_20549Lnet/minecraft/class_778$class_4303;method_20549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;)Inamed getIntLnet/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 bLeij$d;b(Lcht;Lbsx;Lfx;)Fintermediary method_20551Lnet/minecraft/class_778$class_4303;method_20551(Lnet/minecraft/class_2680;Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;)Fnamed getFloatLnet/minecraft/client/render/block/BlockModelRenderer$BrightnessCache;getFloat(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;)F
-