Class BlockModelRenderer.AmbientOcclusionCalculator
java.lang.Object
net.minecraft.client.render.block.BlockModelRenderer.AmbientOcclusionCalculator
- Enclosing class:
BlockModelRenderer
@Environment(CLIENT)
private static class BlockModelRenderer.AmbientOcclusionCalculator
extends Object
- Mappings:
Namespace Name named net/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator
intermediary net/minecraft/class_778$class_780
official gfb$b
-
Field Summary
Modifier and TypeFieldDescription(package private) final float[]
(package private) final int[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(BlockRenderView world, BlockState state, BlockPos pos, Direction direction, float[] box, BitSet flags, boolean shaded) private int
getAmbientOcclusionBrightness
(int int2, int int3, int int4, int int5) private int
getBrightness
(int int2, int int3, int int4, int int5, float float2, float float3, float float4, float float5)
-
Field Details
-
brightness
final float[] brightness- Mappings:
Namespace Name Mixin selector named brightness
Lnet/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator;brightness:[F
intermediary field_4196
Lnet/minecraft/class_778$class_780;field_4196:[F
official a
Lgfb$b;a:[F
-
light
final int[] light- Mappings:
Namespace Name Mixin selector named light
Lnet/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator;light:[I
intermediary field_4194
Lnet/minecraft/class_778$class_780;field_4194:[I
official b
Lgfb$b;b:[I
-
-
Constructor Details
-
AmbientOcclusionCalculator
public AmbientOcclusionCalculator()
-
-
Method Details
-
apply
public void apply(BlockRenderView world, BlockState state, BlockPos pos, Direction direction, float[] box, BitSet flags, boolean shaded) - Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator;apply(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;[FLjava/util/BitSet;Z)V
intermediary method_3388
Lnet/minecraft/class_778$class_780;method_3388(Lnet/minecraft/class_1920;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;[FLjava/util/BitSet;Z)V
official a
Lgfb$b;a(Ldbj;Ldsl;Lja;Ljf;[FLjava/util/BitSet;Z)V
-
getAmbientOcclusionBrightness
private int getAmbientOcclusionBrightness(int int2, int int3, int int4, int int5) - Mappings:
Namespace Name Mixin selector named getAmbientOcclusionBrightness
Lnet/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator;getAmbientOcclusionBrightness(IIII)I
intermediary method_3386
Lnet/minecraft/class_778$class_780;method_3386(IIII)I
official a
Lgfb$b;a(IIII)I
-
getBrightness
private int getBrightness(int int2, int int3, int int4, int int5, float float2, float float3, float float4, float float5) - Mappings:
Namespace Name Mixin selector named getBrightness
Lnet/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator;getBrightness(IIIIFFFF)I
intermediary method_3389
Lnet/minecraft/class_778$class_780;method_3389(IIIIFFFF)I
official a
Lgfb$b;a(IIIIFFFF)I
-