Package net.minecraft.server.world
Class ServerChunkManager.MainThreadExecutor
java.lang.Object
net.minecraft.util.thread.ThreadExecutor<Runnable>
net.minecraft.server.world.ServerChunkManager.MainThreadExecutor
- All Implemented Interfaces:
AutoCloseable
,Executor
,SampleableExecutor
,TaskExecutor<Runnable>
- Enclosing class:
ServerChunkManager
- Mappings:
Namespace Name named net/minecraft/server/world/ServerChunkManager$MainThreadExecutor
intermediary net/minecraft/class_3215$class_4212
official ase$b
-
Field Summary
Fields inherited from class net.minecraft.util.thread.ThreadExecutor
field_52421
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canExecute
(Runnable task) createTask
(Runnable runnable) protected void
executeTask
(Runnable task) protected Thread
protected boolean
runTask()
void
runTasks
(BooleanSupplier stopCondition) protected boolean
Methods inherited from class net.minecraft.util.thread.ThreadExecutor
cancelTasks, createSamplers, execute, executeSync, getName, getTaskCount, isMemoryError, isOnThread, runTasks, send, submit, submit, submitAndJoin, waitForTasks
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.util.thread.TaskExecutor
close, executeAsync
-
Constructor Details
-
MainThreadExecutor
MainThreadExecutor(World world) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/world/ServerChunkManager$MainThreadExecutor;<init>(Lnet/minecraft/server/world/ServerChunkManager;Lnet/minecraft/world/World;)V
intermediary <init>
Lnet/minecraft/class_3215$class_4212;<init>(Lnet/minecraft/class_3215;Lnet/minecraft/class_1937;)V
official <init>
Lase$b;<init>(Lase;Ldhh;)V
-
-
Method Details
-
runTasks
- Overrides:
runTasks
in classThreadExecutor<Runnable>
- Mappings:
Namespace Name Mixin selector named runTasks
Lnet/minecraft/util/thread/ThreadExecutor;runTasks(Ljava/util/function/BooleanSupplier;)V
intermediary method_18857
Lnet/minecraft/class_1255;method_18857(Ljava/util/function/BooleanSupplier;)V
official b
Lbrx;b(Ljava/util/function/BooleanSupplier;)V
-
createTask
- Mappings:
Namespace Name Mixin selector named createTask
Lnet/minecraft/util/thread/TaskExecutor;createTask(Ljava/lang/Runnable;)Ljava/lang/Runnable;
intermediary method_16211
Lnet/minecraft/class_10178;method_16211(Ljava/lang/Runnable;)Ljava/lang/Runnable;
official f
Lbsd;f(Ljava/lang/Runnable;)Ljava/lang/Runnable;
-
canExecute
- Specified by:
canExecute
in classThreadExecutor<Runnable>
- Mappings:
Namespace Name Mixin selector named canExecute
Lnet/minecraft/util/thread/ThreadExecutor;canExecute(Ljava/lang/Runnable;)Z
intermediary method_18856
Lnet/minecraft/class_1255;method_18856(Ljava/lang/Runnable;)Z
official e
Lbrx;e(Ljava/lang/Runnable;)Z
-
shouldExecuteAsync
protected boolean shouldExecuteAsync()- Overrides:
shouldExecuteAsync
in classThreadExecutor<Runnable>
- Mappings:
Namespace Name Mixin selector named shouldExecuteAsync
Lnet/minecraft/util/thread/ThreadExecutor;shouldExecuteAsync()Z
intermediary method_5384
Lnet/minecraft/class_1255;method_5384()Z
official ax
Lbrx;ax()Z
-
getThread
- Specified by:
getThread
in classThreadExecutor<Runnable>
- Mappings:
Namespace Name Mixin selector named getThread
Lnet/minecraft/util/thread/ThreadExecutor;getThread()Ljava/lang/Thread;
intermediary method_3777
Lnet/minecraft/class_1255;method_3777()Ljava/lang/Thread;
official ay
Lbrx;ay()Ljava/lang/Thread;
-
executeTask
- Overrides:
executeTask
in classThreadExecutor<Runnable>
- Mappings:
Namespace Name Mixin selector named executeTask
Lnet/minecraft/util/thread/ThreadExecutor;executeTask(Ljava/lang/Runnable;)V
intermediary method_18859
Lnet/minecraft/class_1255;method_18859(Ljava/lang/Runnable;)V
official d
Lbrx;d(Ljava/lang/Runnable;)V
-
runTask
protected boolean runTask()- Overrides:
runTask
in classThreadExecutor<Runnable>
- Mappings:
Namespace Name Mixin selector named runTask
Lnet/minecraft/util/thread/ThreadExecutor;runTask()Z
intermediary method_16075
Lnet/minecraft/class_1255;method_16075()Z
official B
Lbrx;B()Z
-