Class SectionCompiler
java.lang.Object
net.minecraft.client.renderer.chunk.SectionCompiler
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockEntityRenderDispatcher
private final BlockRenderDispatcher
-
Constructor Summary
ConstructorsConstructorDescriptionSectionCompiler
(BlockRenderDispatcher pBlockRenderer, BlockEntityRenderDispatcher pBlockEntityRenderer) -
Method Summary
Modifier and TypeMethodDescriptioncompile
(SectionPos pSectionPos, RenderSectionRegion pRegion, VertexSorting pVertexSorting, SectionBufferBuilderPack pSectionBufferBuilderPack) compile
(SectionPos pSectionPos, RenderSectionRegion pRegion, VertexSorting pVertexSorting, SectionBufferBuilderPack pSectionBufferBuilderPack, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers) private BufferBuilder
getOrBeginLayer
(Map<ChunkSectionLayer, BufferBuilder> pBuilders, SectionBufferBuilderPack pSectionBufferBuilderPack, ChunkSectionLayer pLayer) private <E extends BlockEntity>
voidhandleBlockEntity
(SectionCompiler.Results pResults, E pBlockEntity)
-
Field Details
-
blockRenderer
-
blockEntityRenderer
-
-
Constructor Details
-
SectionCompiler
public SectionCompiler(BlockRenderDispatcher pBlockRenderer, BlockEntityRenderDispatcher pBlockEntityRenderer)
-
-
Method Details
-
compile
public SectionCompiler.Results compile(SectionPos pSectionPos, RenderSectionRegion pRegion, VertexSorting pVertexSorting, SectionBufferBuilderPack pSectionBufferBuilderPack) -
compile
public SectionCompiler.Results compile(SectionPos pSectionPos, RenderSectionRegion pRegion, VertexSorting pVertexSorting, SectionBufferBuilderPack pSectionBufferBuilderPack, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers) -
getOrBeginLayer
private BufferBuilder getOrBeginLayer(Map<ChunkSectionLayer, BufferBuilder> pBuilders, SectionBufferBuilderPack pSectionBufferBuilderPack, ChunkSectionLayer pLayer) -
handleBlockEntity
private <E extends BlockEntity> void handleBlockEntity(SectionCompiler.Results pResults, E pBlockEntity)
-