Interface WorldTerrainRenderContext

All Superinterfaces:
AbstractWorldRenderContext
All Known Subinterfaces:
WorldRenderContext

@NonExtendable public interface WorldTerrainRenderContext extends AbstractWorldRenderContext
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.renderer.chunk.ChunkSectionsToRender
    The render state for all chunk section to be rendered.

    Methods inherited from interface net.fabricmc.fabric.api.client.rendering.v1.world.AbstractWorldRenderContext

    gameRenderer, worldRenderer, worldState
  • Method Details

    • sectionState

      net.minecraft.client.renderer.chunk.ChunkSectionsToRender sectionState()
      The render state for all chunk section to be rendered.

      Render states contain information about the current frame used for rendering, and should be used instead of accessing the world or other objects directly from rendering events.