net.minecraft.server.level

public class ChunkTaskDispatcher

implements ChunkHolder$LevelChangeListener, AutoCloseable

aro
net.minecraft.server.level.ChunkTaskDispatcher
net.minecraft.class_10171

Field summary

Modifier and TypeField
public static final int
a
DISPATCHER_PRIORITY_COUNT
field_54036
private static final org.slf4j.Logger
c
LOGGER
field_54038
private final ChunkTaskPriorityQueue
d
queue
field_54039
private final TaskScheduler<Runnable>
e
executor
field_54040
private final PriorityConsecutiveExecutor
f
dispatcher
field_54041
protected boolean
b
sleeping
field_54037

Constructor summary

ModifierConstructor
public (TaskScheduler<Runnable> arg0, Executor arg1)

Method summary

Modifier and TypeMethod
public boolean
a()
hasWork()
method_63546()
public void
onLevelChange(dke arg0, IntSupplier arg1, int arg2, IntConsumer arg3)
onLevelChange(ChunkPos arg0, IntSupplier arg1, int arg2, IntConsumer arg3)
method_17209(class_1923 arg0, IntSupplier arg1, int arg2, IntConsumer arg3)
public void
a(long arg0, Runnable arg1, boolean arg2)
release(long arg0, Runnable arg1, boolean arg2)
method_63549(long arg0, Runnable arg1, boolean arg2)
public void
a(Runnable arg0, long arg1, IntSupplier arg2)
submit(Runnable arg0, long arg1, IntSupplier arg2)
method_63553(Runnable arg0, long arg1, IntSupplier arg2)
protected void
b()
pollTask()
method_63558()
protected void
a(arp$a arg0)
scheduleForExecution(ChunkTaskPriorityQueue$TasksForChunk arg0)
method_63551(class_3899$class_10172 arg0)
protected void
a(long arg0)
onRelease(long arg0)
method_63548(long arg0)
protected ChunkTaskPriorityQueue$TasksForChunk
c()
popTasks()
method_63559()
public void
close()
close()