net.minecraft.server.level

public class ThreadedLevelLightEngine

extends LevelLightEngine implements AutoCloseable

All mapped superinterfaces:

LightEventListener

abu
net.minecraft.server.level.ThreadedLevelLightEngine
net.minecraft.class_3227
net.minecraft.unmapped.C_bdzdhzyc
net.minecraft.server.world.ServerLightingProvider
net.minecraft.src.C_15_
net.minecraft.server.level.LightEngineThreaded

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
d
LOGGER
field_14020
f_bmwopehy
LOGGER
f_9296_
private final ProcessorMailbox<Runnable>
e
taskMailbox
field_17255
f_bxscsrlv
processor
f_9297_
private final it.unimi.dsi.fastutil.objects.ObjectList<com.mojang.datafixers.util.Pair<ThreadedLevelLightEngine$TaskType, Runnable>>
f
lightTasks
field_17256
f_ihvgapic
pendingTasks
f_9298_
private final ChunkMap
g
chunkMap
field_17257
f_fqfdxccd
chunkStorage
f_9299_
private final ProcessorHandle<ChunkTaskPriorityQueueSorter$Message<Runnable>>
h
sorterMailbox
field_17259
f_iwvpqbpz
executor
f_9300_
private volatile int
i
taskPerBatch
field_17260
f_tgwktggy
taskBatchSize
f_9301_
private final AtomicBoolean
j
scheduled
field_18812
f_mdmcaerx
ticking
f_9302_

Constructor summary

ModifierConstructor
public (LightChunkGetter chunkProvider, ChunkMap chunkStorage, boolean hasBlockLight, ProcessorMailbox<Runnable> processor, ProcessorHandle<ChunkTaskPriorityQueueSorter$Message<Runnable>> executor)

Method summary

Modifier and TypeMethod
public void
close()
close()
close()
public int
a(int arg0, boolean arg1, boolean arg2)
runUpdates(int arg0, boolean arg1, boolean arg2)
method_15516(int arg0, boolean arg1, boolean arg2)
m_hkcouwha(int arg0, boolean arg1, boolean arg2)
doLightUpdates(int arg0, boolean arg1, boolean arg2)
m_142528_(int p_9325_, boolean p_9326_, boolean arg2)
public void
a(gg arg0, int arg1)
onBlockEmissionIncrease(BlockPos arg0, int arg1)
method_15514(class_2338 arg0, int arg1)
m_okeagzpa(C_hynzadkk arg0, int arg1)
addLightSource(BlockPos arg0, int arg1)
m_142519_(C_4675_ p_9360_, int arg1)
public void
a(gg arg0)
checkBlock(BlockPos arg0)
method_15513(class_2338 arg0)
m_idxlrtdh(C_hynzadkk arg0)
checkBlock(BlockPos arg0)
m_142202_(C_4675_ arg0)
protected void
a(bvu arg0)
updateChunkStatus(ChunkPos arg0)
method_20386(class_1923 arg0)
m_hgykdbsz(C_ynrszrtu arg0)
updateChunkStatus(ChunkPos pos)
m_9330_(C_1560_ arg0)
public void
a(gz arg0, boolean arg1)
updateSectionStatus(SectionPos arg0, boolean arg1)
method_15551(class_4076 arg0, boolean arg1)
m_myforzem(C_zubvmeye arg0, boolean arg1)
setSectionStatus(ChunkSectionPos arg0, boolean arg1)
m_6191_(C_4710_ p_9365_, boolean arg1)
public void
a(bvu arg0, boolean arg1)
enableLightSources(ChunkPos arg0, boolean arg1)
method_15512(class_1923 arg0, boolean arg1)
m_ajkuniqr(C_ynrszrtu arg0, boolean arg1)
setColumnEnabled(ChunkPos arg0, boolean arg1)
m_141940_(C_1560_ p_9337_, boolean arg1)
public void
a(bwy arg0, gz arg1, cmq arg2, boolean arg3)
queueSectionData(LightLayer arg0, SectionPos arg1, DataLayer arg2, boolean arg3)
method_15558(class_1944 arg0, class_4076 arg1, class_2804 arg2, boolean arg3)
m_tnjxhipx(C_fhvlmqtw arg0, C_zubvmeye arg1, C_cneaxdxg arg2, boolean arg3)
enqueueSectionData(LightType arg0, ChunkSectionPos arg1, ChunkNibbleArray arg2, boolean arg3)
m_5687_(C_1607_ p_9340_, C_4710_ p_9341_, C_2131_ p_9342_, boolean arg3)
private void
a(int arg0, int arg1, abu$a arg2, Runnable arg3)
addTask(int arg0, int arg1, ThreadedLevelLightEngine$TaskType arg2, Runnable arg3)
method_17308(int arg0, int arg1, class_3227$class_3901 arg2, Runnable arg3)
m_qftmhnaq(int arg0, int arg1, C_bdzdhzyc$C_xljyfoew arg2, Runnable arg3)
enqueue(int x, int z, ServerLightingProvider$Stage stage, Runnable task)
m_9312_(int p_9314_, int p_9315_, C_15_$C_16_ p_9316_, Runnable arg3)
private void
a(int arg0, int arg1, IntSupplier arg2, abu$a arg3, Runnable arg4)
addTask(int arg0, int arg1, IntSupplier arg2, ThreadedLevelLightEngine$TaskType arg3, Runnable arg4)
method_17307(int arg0, int arg1, IntSupplier arg2, class_3227$class_3901 arg3, Runnable arg4)
m_vrhouamw(int arg0, int arg1, IntSupplier arg2, C_bdzdhzyc$C_xljyfoew arg3, Runnable arg4)
enqueue(int x, int z, IntSupplier completedLevelSupplier, ServerLightingProvider$Stage stage, Runnable task)
m_9317_(int p_9319_, int p_9320_, IntSupplier p_9321_, C_15_$C_16_ p_9322_, Runnable arg4)
public void
b(bvu arg0, boolean arg1)
retainData(ChunkPos arg0, boolean arg1)
method_20601(class_1923 arg0, boolean arg1)
m_uffpblti(C_ynrszrtu arg0, boolean arg1)
setRetainData(ChunkPos arg0, boolean arg1)
m_6462_(C_1560_ p_9371_, boolean arg1)
public CompletableFuture<ChunkAccess>
a(cml arg0, boolean arg1)
lightChunk(ChunkAccess arg0, boolean arg1)
method_17310(class_2791 arg0, boolean arg1)
m_ztqcmqpm(C_lwzmmmqr arg0, boolean arg1)
light(Chunk chunk, boolean excludeBlocks)
m_9353_(C_2116_ p_9355_, boolean arg1)
public void
a()
tryScheduleUpdate()
method_17303()
m_akucajjc()
tick()
m_9409_()
queueUpdate()
private void
e()
runUpdate()
method_14277()
m_zoawoczj()
runTasks()
m_9366_()
public void
a(int arg0)
setTaskPerBatch(int arg0)
method_17304(int arg0)
m_dfdmqeol(int arg0)
setTaskBatchSize(int taskBatchSize)
m_9310_(int arg0)