net.minecraft.client.renderer.chunk

public class ChunkRenderDispatcher

epx
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.apache.logging.log4j.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 final PriorityQueue<ChunkRenderDispatcher$RenderChunk$ChunkCompileTask>
d
toBatch
field_4435
rebuildQueue
f_112673_
private final Queue<ChunkBufferBuilderPack>
e
freeBuffers
field_20827
threadBuffers
f_112674_
private final Queue<Runnable>
f
toUpload
field_4443
uploadQueue
f_112675_
private volatile int
g
toBatchCount
field_20992
queuedTaskCount
f_112676_
private volatile int
h
freeBufferCount
field_20993
bufferCount
f_112677_
final ChunkBufferBuilderPack
i
fixedBuffers
field_20828
buffers
f_112678_
private final ProcessorMailbox<Runnable>
j
mailbox
field_20829
mailbox
f_112679_
private final Executor
k
executor
field_20830
executor
f_112680_
Level
l
level
field_20831
world
f_112681_
final LevelRenderer
m
renderer
field_20832
worldRenderer
f_112682_
private Vec3
n
camera
field_18766
cameraPosition
f_112683_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(bwq arg0)
setLevel(Level arg0)
method_22752(class_1937 arg0)
setWorld(World world)
m_112691_(C_1596_ arg0)
private void
j()
runTask()
method_22763()
scheduleRunTasks()
m_112734_()
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(dna 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 boolean
f()
uploadAllPendingUploads()
method_22761()
upload()
m_112730_()
public void
a(epx$c arg0)
rebuildChunkSync(ChunkRenderDispatcher$RenderChunk arg0)
method_3627(class_846$class_851 arg0)
rebuild(ChunkBuilder$BuiltChunk chunk)
m_112715_(C_4261_$C_4265_ arg0)
public void
g()
blockUntilClear()
method_3632()
reset()
m_112731_()
public void
a(epx$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(dqg arg0, dqo arg1)
uploadChunkLayer(BufferBuilder arg0, VertexBuffer arg1)
method_3635(class_287 arg0, class_291 arg1)
scheduleUpload(BufferBuilder buffer, VertexBuffer glBuffer)
m_112695_(C_3173_ p_112697_, C_3186_ arg1)
private CompletableFuture<Void>
b(dqg arg0, dqo arg1)
doUploadChunkLayer(BufferBuilder arg0, VertexBuffer arg1)
method_22759(class_287 arg0, class_291 arg1)
upload(BufferBuilder buffer, VertexBuffer glBuffer)
m_112720_(C_3173_ p_112722_, C_3186_ arg1)
private void
k()
clearBatchQueue()
method_3633()
clear()
m_112735_()
public boolean
h()
isQueueEmpty()
method_3630()
isEmpty()
m_112732_()
public void
i()
dispose()
method_3619()
stop()
m_112733_()