Package net.minecraft.util.thread
Interface TaskExecutor<R extends Runnable>
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
ConsecutiveExecutor
,IntegratedServer
,MinecraftClient
,MinecraftDedicatedServer
,MinecraftServer
,PrioritizedConsecutiveExecutor
,ReentrantThreadExecutor
,ServerChunkManager.MainThreadExecutor
,SimpleConsecutiveExecutor
,SoundExecutor
,TestServer
,ThreadExecutor
- Mappings:
Namespace Name named net/minecraft/util/thread/TaskExecutor
intermediary net/minecraft/class_10178
official bsd
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
createTask
(Runnable runnable) default <Source> CompletableFuture
<Source> executeAsync
(Consumer<CompletableFuture<Source>> future) getName()
static TaskExecutor
<Runnable> void
-
Method Details
-
getName
String getName()- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/util/thread/TaskExecutor;getName()Ljava/lang/String;
intermediary method_16898
Lnet/minecraft/class_10178;method_16898()Ljava/lang/String;
official A_
Lbsd;A_()Ljava/lang/String;
-
send
- Mappings:
Namespace Name Mixin selector named send
Lnet/minecraft/util/thread/TaskExecutor;send(Ljava/lang/Runnable;)V
intermediary method_63588
Lnet/minecraft/class_10178;method_63588(Ljava/lang/Runnable;)V
official a_
Lbsd;a_(Ljava/lang/Runnable;)V
-
close
default void close()- Specified by:
close
in interfaceAutoCloseable
-
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;
-
executeAsync
- Mappings:
Namespace Name Mixin selector named executeAsync
Lnet/minecraft/util/thread/TaskExecutor;executeAsync(Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
intermediary method_63603
Lnet/minecraft/class_10178;method_63603(Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
official a
Lbsd;a(Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/util/thread/TaskExecutor;of(Ljava/lang/String;Ljava/util/concurrent/Executor;)Lnet/minecraft/util/thread/TaskExecutor;
intermediary method_63602
Lnet/minecraft/class_10178;method_63602(Ljava/lang/String;Ljava/util/concurrent/Executor;)Lnet/minecraft/class_10178;
official a
Lbsd;a(Ljava/lang/String;Ljava/util/concurrent/Executor;)Lbsd;
-