net.minecraft.client.renderer.chunk

public class SectionRenderDispatcher

hbk
net.minecraft.client.renderer.chunk.SectionRenderDispatcher
net.minecraft.class_846
net.minecraft.client.render.chunk.ChunkBuilder

Field summary

Modifier and TypeField
private final CompileTaskDynamicQueue
a
compileQueue
field_53957
scheduler
private final Queue<Runnable>
b
toUpload
field_4443
uploadQueue
final Executor
c
mainThreadUploadExecutor
field_61028
uploadExecutor
final Queue<SectionMesh>
d
toClose
field_61029
renderQueue
final SectionBufferBuilderPack
e
fixedBuffers
field_20828
buffers
private final SectionBufferBuilderPool
f
bufferPool
field_46907
buffersPool
volatile boolean
g
closed
field_46908
stopped
private final ConsecutiveExecutor
h
consecutiveExecutor
field_54167
consecutiveExecutor
private final TracingExecutor
i
executor
field_20830
executor
ClientLevel
j
level
field_20831
world
final LevelRenderer
k
renderer
field_20832
worldRenderer
Vec3
l
cameraPosition
field_18766
cameraPosition
final SectionCompiler
m
sectionCompiler
field_52171
sectionBuilder

Constructor summary

ModifierConstructor
public (ClientLevel world, LevelRenderer worldRenderer, TracingExecutor executor, RenderBuffers bufferBuilderStorage, BlockRenderDispatcher blockRenderManager, BlockEntityRenderDispatcher blockEntityRenderDispatcher)

Method summary

Modifier and TypeMethod
public void
a(grj arg0)
setLevel(ClientLevel arg0)
method_22752(class_638 arg0)
setWorld(ClientWorld world)
private void
i()
runTask()
method_22763()
scheduleRunTasks()
public void
a(fis arg0)
setCameraPosition(Vec3 arg0)
method_19419(class_243 arg0)
setCameraPosition(Vec3d cameraPosition)
public void
a()
uploadAllPendingUploads()
method_22761()
upload()
public void
a(hbk$a arg0, hbe arg1)
rebuildSectionSync(SectionRenderDispatcher$RenderSection arg0, RenderRegionCache arg1)
method_3627(class_846$class_851 arg0, class_6850 arg1)
rebuild(ChunkBuilder$BuiltChunk chunk, ChunkRendererRegionBuilder builder)
public void
a(hbk$a$a arg0)
schedule(SectionRenderDispatcher$RenderSection$CompileTask arg0)
method_22756(class_846$class_851$class_4577 arg0)
send(ChunkBuilder$BuiltChunk$Task task)
public void
b()
clearCompileQueue()
method_72045()
cancelAllTasks()
public boolean
c()
isQueueEmpty()
method_3630()
isEmpty()
public void
d()
dispose()
method_3619()
stop()
public String
e()
getStats()
method_3622()
getDebugString()
public int
f()
getCompileQueueSize()
method_72046()
getScheduledTaskCount()
public int
g()
getToUpload()
method_34846()
getChunksToUpload()
public int
h()
getFreeBufferCount()
method_34847()
getFreeBufferCount()