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 gfv$b
  • 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 Lgfv$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 Lgfv$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 Lgfv$b;a(Ldbz;Ldtc;Ljd;Lji;[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 Lgfv$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 Lgfv$b;a(IIIIFFFF)I