类 ViewArea

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

public class ViewArea extends Object
  • 字段详细资料

    • levelRenderer

      protected final LevelRenderer levelRenderer
    • level

      protected final Level level
    • chunkGridSizeY

      protected int chunkGridSizeY
    • chunkGridSizeX

      protected int chunkGridSizeX
    • chunkGridSizeZ

      protected int chunkGridSizeZ
    • chunks

  • 构造器详细资料

  • 方法详细资料

    • createChunks

      protected void createChunks(ChunkRenderDispatcher pRenderChunkFactory)
    • releaseAllBuffers

      public void releaseAllBuffers()
    • getChunkIndex

      private int getChunkIndex(int pX, int pY, int pZ)
    • setViewDistance

      protected void setViewDistance(int pRenderDistanceChunks)
    • repositionCamera

      public void repositionCamera(double pViewEntityX, double pViewEntityZ)
    • setDirty

      public void setDirty(int pSectionX, int pSectionY, int pSectionZ, boolean pReRenderOnMainThread)
    • getRenderChunkAt

      @Nullable protected ChunkRenderDispatcher.RenderChunk getRenderChunkAt(BlockPos pPos)