Class ProcessorChunkProgressListener
java.lang.Object
net.minecraft.server.level.progress.ProcessorChunkProgressListener
- All Implemented Interfaces:
ChunkProgressListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChunkProgressListener
private final ProcessorMailbox<Runnable>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ProcessorChunkProgressListener
(ChunkProgressListener p_9640_, Executor p_9641_) -
Method Summary
Modifier and TypeMethodDescriptioncreateStarted
(ChunkProgressListener p_143584_, Executor p_143585_) void
onStatusChange
(ChunkPos p_9645_, ChunkStatus p_9646_) void
start()
void
stop()
void
updateSpawnPos
(ChunkPos p_9643_)
-
Field Details
-
delegate
-
mailbox
-
-
Constructor Details
-
ProcessorChunkProgressListener
-
-
Method Details
-
createStarted
public static ProcessorChunkProgressListener createStarted(ChunkProgressListener p_143584_, Executor p_143585_) -
updateSpawnPos
- Specified by:
updateSpawnPos
in interfaceChunkProgressListener
-
onStatusChange
- Specified by:
onStatusChange
in interfaceChunkProgressListener
-
start
public void start()- Specified by:
start
in interfaceChunkProgressListener
-
stop
public void stop()- Specified by:
stop
in interfaceChunkProgressListener
-