net.minecraft.server.level

public class ThreadedLevelLightEngine

extends LevelLightEngine implements AutoCloseable

All mapped superinterfaces:

LightEventListener

xg
net.minecraft.server.level.ThreadedLevelLightEngine
net.minecraft.class_3227
net.minecraft.unmapped.C_bdzdhzyc
net.minecraft.server.world.ServerLightingProvider
net.minecraft.world.server.ServerWorldLightManager
net.minecraft.server.v1_15_R1.LightEngineThreaded

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_14020
f_bmwopehy
LOGGER
field_215604_a
private final ProcessorMailbox<Runnable>
b
taskMailbox
field_17255
f_bxscsrlv
processor
field_215605_b
private final it.unimi.dsi.fastutil.objects.ObjectList<com.mojang.datafixers.util.Pair<ThreadedLevelLightEngine$TaskType, Runnable>>
c
lightTasks
field_17256
f_ihvgapic
pendingTasks
field_215606_c
private final ChunkMap
d
chunkMap
field_17257
f_fqfdxccd
chunkStorage
field_215607_d
private final ProcessorHandle<ChunkTaskPriorityQueueSorter$Message<Runnable>>
e
sorterMailbox
field_17259
f_iwvpqbpz
executor
field_215608_e
private volatile int
f
taskPerBatch
field_17260
f_tgwktggy
taskBatchSize
field_215609_f
private final AtomicBoolean
g
scheduled
field_18812
f_mdmcaerx
field_215610_g

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
close()
close()
close()
close()
public int
a(int arg0, boolean arg1, boolean arg2)
runUpdates(int arg0, boolean arg1, boolean arg2)
method_15563(int arg0, boolean arg1, boolean arg2)
m_jafuekar(int arg0, boolean arg1, boolean arg2)
doLightUpdates(int arg0, boolean arg1, boolean arg2)
func_215575_a(int arg0, boolean arg1, boolean arg2)
public void
a(fk arg0, int arg1)
onBlockEmissionIncrease(BlockPos arg0, int arg1)
method_15560(class_2338 arg0, int arg1)
m_tnnvkozt(C_hynzadkk arg0, int arg1)
addLightSource(BlockPos arg0, int arg1)
func_215573_a(BlockPos arg0, int arg1)
public void
a(fk arg0)
checkBlock(BlockPos arg0)
method_15559(class_2338 arg0)
m_ricojuad(C_hynzadkk arg0)
checkBlock(BlockPos arg0)
func_215568_a(BlockPos arg0)
protected void
a(bje arg0)
updateChunkStatus(ChunkPos arg0)
method_20386(class_1923 arg0)
m_hgykdbsz(C_ynrszrtu arg0)
updateChunkStatus(ChunkPos pos)
func_215581_a(ChunkPos arg0)
public void
a(gd arg0, boolean arg1)
updateSectionStatus(SectionPos arg0, boolean arg1)
method_15551(class_4076 arg0, boolean arg1)
m_myforzem(C_zubvmeye arg0, boolean arg1)
updateSectionStatus(ChunkSectionPos arg0, boolean arg1)
func_215566_a(SectionPos arg0, boolean arg1)
public void
a(bje arg0, boolean arg1)
enableLightSources(ChunkPos arg0, boolean arg1)
method_15557(class_1923 arg0, boolean arg1)
m_jisoguse(C_ynrszrtu arg0, boolean arg1)
setLightEnabled(ChunkPos arg0, boolean arg1)
func_215571_a(ChunkPos arg0, boolean arg1)
public void
a(bkc arg0, gd arg1, cac 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)
queueData(LightType arg0, ChunkSectionPos arg1, ChunkNibbleArray arg2)
func_215574_a(LightType arg0, SectionPos arg1, NibbleArray arg2)
private void
a(int arg0, int arg1, xg$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)
func_215586_a(int arg0, int arg1, ServerWorldLightManager$Phase arg2, Runnable arg3)
private void
a(int arg0, int arg1, IntSupplier arg2, xg$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)
func_215600_a(int arg0, int arg1, IntSupplier arg2, ServerWorldLightManager$Phase arg3, Runnable arg4)
public void
b(bje 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)
func_223115_b(ChunkPos arg0, boolean arg1)
public CompletableFuture<ChunkAccess>
a(bzv 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 arg1)
func_215593_a(IChunk arg0, boolean arg1)
public void
B_()
tryScheduleUpdate()
method_17303()
m_akucajjc()
tick()
func_215588_z_()
queueUpdate()
private void
b()
runUpdate()
method_14277()
m_zoawoczj()
runTasks()
func_215603_b()
public void
a(int arg0)
setTaskPerBatch(int arg0)
method_17304(int arg0)
m_dfdmqeol(int arg0)
setTaskBatchSize(int taskBatchSize)
func_215598_a(int arg0)