@Environment(value=CLIENT) public static class ChunkBuilder.ChunkData extends Object
Modifier and Type | Field and Description |
---|---|
private List<BlockEntity> |
blockEntities |
private BufferBuilder.State |
bufferState |
private boolean |
empty |
static ChunkBuilder.ChunkData |
EMPTY |
private Set<RenderLayer> |
initializedLayers |
private Set<RenderLayer> |
nonEmptyLayers |
private ChunkOcclusionData |
occlusionGraph |
Constructor and Description |
---|
ChunkData() |
Modifier and Type | Method and Description |
---|---|
List<BlockEntity> |
getBlockEntities() |
boolean |
isEmpty() |
boolean |
isEmpty(RenderLayer layer) |
boolean |
isVisibleThrough(Direction direction,
Direction direction2) |
public static final ChunkBuilder.ChunkData EMPTY
private final Set<RenderLayer> nonEmptyLayers
private final Set<RenderLayer> initializedLayers
private boolean empty
private final List<BlockEntity> blockEntities
private ChunkOcclusionData occlusionGraph
@Nullable private BufferBuilder.State bufferState
public boolean isEmpty()
public boolean isEmpty(RenderLayer layer)
public List<BlockEntity> getBlockEntities()