Class ViewArea

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

public class ViewArea extends Object
  • Field Details

    • levelRenderer

      protected final LevelRenderer levelRenderer
    • level

      protected final Level level
    • sectionGridSizeY

      protected int sectionGridSizeY
    • sectionGridSizeX

      protected int sectionGridSizeX
    • sectionGridSizeZ

      protected int sectionGridSizeZ
    • viewDistance

      private int viewDistance
    • sections

  • Constructor Details

  • Method Details

    • createSections

      protected void createSections(SectionRenderDispatcher p_299921_)
    • releaseAllBuffers

      public void releaseAllBuffers()
    • getSectionIndex

      private int getSectionIndex(int p_297902_, int p_298060_, int p_297930_)
    • setViewDistance

      protected void setViewDistance(int p_110854_)
    • getViewDistance

      public int getViewDistance()
    • getLevelHeightAccessor

      public LevelHeightAccessor getLevelHeightAccessor()
    • repositionCamera

      public void repositionCamera(double p_110851_, double p_110852_)
    • setDirty

      public void setDirty(int p_110860_, int p_110861_, int p_110862_, boolean p_110863_)
    • getRenderSectionAt

      @Nullable protected SectionRenderDispatcher.RenderSection getRenderSectionAt(BlockPos p_299271_)