Package net.minecraft.client.renderer
Class ViewArea
java.lang.Object
net.minecraft.client.renderer.ViewArea
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected int
protected int
protected Level
protected LevelRenderer
-
Constructor Summary
ConstructorDescriptionViewArea(ChunkRenderDispatcher p_110845_, Level p_110846_, int p_110847_, LevelRenderer p_110848_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createChunks(ChunkRenderDispatcher p_110865_)
private int
getChunkIndex(int p_110856_, int p_110857_, int p_110858_)
protected ChunkRenderDispatcher.RenderChunk
getRenderChunkAt(BlockPos p_110867_)
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
-
chunkGridSizeY
protected int chunkGridSizeY -
chunkGridSizeX
protected int chunkGridSizeX -
chunkGridSizeZ
protected int chunkGridSizeZ -
chunks
-
-
Constructor Details
-
ViewArea
public ViewArea(ChunkRenderDispatcher p_110845_, Level p_110846_, int p_110847_, LevelRenderer p_110848_)
-
-
Method Details
-
createChunks
-
releaseAllBuffers
public void releaseAllBuffers() -
getChunkIndex
private int getChunkIndex(int p_110856_, int p_110857_, int p_110858_) -
setViewDistance
protected void setViewDistance(int p_110854_) -
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_) -
getRenderChunkAt
-