Package net.minecraft.client.renderer
Class ViewArea
java.lang.Object
net.minecraft.client.renderer.ViewArea
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Level
protected final LevelRenderer
protected int
protected int
protected int
private int
-
Constructor Summary
ConstructorDescriptionViewArea
(SectionRenderDispatcher p_296460_, Level p_110846_, int p_110847_, LevelRenderer p_110848_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createSections
(SectionRenderDispatcher p_294825_) protected SectionRenderDispatcher.RenderSection
getRenderSectionAt
(BlockPos p_294239_) private int
getSectionIndex
(int p_295999_, int p_294097_, int p_294966_) int
void
void
repositionCamera
(double p_110851_, double p_110852_) void
setDirty
(int p_110860_, int p_110861_, int p_110862_, boolean p_110863_) protected void
setViewDistance
(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_296460_, Level p_110846_, int p_110847_, LevelRenderer p_110848_)
-
-
Method Details
-
createSections
-
releaseAllBuffers
public void releaseAllBuffers() -
getSectionIndex
private int getSectionIndex(int p_295999_, int p_294097_, int p_294966_) -
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
-