Uses of Enum Class
net.minecraft.client.renderer.chunk.ChunkSectionLayer
Packages that use ChunkSectionLayer
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of ChunkSectionLayer in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer with type parameters of type ChunkSectionLayerModifier and TypeFieldDescriptionprivate final Map<ChunkSectionLayer, ByteBufferBuilder> SectionBufferBuilderPack.buffersprivate static final Map<Fluid, ChunkSectionLayer> ItemBlockRenderTypes.LAYER_BY_FLUIDMethods in net.minecraft.client.renderer that return ChunkSectionLayerModifier and TypeMethodDescriptionstatic ChunkSectionLayerItemBlockRenderTypes.getRenderLayer(FluidState state) Methods in net.minecraft.client.renderer with parameters of type ChunkSectionLayerModifier and TypeMethodDescriptionSectionBufferBuilderPack.buffer(ChunkSectionLayer layer) static RenderTypeItemBlockRenderTypes.getMovingBlockRenderType(ChunkSectionLayer layer) static RenderTypeItemBlockRenderTypes.getRenderType(ChunkSectionLayer layer) static voidItemBlockRenderTypes.setRenderLayer(Fluid fluid, ChunkSectionLayer layer) Helper to set the RenderType for Fluids -
Uses of ChunkSectionLayer in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as ChunkSectionLayerModifier and TypeFieldDescriptionprivate final ChunkSectionLayerBakedQuad.SpriteInfo.layerThe field for thelayerrecord component.Methods in net.minecraft.client.renderer.block.model that return ChunkSectionLayerModifier and TypeMethodDescriptionBakedQuad.SpriteInfo.layer()Returns the value of thelayerrecord component.Constructors in net.minecraft.client.renderer.block.model with parameters of type ChunkSectionLayerModifierConstructorDescriptionSpriteInfo(TextureAtlasSprite sprite, ChunkSectionLayer layer, RenderType itemRenderType) Creates an instance of aSpriteInforecord class. -
Uses of ChunkSectionLayer in net.minecraft.client.renderer.chunk
Subclasses with type arguments of type ChunkSectionLayer in net.minecraft.client.renderer.chunkFields in net.minecraft.client.renderer.chunk declared as ChunkSectionLayerFields in net.minecraft.client.renderer.chunk with type parameters of type ChunkSectionLayerModifier and TypeFieldDescriptionprivate final Map<ChunkSectionLayer, SectionRenderDispatcher.SectionUberBuffers> SectionRenderDispatcher.chunkUberBuffersprivate final EnumMap<ChunkSectionLayer, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<List<RenderPass.Draw<GpuBufferSlice[]>>>> ChunkSectionsToRender.drawGroupsPerLayerThe field for thedrawGroupsPerLayerrecord component.private final Map<ChunkSectionLayer, SectionMesh.SectionDraw> CompiledSectionMesh.drawsprivate final Map<ChunkSectionLayer, AtomicBoolean> CompiledSectionMesh.indexBufferUploadedfinal Map<ChunkSectionLayer, MeshData> SectionCompiler.Results.renderedLayersprivate final Map<ChunkSectionLayer, AtomicBoolean> CompiledSectionMesh.vertexBufferUploadedMethods in net.minecraft.client.renderer.chunk that return ChunkSectionLayerModifier and TypeMethodDescriptionstatic ChunkSectionLayerChunkSectionLayer.byTransparency(Transparency transparency) ChunkSectionLayerGroup.layers()static ChunkSectionLayerReturns the enum constant of this class with the specified name.static ChunkSectionLayer[]ChunkSectionLayer.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.client.renderer.chunk that return types with arguments of type ChunkSectionLayerModifier and TypeMethodDescriptionEnumMap<ChunkSectionLayer, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<List<RenderPass.Draw<GpuBufferSlice[]>>>> ChunkSectionsToRender.drawGroupsPerLayer()Returns the value of thedrawGroupsPerLayerrecord component.Methods in net.minecraft.client.renderer.chunk with parameters of type ChunkSectionLayerModifier and TypeMethodDescriptionprivate booleanSectionRenderDispatcher.RenderSection.addSectionBuffersToUberBuffer(ChunkSectionLayer layer, CompiledSectionMesh key, @Nullable ByteBuffer vertexBuffer, @Nullable ByteBuffer indexBuffer) private BufferBuilderSectionCompiler.getOrBeginLayer(Map<ChunkSectionLayer, BufferBuilder> startedLayers, SectionBufferBuilderPack buffers, ChunkSectionLayer renderType) SectionRenderDispatcher.getRenderSectionSlice(SectionMesh sectionMesh, ChunkSectionLayer layer) @Nullable SectionMesh.SectionDrawCompiledSectionMesh.getSectionDraw(ChunkSectionLayer layer) default @Nullable SectionMesh.SectionDrawSectionMesh.getSectionDraw(ChunkSectionLayer layer) (package private) voidSectionRenderDispatcher.RenderSection.indexBufferUploadCallback(SectionMesh sectionMesh, ChunkSectionLayer layer, boolean sortedIndexBuffer) booleanCompiledSectionMesh.isEmpty(ChunkSectionLayer layer) default booleanSectionMesh.isEmpty(ChunkSectionLayer layer) booleanCompiledSectionMesh.isIndexBufferUploaded(ChunkSectionLayer layer) booleanCompiledSectionMesh.isVertexBufferUploaded(ChunkSectionLayer layer) voidCompiledSectionMesh.setIndexBufferUploaded(ChunkSectionLayer layer) voidCompiledSectionMesh.setVertexBufferUploaded(ChunkSectionLayer layer) (package private) voidSectionRenderDispatcher.RenderSection.vertexBufferUploadCallback(SectionMesh sectionMesh, ChunkSectionLayer layer) Method parameters in net.minecraft.client.renderer.chunk with type arguments of type ChunkSectionLayerModifier and TypeMethodDescriptionprivate BufferBuilderSectionCompiler.getOrBeginLayer(Map<ChunkSectionLayer, BufferBuilder> startedLayers, SectionBufferBuilderPack buffers, ChunkSectionLayer renderType) Constructors in net.minecraft.client.renderer.chunk with parameters of type ChunkSectionLayerConstructor parameters in net.minecraft.client.renderer.chunk with type arguments of type ChunkSectionLayerModifierConstructorDescriptionChunkSectionsToRender(GpuTextureView textureView, EnumMap<ChunkSectionLayer, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<List<RenderPass.Draw<GpuBufferSlice[]>>>> drawGroupsPerLayer, int maxIndicesRequired, GpuBufferSlice[] chunkSectionInfos) Creates an instance of aChunkSectionsToRenderrecord class. -
Uses of ChunkSectionLayer in net.neoforged.neoforge.client
Method parameters in net.neoforged.neoforge.client with type arguments of type ChunkSectionLayerModifier and TypeMethodDescriptionstatic voidClientHooks.addAdditionalGeometry(List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers, Function<ChunkSectionLayer, VertexConsumer> getOrCreateBuilder, RenderSectionRegion region, PoseStack transformation) -
Uses of ChunkSectionLayer in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type ChunkSectionLayerModifier and TypeFieldDescriptionprivate final Function<ChunkSectionLayer, VertexConsumer> AddSectionGeometryEvent.SectionRenderingContext.getOrCreateLayerMethods in net.neoforged.neoforge.client.event with parameters of type ChunkSectionLayerModifier and TypeMethodDescriptionAddSectionGeometryEvent.SectionRenderingContext.getOrCreateChunkBuffer(ChunkSectionLayer layer) Returns the builder for the givenChunkSectionLayerin the chunk section.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type ChunkSectionLayerModifierConstructorDescriptionSectionRenderingContext(Function<ChunkSectionLayer, VertexConsumer> getOrCreateLayer, BlockAndTintGetter region, PoseStack poseStack)