Package net.minecraft.server.world
Class ThrottledChunkTaskScheduler
java.lang.Object
net.minecraft.server.world.ChunkTaskScheduler
net.minecraft.server.world.ThrottledChunkTaskScheduler
- All Implemented Interfaces:
AutoCloseable
,ChunkHolder.LevelUpdateListener
- Mappings:
Namespace Name named net/minecraft/server/world/ThrottledChunkTaskScheduler
intermediary net/minecraft/class_10173
official asl
-
Field Summary
Fields inherited from class net.minecraft.server.world.ChunkTaskScheduler
LEVELS, pollOnUpdate
-
Constructor Summary
ConstructorDescriptionThrottledChunkTaskScheduler
(TaskExecutor<Runnable> executor, Executor dispatchExecutor, int maxConcurrentChunks) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
onRemove
(long chunkPos) protected @Nullable LevelPrioritizedQueue.Entry
poll()
protected void
Methods inherited from class net.minecraft.server.world.ChunkTaskScheduler
add, close, pollTask, remove, shouldDelayShutdown, updateLevel
-
Field Details
-
chunks
- Mappings:
Namespace Name Mixin selector named chunks
Lnet/minecraft/server/world/ThrottledChunkTaskScheduler;chunks:Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary field_54051
Lnet/minecraft/class_10173;field_54051:Lit/unimi/dsi/fastutil/longs/LongSet;
official c
Lasl;c:Lit/unimi/dsi/fastutil/longs/LongSet;
-
maxConcurrentChunks
private final int maxConcurrentChunks- Mappings:
Namespace Name Mixin selector named maxConcurrentChunks
Lnet/minecraft/server/world/ThrottledChunkTaskScheduler;maxConcurrentChunks:I
intermediary field_54052
Lnet/minecraft/class_10173;field_54052:I
official d
Lasl;d:I
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/server/world/ThrottledChunkTaskScheduler;name:Ljava/lang/String;
intermediary field_54053
Lnet/minecraft/class_10173;field_54053:Ljava/lang/String;
official e
Lasl;e:Ljava/lang/String;
-
-
Constructor Details
-
ThrottledChunkTaskScheduler
public ThrottledChunkTaskScheduler(TaskExecutor<Runnable> executor, Executor dispatchExecutor, int maxConcurrentChunks) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/world/ThrottledChunkTaskScheduler;<init>(Lnet/minecraft/util/thread/TaskExecutor;Ljava/util/concurrent/Executor;I)V
intermediary <init>
Lnet/minecraft/class_10173;<init>(Lnet/minecraft/class_10178;Ljava/util/concurrent/Executor;I)V
official <init>
Lasl;<init>(Lbsd;Ljava/util/concurrent/Executor;I)V
-
-
Method Details
-
onRemove
protected void onRemove(long chunkPos) - Overrides:
onRemove
in classChunkTaskScheduler
- Mappings:
Namespace Name Mixin selector named onRemove
Lnet/minecraft/server/world/ChunkTaskScheduler;onRemove(J)V
intermediary method_63548
Lnet/minecraft/class_10171;method_63548(J)V
official a
Laro;a(J)V
-
poll
- Overrides:
poll
in classChunkTaskScheduler
- Mappings:
Namespace Name Mixin selector named poll
Lnet/minecraft/server/world/ChunkTaskScheduler;poll()Lnet/minecraft/server/world/LevelPrioritizedQueue$Entry;
intermediary method_63559
Lnet/minecraft/class_10171;method_63559()Lnet/minecraft/class_3899$class_10172;
official c
Laro;c()Larp$a;
-
schedule
- Overrides:
schedule
in classChunkTaskScheduler
- Mappings:
Namespace Name Mixin selector named schedule
Lnet/minecraft/server/world/ChunkTaskScheduler;schedule(Lnet/minecraft/server/world/LevelPrioritizedQueue$Entry;)V
intermediary method_63551
Lnet/minecraft/class_10171;method_63551(Lnet/minecraft/class_3899$class_10172;)V
official a
Laro;a(Larp$a;)V
-
toDumpString
- Mappings:
Namespace Name Mixin selector named toDumpString
Lnet/minecraft/server/world/ThrottledChunkTaskScheduler;toDumpString()Ljava/lang/String;
intermediary method_63565
Lnet/minecraft/class_10173;method_63565()Ljava/lang/String;
official d
Lasl;d()Ljava/lang/String;
-