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
official fiz$b
intermediary net/minecraft/class_778$class_780
named net/minecraft/client/render/block/BlockModelRenderer$AmbientOcclusionCalculator
  • Field Details

    • brightness

      final float[] brightness
      Mappings:
      Namespace Name Mixin selector
      official a Lfiz$b;a:[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

      final int[] light
      Mappings:
      Namespace Name Mixin selector
      official b Lfiz$b;b:[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 shaded)
      Mappings:
      Namespace Name Mixin selector
      official a Lfiz$b;a(Lcll;Ldbq;Lgt;Lgz;[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 Lfiz$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 Lfiz$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