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).
Extension interfaces for
client-only classes.-
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_FLUIDprivate static final Map<Block, ChunkSectionLayer> ItemBlockRenderTypes.TYPE_BY_BLOCKDeprecated.Methods in net.minecraft.client.renderer that return ChunkSectionLayerModifier and TypeMethodDescriptionstatic ChunkSectionLayerItemBlockRenderTypes.getChunkRenderType(BlockState pState) Deprecated.Neo: Use invalid input: '{@link net.minecraft.client.renderer.block.model.BlockModelPart#' getRenderType(BlockState)}.static ChunkSectionLayerItemBlockRenderTypes.getRenderLayer(FluidState pState) Methods in net.minecraft.client.renderer with parameters of type ChunkSectionLayerModifier and TypeMethodDescriptionSectionBufferBuilderPack.buffer(ChunkSectionLayer pLayer) static voidItemBlockRenderTypes.setRenderLayer(Block block, ChunkSectionLayer layer) Deprecated.Set your render type in your block model's JSON (e.g.static voidItemBlockRenderTypes.setRenderLayer(Fluid fluid, ChunkSectionLayer layer) Helper to set the RenderType for Fluids -
Uses of ChunkSectionLayer in net.minecraft.client.renderer.block
Method parameters in net.minecraft.client.renderer.block with type arguments of type ChunkSectionLayerModifier and TypeMethodDescriptionvoidBlockRenderDispatcher.renderBatched(BlockState p_234356_, BlockPos p_234357_, BlockAndTintGetter p_234358_, PoseStack p_234359_, Function<ChunkSectionLayer, VertexConsumer> bufferLookup, boolean p_234361_, List<BlockModelPart> p_410643_) voidModelBlockRenderer.tesselateBlock(BlockAndTintGetter p_234380_, List<BlockModelPart> p_410025_, BlockState p_234382_, BlockPos p_234383_, PoseStack p_234384_, Function<ChunkSectionLayer, VertexConsumer> bufferLookup, boolean p_234386_, int p_234389_) voidModelBlockRenderer.tesselateWithAO(BlockAndTintGetter p_234391_, List<BlockModelPart> p_410478_, BlockState p_234393_, BlockPos p_234394_, PoseStack p_234395_, Function<ChunkSectionLayer, VertexConsumer> bufferLookup, boolean p_234397_, int p_234400_) voidModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter p_234402_, List<BlockModelPart> p_410604_, BlockState p_234404_, BlockPos p_234405_, PoseStack p_234406_, Function<ChunkSectionLayer, VertexConsumer> bufferLookup, boolean p_234408_, int p_234411_) -
Uses of ChunkSectionLayer in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as ChunkSectionLayerModifier and TypeFieldDescriptionprivate final ChunkSectionLayerSimpleModelWrapper.renderTypeThe field for therenderTyperecord component.Methods in net.minecraft.client.renderer.block.model that return ChunkSectionLayerModifier and TypeMethodDescriptionSimpleModelWrapper.getRenderType(BlockState state) SimpleModelWrapper.renderType()Returns the value of therenderTyperecord component.Constructors in net.minecraft.client.renderer.block.model with parameters of type ChunkSectionLayerModifierConstructorDescriptionSimpleModelWrapper(QuadCollection quads, boolean useAmbientOcclusion, TextureAtlasSprite particleIcon, ChunkSectionLayer renderType) Creates an instance of aSimpleModelWrapperrecord class. -
Uses of ChunkSectionLayer in net.minecraft.client.renderer.chunk
Fields 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, SectionBuffers> CompiledSectionMesh.buffersprivate final EnumMap<ChunkSectionLayer, List<RenderPass.Draw<GpuBufferSlice[]>>> ChunkSectionsToRender.drawsPerLayerThe field for thedrawsPerLayerrecord component.final Map<ChunkSectionLayer, MeshData> SectionCompiler.Results.renderedLayersMethods in net.minecraft.client.renderer.chunk that return ChunkSectionLayerModifier and TypeMethodDescriptionChunkSectionLayerGroup.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 TypeMethodDescriptionChunkSectionsToRender.drawsPerLayer()Returns the value of thedrawsPerLayerrecord component.Methods in net.minecraft.client.renderer.chunk with parameters of type ChunkSectionLayerModifier and TypeMethodDescriptionCompiledSectionMesh.getBuffers(ChunkSectionLayer pLayer) default SectionBuffersSectionMesh.getBuffers(ChunkSectionLayer pLayer) private BufferBuilderSectionCompiler.getOrBeginLayer(Map<ChunkSectionLayer, BufferBuilder> pBuilders, SectionBufferBuilderPack pSectionBufferBuilderPack, ChunkSectionLayer pLayer) booleanCompiledSectionMesh.isEmpty(ChunkSectionLayer pLayer) default booleanSectionMesh.isEmpty(ChunkSectionLayer pLayer) voidCompiledSectionMesh.uploadLayerIndexBuffer(ChunkSectionLayer pLayer, ByteBufferBuilder.Result pResult, long pSectionNode) voidCompiledSectionMesh.uploadMeshLayer(ChunkSectionLayer pLayer, MeshData pMeshData, long pSectionNode) SectionRenderDispatcher.RenderSection.uploadSectionIndexBuffer(CompiledSectionMesh pMesh, ByteBufferBuilder.Result pResult, ChunkSectionLayer pLayer) Method parameters in net.minecraft.client.renderer.chunk with type arguments of type ChunkSectionLayerModifier and TypeMethodDescriptionprivate BufferBuilderSectionCompiler.getOrBeginLayer(Map<ChunkSectionLayer, BufferBuilder> pBuilders, SectionBufferBuilderPack pSectionBufferBuilderPack, ChunkSectionLayer pLayer) SectionRenderDispatcher.RenderSection.upload(Map<ChunkSectionLayer, MeshData> pRenderedLayers, CompiledSectionMesh pMesh) 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(EnumMap<ChunkSectionLayer, List<RenderPass.Draw<GpuBufferSlice[]>>> drawsPerLayer, int maxIndicesRequired, GpuBufferSlice[] dynamicTransforms) Creates an instance of aChunkSectionsToRenderrecord class. -
Uses of ChunkSectionLayer in net.neoforged.neoforge.client
Fields in net.neoforged.neoforge.client declared as ChunkSectionLayerModifier and TypeFieldDescriptionprivate final ChunkSectionLayerRenderTypeGroup.blockThe field for theblockrecord component.Methods in net.neoforged.neoforge.client that return ChunkSectionLayerModifier and TypeMethodDescriptionRenderTypeGroup.block()Returns the value of theblockrecord component.Methods in net.neoforged.neoforge.client with parameters of type ChunkSectionLayerModifier and TypeMethodDescriptionstatic RenderTypeRenderTypeHelper.getEntityRenderType(ChunkSectionLayer chunkSectionLayer) Provides aRenderTypeusingDefaultVertexFormat.NEW_ENTITYfor the givenDefaultVertexFormat.BLOCKformat.static RenderTypeRenderTypeHelper.getMovingBlockRenderType(ChunkSectionLayer chunkSectionLayer) Provides aRenderTypefit for rendering moving blocks given the specified chunk render type.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) Constructors in net.neoforged.neoforge.client with parameters of type ChunkSectionLayerModifierConstructorDescriptionRenderTypeGroup(ChunkSectionLayer block, RenderType entity) Creates an instance of aRenderTypeGrouprecord class. -
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.voidRegisterNamedRenderTypesEvent.register(ResourceLocation key, ChunkSectionLayer chunkLayer, RenderType entityRenderType) Registers a namedRenderTypeGroup.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type ChunkSectionLayerModifierConstructorDescriptionSectionRenderingContext(Function<ChunkSectionLayer, VertexConsumer> getOrCreateLayer, BlockAndTintGetter region, PoseStack poseStack) -
Uses of ChunkSectionLayer in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return ChunkSectionLayerModifier and TypeMethodDescriptiondefault ChunkSectionLayerBlockModelPartExtension.getRenderType(BlockState state) Get the setChunkSectionLayerto use when drawing this block in the level.