Package net.minecraft.client.renderer
Class ViewArea
java.lang.Object
net.minecraft.client.renderer.ViewArea
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Levelprotected final LevelRendererprotected intprotected intprotected intprivate int - 
Constructor Summary
ConstructorsConstructorDescriptionViewArea(SectionRenderDispatcher p_298339_, Level p_110846_, int p_110847_, LevelRenderer p_110848_)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateSections(SectionRenderDispatcher p_299921_) protected SectionRenderDispatcher.RenderSectiongetRenderSectionAt(BlockPos p_299271_) private intgetSectionIndex(int p_297902_, int p_298060_, int p_297930_) intvoidvoidrepositionCamera(double p_110851_, double p_110852_) voidsetDirty(int p_110860_, int p_110861_, int p_110862_, boolean p_110863_) protected voidsetViewDistance(int p_110854_)  
- 
Field Details
- 
levelRenderer
 - 
level
 - 
sectionGridSizeY
protected int sectionGridSizeY - 
sectionGridSizeX
protected int sectionGridSizeX - 
sectionGridSizeZ
protected int sectionGridSizeZ - 
viewDistance
private int viewDistance - 
sections
 
 - 
 - 
Constructor Details
- 
ViewArea
public ViewArea(SectionRenderDispatcher p_298339_, Level p_110846_, int p_110847_, LevelRenderer p_110848_)  
 - 
 - 
Method Details
- 
createSections
 - 
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
 - 
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
 
 -