net.minecraft.client.render.chunk

public class ChunkRenderData

implements AbstractChunkRenderData

net.minecraft.client.renderer.chunk.CompiledSectionMesh
net.minecraft.class_11516
net.minecraft.client.render.chunk.ChunkRenderData

Field summary

Modifier and TypeField
public static final AbstractChunkRenderData
UNCOMPILED
field_60935
HIDDEN
public static final AbstractChunkRenderData
EMPTY
field_60936
READY
private final List<BlockEntity>
renderableBlockEntities
field_60937
blockEntities
private final ChunkOcclusionData
visibilitySet
field_60938
chunkOcclusionData
private final BuiltBuffer$SortState
transparencyState
field_60939
translucencySortingData
private NormalizedRelativePos
translucencyPointOfView
field_60940
pos
private final Map<BlockRenderLayer, Buffers>
buffers
field_60941
buffersByLayer

Constructor summary

ModifierConstructor
public (NormalizedRelativePos pos, SectionBuilder$RenderData renderData)

Method summary

Modifier and TypeMethod
public void
setTranslucencyPointOfView(TranslucencyPointOfView translucencyPointOfView)
method_72032(class_10196 arg0)
setPos(NormalizedRelativePos pos)
public boolean
isDifferentPointOfView(TranslucencyPointOfView pointOfView)
method_72036(class_10196 arg0)
hasPosition(NormalizedRelativePos arg0)
public boolean
hasRenderableLayers()
method_72027()
hasData()
public boolean
isEmpty(ChunkSectionLayer layer)
method_72028(class_11515 arg0)
containsLayer(BlockRenderLayer arg0)
public List<BlockEntity>
getRenderableBlockEntities()
method_72033()
getBlockEntities()
public boolean
facesCanSeeEachother(Direction direction1, Direction direction2)
method_3650(class_2350 arg0, class_2350 arg1)
isVisibleThrough(Direction arg0, Direction arg1)
public Buffers
getBuffers(ChunkSectionLayer layer)
method_72034(class_11515 arg0)
getBuffersForLayer(BlockRenderLayer arg0)
public void
uploadMeshLayer(ChunkSectionLayer layer, MeshData mesh, long sectionNode)
method_72031(class_11515 arg0, class_9801 arg1, long arg2)
upload(BlockRenderLayer layer, BuiltBuffer builtBuffer, long sectionPos)
public void
uploadLayerIndexBuffer(ChunkSectionLayer layer, ByteBufferBuilder$Result indexBuffer, long sectionNode)
method_72030(class_11515 arg0, class_9799$class_9800 arg1, long arg2)
uploadIndexBuffer(BlockRenderLayer layer, BufferAllocator$CloseableBuffer buffer, long sectionPos)
public boolean
hasTranslucentGeometry()
method_72037()
hasTranslucentLayers()
public BuiltBuffer$SortState
getTransparencyState()
method_72039()
getTranslucencySortingData()
public void
close()
private static String
lambda$uploadLayerIndexBuffer$4(ChunkSectionLayer arg0, long arg1)
method_72029(class_11515 arg0, long arg1)
method_72029(BlockRenderLayer arg0, long arg1)
private static String
lambda$uploadMeshLayer$3(ChunkSectionLayer arg0, long arg1)
method_72035(class_11515 arg0, long arg1)
method_72035(BlockRenderLayer arg0, long arg1)
private static String
lambda$uploadMeshLayer$2(ChunkSectionLayer arg0, long arg1)
method_72038(class_11515 arg0, long arg1)
method_72038(BlockRenderLayer arg0, long arg1)
private static String
lambda$uploadMeshLayer$1(ChunkSectionLayer arg0, long arg1)
method_72040(class_11515 arg0, long arg1)
method_72040(BlockRenderLayer arg0, long arg1)
private static String
lambda$uploadMeshLayer$0(ChunkSectionLayer arg0, long arg1)
method_72041(class_11515 arg0, long arg1)
method_72041(BlockRenderLayer arg0, long arg1)