net.minecraft.client.render

public class BuiltChunkStorage

net.minecraft.client.renderer.ViewArea
net.minecraft.class_769
net.minecraft.client.render.BuiltChunkStorage

Field summary

Modifier and TypeField
protected final WorldRenderer
levelRenderer
field_4146
worldRenderer
protected final World
level
field_4151
world
protected int
sectionGridSizeY
field_4149
sizeY
protected int
sectionGridSizeX
field_4148
sizeX
protected int
sectionGridSizeZ
field_4147
sizeZ
private int
viewDistance
field_45629
viewDistance
private ChunkSectionPos
cameraSectionPos
field_53952
sectionPos
public ChunkBuilder$BuiltChunk[]
sections
field_4150
chunks

Constructor summary

ModifierConstructor
public (ChunkBuilder chunkBuilder, World world, int viewDistance, WorldRenderer worldRenderer)

Method summary

Modifier and TypeMethod
protected void
createSections(SectionRenderDispatcher sectionRenderDispatcher)
method_3324(class_846 arg0)
createChunks(ChunkBuilder chunkBuilder)
public void
releaseAllBuffers()
method_3327()
clear()
private int
getSectionIndex(int x, int y, int z)
method_3326(int arg0, int arg1, int arg2)
getChunkIndex(int x, int y, int z)
protected void
setViewDistance(int renderDistance)
method_3325(int arg0)
setViewDistance(int viewDistance)
public int
getViewDistance()
method_52839()
getViewDistance()
public HeightLimitView
getLevelHeightAccessor()
method_52840()
getWorld()
public void
repositionCamera(SectionPos cameraSectionPos)
method_3330(class_4076 arg0)
updateCameraPosition(ChunkSectionPos sectionPos)
public ChunkSectionPos
getCameraSectionPos()
method_62966()
getSectionPos()
public void
setDirty(int sectionX, int sectionY, int sectionZ, boolean playerChanged)
method_16040(int arg0, int arg1, int arg2, boolean arg3)
scheduleRebuild(int x, int y, int z, boolean important)
protected ChunkBuilder$BuiltChunk
getRenderSectionAt(BlockPos pos)
method_3323(class_2338 arg0)
getRenderedChunk(BlockPos blockPos)
protected ChunkBuilder$BuiltChunk
getRenderSection(long sectionNode)
method_62963(long arg0)
getRenderedChunk(long sectionPos)
private ChunkBuilder$BuiltChunk
getRenderSection(int sectionX, int sectionY, int sectionZ)
method_62964(int arg0, int arg1, int arg2)
getRenderedChunk(int sectionX, int sectionY, int sectionZ)
private boolean
containsSection(int sectionX, int sectionY, int sectionZ)
method_62965(int arg0, int arg1, int arg2)
isSectionWithinViewDistance(int sectionX, int sectionY, int sectionZ)