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.buffersMethods in net.minecraft.client.renderer with parameters of type ChunkSectionLayer -
Uses of ChunkSectionLayer in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block declared as ChunkSectionLayerModifier and TypeFieldDescriptionprivate final ChunkSectionLayerFluidModel.layerThe field for thelayerrecord component.Methods in net.minecraft.client.renderer.block that return ChunkSectionLayerModifier and TypeMethodDescriptionFluidModel.layer()Returns the value of thelayerrecord component.Methods in net.minecraft.client.renderer.block with parameters of type ChunkSectionLayerConstructors in net.minecraft.client.renderer.block with parameters of type ChunkSectionLayerModifierConstructorDescriptionFluidModel(ChunkSectionLayer layer, Material.Baked stillMaterial, Material.Baked flowingMaterial, @Nullable Material.Baked overlayMaterial, @Nullable BlockTintSource tintSource) Deprecated.FluidModel(ChunkSectionLayer layer, Material.Baked stillMaterial, Material.Baked flowingMaterial, @Nullable Material.Baked overlayMaterial, @Nullable FluidTintSource fluidTintSource) FluidModel(ChunkSectionLayer layer, Material.Baked stillMaterial, Material.Baked flowingMaterial, @Nullable Material.Baked overlayMaterial, @Nullable FluidTintSource fluidTintSource, @Nullable CustomFluidRenderer customRenderer) Creates an instance of aFluidModelrecord 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 layer) 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 layer) 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.minecraft.client.renderer.feature
Methods in net.minecraft.client.renderer.feature with parameters of type ChunkSectionLayerModifier and TypeMethodDescriptionprivate static voidBlockFeatureRenderer.putBakedQuad(PoseStack poseStack, MultiBufferSource.BufferSource bufferSource, float x, float y, float z, BakedQuad quad, QuadInstance instance, ChunkSectionLayer layer) -
Uses of ChunkSectionLayer in net.minecraft.client.resources.model.geometry
Fields in net.minecraft.client.resources.model.geometry declared as ChunkSectionLayerModifier and TypeFieldDescriptionprivate final ChunkSectionLayerBakedQuad.MaterialInfo.layerThe field for thelayerrecord component.Methods in net.minecraft.client.resources.model.geometry that return ChunkSectionLayerModifier and TypeMethodDescriptionBakedQuad.MaterialInfo.layer()Returns the value of thelayerrecord component.Constructors in net.minecraft.client.resources.model.geometry with parameters of type ChunkSectionLayerModifierConstructorDescriptionMaterialInfo(TextureAtlasSprite sprite, ChunkSectionLayer layer, RenderType itemRenderType, int tintIndex, boolean shade, int lightEmission) Deprecated.MaterialInfo(TextureAtlasSprite sprite, ChunkSectionLayer layer, RenderType itemRenderType, int tintIndex, boolean shade, int lightEmission, boolean ambientOcclusion) Creates an instance of aMaterialInforecord 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, ModelBlockRenderer blockRenderer, BlockPos sectionOrigin) -
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, ModelBlockRenderer blockRenderer, BlockPos sectionOrigin) -
Uses of ChunkSectionLayer in net.neoforged.neoforge.client.model.pipeline
Fields in net.neoforged.neoforge.client.model.pipeline declared as ChunkSectionLayerModifier and TypeFieldDescriptionprivate @Nullable ChunkSectionLayerQuadBakingVertexConsumer.chunkLayerMethods in net.neoforged.neoforge.client.model.pipeline with parameters of type ChunkSectionLayerModifier and TypeMethodDescriptionvoidQuadBakingVertexConsumer.setSprite(TextureAtlasSprite sprite, ChunkSectionLayer chunkLayer, RenderType itemRenderType) -
Uses of ChunkSectionLayer in net.neoforged.neoforge.client.model.quad
Fields in net.neoforged.neoforge.client.model.quad declared as ChunkSectionLayerMethods in net.neoforged.neoforge.client.model.quad that return ChunkSectionLayerModifier and TypeMethodDescription@Nullable ChunkSectionLayerMutableQuad.chunkLayer()Returns the chunk layer associated with the quad or null if no chunk layer has been set yet.MutableQuad.requiredChunkLayer()Same asMutableQuad.chunkLayer(), but throws an exception if no chunk layer is set on the quad yet.Methods in net.neoforged.neoforge.client.model.quad with parameters of type ChunkSectionLayerModifier and TypeMethodDescriptionMutableQuad.setSprite(TextureAtlasSprite sprite, ChunkSectionLayer chunkLayer, RenderType itemRenderType) Changes the texture atlas sprite used by this quad.MutableQuad.setSpriteAndMoveUv(TextureAtlasSprite sprite, ChunkSectionLayer chunkLayer, RenderType itemRenderType) Changes the sprite and remaps the UV to the new sprites position in the texture atlas.
FluidModel(ChunkSectionLayer, Material.Baked, Material.Baked, Material.Baked, net.neoforged.neoforge.client.fluid.FluidTintSource)instead