AoCalculator

public class AoCalculator

Adaptation of inner, non-static class in BlockModelRenderer that serves same purpose.

Constructors

AoCalculator
Link copied to clipboard
void AoCalculator(BlockRenderInfo blockInfo, ToIntFunction<BlockPos> brightnessFunc, AoCalculator.AoFunc aoFunc)

Types

AoFunc
Link copied to clipboard
public interface AoFunc
Used to receive a method reference in constructor for ao value lookup.

Functions

clear
Link copied to clipboard
void clear()
call at start of each new block.
compute
Link copied to clipboard
void compute(MutableQuadViewImpl quad, boolean isVanilla)

Properties

ao
Link copied to clipboard
public final Array<float> ao
light
Link copied to clipboard
public final Array<int> light

Sources

jvm source
Link copied to clipboard