Class ViewFrustum

java.lang.Object
net.minecraft.client.renderer.ViewFrustum

public class ViewFrustum extends Object
  • Field Details

    • levelRenderer

      protected final WorldRenderer levelRenderer
    • level

      protected final World level
    • chunkGridSizeY

      protected int chunkGridSizeY
    • chunkGridSizeX

      protected int chunkGridSizeX
    • chunkGridSizeZ

      protected int chunkGridSizeZ
    • chunks

  • Constructor Details

  • Method Details

    • createChunks

      protected void createChunks(ChunkRenderDispatcher p_228789_1_)
    • releaseAllBuffers

      public void releaseAllBuffers()
    • getChunkIndex

      private int getChunkIndex(int p_212478_1_, int p_212478_2_, int p_212478_3_)
    • setViewDistance

      protected void setViewDistance(int p_178159_1_)
    • repositionCamera

      public void repositionCamera(double p_178163_1_, double p_178163_3_)
    • setDirty

      public void setDirty(int p_217628_1_, int p_217628_2_, int p_217628_3_, boolean p_217628_4_)
    • getRenderChunkAt

      @Nullable protected ChunkRenderDispatcher.ChunkRender getRenderChunkAt(BlockPos p_178161_1_)