net.minecraft.server.level

public class ThreadedLevelLightEngine

extends LevelLightEngine implements AutoCloseable

All mapped superinterfaces:

LightEventListener

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

Field summary

Modifier and TypeField
public static final int
a
DEFAULT_BATCH_SIZE
field_44692
f_pcsidwde
field_44692
DEFAULT_BATCH_SIZE
f_283844_
private static final org.slf4j.Logger
d
LOGGER
field_14020
f_bmwopehy
LOGGER
LOGGER
f_9296_
private final ProcessorMailbox<Runnable>
e
taskMailbox
field_17255
f_bxscsrlv
processor
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
pendingTasks
f_9298_
private final ChunkMap
g
chunkMap
field_17257
f_fqfdxccd
chunkStorage
chunkManager
f_9299_
private final ProcessorHandle<ChunkTaskPriorityQueueSorter$Message<Runnable>>
h
sorterMailbox
field_17259
f_iwvpqbpz
executor
executor
f_9300_
private final int
i
taskPerBatch
field_17260
f_tgwktggy
taskBatchSize
taskBatchSize
f_9301_
private final AtomicBoolean
j
scheduled
field_18812
f_mdmcaerx
ticking
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()
runLightUpdates()
method_15516()
m_cmfibydp()
doLightUpdates()
runLightUpdates()
m_9323_()
public void
a(hx arg0)
checkBlock(BlockPos arg0)
method_15513(class_2338 arg0)
m_idxlrtdh(C_hynzadkk arg0)
checkBlock(BlockPos arg0)
checkBlock(BlockPos arg0)
m_7174_(C_4675_ arg0)
protected void
a(csw arg0)
updateChunkStatus(ChunkPos arg0)
method_20386(class_1923 arg0)
m_hgykdbsz(C_ynrszrtu arg0)
updateChunkStatus(ChunkPos pos)
updateChunkStatus(ChunkPos pos)
m_9330_(C_1560_ arg0)
public void
a(iz 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)
setSectionStatus(ChunkSectionPos arg0, boolean arg1)
m_6191_(C_4710_ p_9365_, boolean arg1)
public void
b(csw arg0)
propagateLightSources(ChunkPos arg0)
method_51471(class_1923 arg0)
m_nhbjqcvk(C_ynrszrtu arg0)
propagateLight(ChunkPos arg0)
propagateLightSources(ChunkPos arg0)
m_142519_(C_1560_ arg0)
public void
a(csw arg0, boolean arg1)
setLightEnabled(ChunkPos arg0, boolean arg1)
method_15512(class_1923 arg0, boolean arg1)
m_kjgxwinj(C_ynrszrtu arg0, boolean arg1)
setColumnEnabled(ChunkPos arg0, boolean arg1)
setLightEnabled(ChunkPos arg0, boolean arg1)
m_9335_(C_1560_ p_9337_, boolean arg1)
public void
a(cty arg0, iz arg1, dlj arg2)
queueSectionData(LightLayer arg0, SectionPos arg1, DataLayer arg2)
method_15558(class_1944 arg0, class_4076 arg1, class_2804 arg2)
m_tnjxhipx(C_fhvlmqtw arg0, C_zubvmeye arg1, C_cneaxdxg arg2)
enqueueSectionData(LightType arg0, ChunkSectionPos arg1, ChunkNibbleArray arg2)
enqueueSectionData(LightType arg0, ChunkSectionPos arg1, ChunkNibbleArray arg2)
m_284126_(C_1607_ p_285496_, C_4710_ p_285495_, C_2131_ arg2)
private void
a(int arg0, int arg1, ang$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)
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, ang$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)
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(csw 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)
setRetainData(ChunkPos arg0, boolean arg1)
m_6462_(C_1560_ p_9371_, boolean arg1)
public CompletableFuture<ChunkAccess>
a(dld arg0, boolean arg1)
initializeLight(ChunkAccess arg0, boolean arg1)
method_51285(class_2791 arg0, boolean arg1)
m_noxsitnv(C_lwzmmmqr arg0, boolean arg1)
initializeLight(Chunk chunk, boolean arg1)
initializeLight(Chunk chunk, boolean lightEnabled)
m_284138_(C_2116_ p_285441_, boolean arg1)
public CompletableFuture<ChunkAccess>
b(dld 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)
light(Chunk chunk, boolean excludeBlocks)
m_9353_(C_2116_ p_9355_, boolean arg1)
public void
b()
tryScheduleUpdate()
method_17303()
m_akucajjc()
tick()
tick()
m_9409_()
private void
f()
runUpdate()
method_14277()
m_zoawoczj()
runTasks()
runTasks()
m_9366_()
public CompletableFuture<?>
a(int arg0, int arg1)
waitForPendingTasks(int arg0, int arg1)
method_53694(int arg0, int arg1)
m_gwehxcog(int arg0, int arg1)
enqueue(int x, int z)
m_293279_(int p_298866_, int arg1)