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,MessageListener<Runnable>,SampleableExecutor
- Enclosing class:
ServerChunkManager
- Mappings:
Namespace Name named net/minecraft/server/world/ServerChunkManager$MainThreadExecutorintermediary net/minecraft/class_3215$class_4212official aqs$b
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanExecute(Runnable task) protected RunnablecreateTask(Runnable runnable) protected voidexecuteTask(Runnable task) protected Threadprotected booleanrunTask()voidrunTasks(BooleanSupplier stopCondition) protected booleanMethods inherited from class net.minecraft.util.thread.ThreadExecutor
cancelTasks, createSamplers, execute, executeSync, getName, getTaskCount, isOnThread, runTasks, send, submit, submit, submitAndJoin, waitForTasksMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.thread.MessageListener
ask, askFallible, close
-
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;)Vintermediary <init>Lnet/minecraft/class_3215$class_4212;<init>(Lnet/minecraft/class_3215;Lnet/minecraft/class_1937;)Vofficial <init>Laqs$b;<init>(Laqs;Ldcw;)V
-
-
Method Details
-
runTasks
- Overrides:
runTasksin classThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector named runTasksLnet/minecraft/util/thread/ThreadExecutor;runTasks(Ljava/util/function/BooleanSupplier;)Vintermediary method_18857Lnet/minecraft/class_1255;method_18857(Ljava/util/function/BooleanSupplier;)Vofficial bLbph;b(Ljava/util/function/BooleanSupplier;)V
-
createTask
- Specified by:
createTaskin classThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector named createTaskLnet/minecraft/util/thread/ThreadExecutor;createTask(Ljava/lang/Runnable;)Ljava/lang/Runnable;intermediary method_16211Lnet/minecraft/class_1255;method_16211(Ljava/lang/Runnable;)Ljava/lang/Runnable;official fLbph;f(Ljava/lang/Runnable;)Ljava/lang/Runnable;
-
canExecute
- Specified by:
canExecutein classThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector named canExecuteLnet/minecraft/util/thread/ThreadExecutor;canExecute(Ljava/lang/Runnable;)Zintermediary method_18856Lnet/minecraft/class_1255;method_18856(Ljava/lang/Runnable;)Zofficial eLbph;e(Ljava/lang/Runnable;)Z
-
shouldExecuteAsync
protected boolean shouldExecuteAsync()- Overrides:
shouldExecuteAsyncin classThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector named shouldExecuteAsyncLnet/minecraft/util/thread/ThreadExecutor;shouldExecuteAsync()Zintermediary method_5384Lnet/minecraft/class_1255;method_5384()Zofficial ayLbph;ay()Z
-
getThread
- Specified by:
getThreadin classThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector named getThreadLnet/minecraft/util/thread/ThreadExecutor;getThread()Ljava/lang/Thread;intermediary method_3777Lnet/minecraft/class_1255;method_3777()Ljava/lang/Thread;official azLbph;az()Ljava/lang/Thread;
-
executeTask
- Overrides:
executeTaskin classThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector named executeTaskLnet/minecraft/util/thread/ThreadExecutor;executeTask(Ljava/lang/Runnable;)Vintermediary method_18859Lnet/minecraft/class_1255;method_18859(Ljava/lang/Runnable;)Vofficial dLbph;d(Ljava/lang/Runnable;)V
-
runTask
protected boolean runTask()- Overrides:
runTaskin classThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector named runTaskLnet/minecraft/util/thread/ThreadExecutor;runTask()Zintermediary method_16075Lnet/minecraft/class_1255;method_16075()Zofficial BLbph;B()Z
-