Class BlockModelRenderer.AmbientOcclusionCalculator
java.lang.Object
net.minecraft.client.render.block.BlockModelRenderer.AmbientOcclusionCalculator
- Enclosing class:
- BlockModelRenderer
@Environment(CLIENT) class BlockModelRenderer.AmbientOcclusionCalculator extends Object
- Mappings:
Namespace Name official eij$b
intermediary net/minecraft/class_778$class_780
named net/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator
-
Field Summary
Fields Modifier and Type Field Description private float[]
brightness
private int[]
light
-
Constructor Summary
Constructors Constructor Description AmbientOcclusionCalculator()
-
Method Summary
Modifier and Type Method Description void
apply(BlockRenderView world, BlockState state, BlockPos pos, Direction direction, float[] box, BitSet flags, boolean bool)
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
private final float[] brightness- Mappings:
Namespace Name Mixin selector official b
Leij$b;b:[F
intermediary field_4196
Lnet/minecraft/class_778$class_780;field_4196:[F
named brightness
Lnet/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator;brightness:[F
-
light
private final int[] light- Mappings:
Namespace Name Mixin selector official c
Leij$b;c:[I
intermediary field_4194
Lnet/minecraft/class_778$class_780;field_4194:[I
named light
Lnet/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator;light:[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 bool)- Mappings:
Namespace Name Mixin selector official a
Leij$b;a(Lbsx;Lcht;Lfx;Lgc;[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
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
-
getAmbientOcclusionBrightness
private int getAmbientOcclusionBrightness(int int2, int int3, int int4, int int5)- Mappings:
Namespace Name Mixin selector official a
Leij$b;a(IIII)I
intermediary method_3386
Lnet/minecraft/class_778$class_780;method_3386(IIII)I
named getAmbientOcclusionBrightness
Lnet/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator;getAmbientOcclusionBrightness(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 official a
Leij$b;a(IIIIFFFF)I
intermediary method_3389
Lnet/minecraft/class_778$class_780;method_3389(IIIIFFFF)I
named getBrightness
Lnet/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator;getBrightness(IIIIFFFF)I
-