@Environment(value=CLIENT) class WorldRenderer.ChunkInfo extends Object
Modifier and Type | Field and Description |
---|---|
private ChunkBuilder.BuiltChunk |
chunk |
private byte |
cullingState |
private Direction |
direction |
private int |
propagationLevel |
Modifier | Constructor and Description |
---|---|
private |
ChunkInfo(ChunkBuilder.BuiltChunk chunk,
Direction direction,
int propagationLevel) |
Modifier and Type | Method and Description |
---|---|
boolean |
canCull(Direction from) |
void |
updateCullingState(byte parentCullingState,
Direction from) |
private final ChunkBuilder.BuiltChunk chunk
private final Direction direction
private byte cullingState
private final int propagationLevel
private ChunkInfo(ChunkBuilder.BuiltChunk chunk, Direction direction, @Nullable int propagationLevel)