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 - official - age$b- intermediary - net/minecraft/class_3215$class_4212- named - net/minecraft/server/world/ServerChunkManager$MainThreadExecutor
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleancanExecute(Runnable task) protected RunnablecreateTask(Runnable runnable) protected voidexecuteTask(Runnable task) protected Threadprotected booleanrunTask()protected booleanMethods inherited from class net.minecraft.util.thread.ThreadExecutorcancelTasks, createSamplers, execute, executeSync, getName, getTaskCount, isOnThread, runTasks, runTasks, send, submit, submit, submitAndJoin, waitForTasksMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.thread.MessageListenerask, askFallible, close
- 
Constructor Details- 
MainThreadExecutorMainThreadExecutor(World world) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lage$b;<init>(Lage;Lcgx;)V- intermediary - <init>- Lnet/minecraft/class_3215$class_4212;<init>(Lnet/minecraft/class_3215;Lnet/minecraft/class_1937;)V- named - <init>- Lnet/minecraft/server/world/ServerChunkManager$MainThreadExecutor;<init>(Lnet/minecraft/server/world/ServerChunkManager;Lnet/minecraft/world/World;)V
 
 
- 
- 
Method Details- 
createTask- Specified by:
- createTaskin class- ThreadExecutor<Runnable>
- Mappings:
- Namespace - Name - Mixin selector - official - f- Layz;f(Ljava/lang/Runnable;)Ljava/lang/Runnable;- intermediary - method_16211- Lnet/minecraft/class_1255;method_16211(Ljava/lang/Runnable;)Ljava/lang/Runnable;- named - createTask- Lnet/minecraft/util/thread/ThreadExecutor;createTask(Ljava/lang/Runnable;)Ljava/lang/Runnable;
 
- 
canExecute- Specified by:
- canExecutein class- ThreadExecutor<Runnable>
- Mappings:
- Namespace - Name - Mixin selector - official - e- Layz;e(Ljava/lang/Runnable;)Z- intermediary - method_18856- Lnet/minecraft/class_1255;method_18856(Ljava/lang/Runnable;)Z- named - canExecute- Lnet/minecraft/util/thread/ThreadExecutor;canExecute(Ljava/lang/Runnable;)Z
 
- 
shouldExecuteAsyncprotected boolean shouldExecuteAsync()- Overrides:
- shouldExecuteAsyncin class- ThreadExecutor<Runnable>
- Mappings:
- Namespace - Name - Mixin selector - official - at- Layz;at()Z- intermediary - method_5384- Lnet/minecraft/class_1255;method_5384()Z- named - shouldExecuteAsync- Lnet/minecraft/util/thread/ThreadExecutor;shouldExecuteAsync()Z
 
- 
getThread- Specified by:
- getThreadin class- ThreadExecutor<Runnable>
- Mappings:
- Namespace - Name - Mixin selector - official - au- Layz;au()Ljava/lang/Thread;- intermediary - method_3777- Lnet/minecraft/class_1255;method_3777()Ljava/lang/Thread;- named - getThread- Lnet/minecraft/util/thread/ThreadExecutor;getThread()Ljava/lang/Thread;
 
- 
executeTask- Overrides:
- executeTaskin class- ThreadExecutor<Runnable>
- Mappings:
- Namespace - Name - Mixin selector - official - d- Layz;d(Ljava/lang/Runnable;)V- intermediary - method_18859- Lnet/minecraft/class_1255;method_18859(Ljava/lang/Runnable;)V- named - executeTask- Lnet/minecraft/util/thread/ThreadExecutor;executeTask(Ljava/lang/Runnable;)V
 
- 
runTaskprotected boolean runTask()- Overrides:
- runTaskin class- ThreadExecutor<Runnable>
- Mappings:
- Namespace - Name - Mixin selector - official - x- Layz;x()Z- intermediary - method_16075- Lnet/minecraft/class_1255;method_16075()Z- named - runTask- Lnet/minecraft/util/thread/ThreadExecutor;runTask()Z
 
 
-