Interface BlockVertexConsumerProvider


public interface BlockVertexConsumerProvider
Like MultiBufferSource, but takes ChunkSectionLayer instead of RenderType. Primarily used to correctly render block models which have geometry on more than one layer.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.blaze3d.vertex.VertexConsumer
    getBuffer(net.minecraft.client.renderer.chunk.ChunkSectionLayer layer)
     
  • Method Details

    • getBuffer

      com.mojang.blaze3d.vertex.VertexConsumer getBuffer(net.minecraft.client.renderer.chunk.ChunkSectionLayer layer)