net.minecraft.client.renderer.chunk

public class ChunkRenderDispatcher

fgl
net.minecraft.client.renderer.chunk.ChunkRenderDispatcher
net.minecraft.class_846
net.minecraft.client.render.chunk.ChunkBuilder
net.minecraft.src.C_4261_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_4445
LOGGER
f_112672_
private static final int
b
MAX_WORKERS_32_BIT
field_32831
field_32831
f_173707_
private static final VertexFormat
c
VERTEX_FORMAT
field_29500
POSITION_COLOR_TEXTURE_LIGHT_NORMAL
f_173708_
private static final int
d
MAX_HIGH_PRIORITY_QUOTA
field_35300
field_35300
f_194400_
private final PriorityBlockingQueue<ChunkRenderDispatcher$RenderChunk$ChunkCompileTask>
e
toBatchHighPriority
field_35301
prioritizedTaskQueue
f_194401_
private final Queue<ChunkRenderDispatcher$RenderChunk$ChunkCompileTask>
f
toBatchLowPriority
field_35302
taskQueue
f_194402_
private int
g
highPriorityQuota
field_35303
processablePrioritizedTaskCount
f_194403_
private final Queue<ChunkBufferBuilderPack>
h
freeBuffers
field_20827
threadBuffers
f_112674_
private final Queue<Runnable>
i
toUpload
field_4443
uploadQueue
f_112675_
private volatile int
j
toBatchCount
field_20992
queuedTaskCount
f_112676_
private volatile int
k
freeBufferCount
field_20993
bufferCount
f_112677_
final ChunkBufferBuilderPack
l
fixedBuffers
field_20828
buffers
f_112678_
private final ProcessorMailbox<Runnable>
m
mailbox
field_20829
mailbox
f_112679_
private final Executor
n
executor
field_20830
executor
f_112680_
ClientLevel
o
level
field_20831
world
f_112681_
final LevelRenderer
p
renderer
field_20832
worldRenderer
f_112682_
private Vec3
q
camera
field_18766
cameraPosition
f_112683_

Constructor summary

ModifierConstructor
public (ClientLevel world, LevelRenderer worldRenderer, Executor executor, boolean is64Bits, ChunkBufferBuilderPack buffers)

Method summary

Modifier and TypeMethod
public void
a(eyz arg0)
setLevel(ClientLevel arg0)
method_22752(class_638 arg0)
setWorld(ClientWorld world)
m_194410_(C_3899_ arg0)
private void
j()
runTask()
method_22763()
scheduleRunTasks()
m_112734_()
private ChunkRenderDispatcher$RenderChunk$ChunkCompileTask
k()
pollTask()
method_39132()
pollTask()
m_194418_()
public String
a()
getStats()
method_3622()
getDebugString()
m_112719_()
public int
b()
getToBatchCount()
method_34845()
getToBatchCount()
m_173712_()
public int
c()
getToUpload()
method_34846()
getChunksToUpload()
m_173713_()
public int
d()
getFreeBufferCount()
method_34847()
getFreeBufferCount()
m_173714_()
public void
a(eae arg0)
setCamera(Vec3 arg0)
method_19419(class_243 arg0)
setCameraPosition(Vec3d cameraPosition)
m_112693_(C_3046_ arg0)
public Vec3
e()
getCameraPosition()
method_19420()
getCameraPosition()
m_112727_()
public void
f()
uploadAllPendingUploads()
method_22761()
upload()
m_194417_()
public void
a(fgl$c arg0, fgo arg1)
rebuildChunkSync(ChunkRenderDispatcher$RenderChunk arg0, RenderRegionCache arg1)
method_3627(class_846$class_851 arg0, class_6850 arg1)
rebuild(ChunkBuilder$BuiltChunk chunk, ChunkRendererRegionBuilder builder)
m_200431_(C_4261_$C_4265_ p_200433_, C_200009_ arg1)
public void
g()
blockUntilClear()
method_3632()
reset()
m_112731_()
public void
a(fgl$c$a arg0)
schedule(ChunkRenderDispatcher$RenderChunk$ChunkCompileTask arg0)
method_22756(class_846$class_851$class_4577 arg0)
send(ChunkBuilder$BuiltChunk$Task task)
m_112709_(C_4261_$C_4265_$C_4266_ arg0)
public CompletableFuture<Void>
a(edy$b arg0, eeg arg1)
uploadChunkLayer(BufferBuilder$RenderedBuffer arg0, VertexBuffer arg1)
method_3635(class_287$class_7433 arg0, class_291 arg1)
scheduleUpload(BufferBuilder$BuiltBuffer arg0, VertexBuffer glBuffer)
m_234450_(C_3173_$C_213330_ p_234452_, C_3186_ arg1)
private void
l()
clearBatchQueue()
method_3633()
clear()
m_112735_()
public boolean
h()
isQueueEmpty()
method_3630()
isEmpty()
m_112732_()
public void
i()
dispose()
method_3619()
stop()
m_112733_()