Package net.minecraft.client.sound
Class SoundExecutor
- All Implemented Interfaces:
AutoCloseable
,Executor
,SampleableExecutor
,TaskExecutor<Runnable>
- Mappings:
Namespace Name named net/minecraft/client/sound/SoundExecutor
intermediary net/minecraft/class_4238
official hgk
-
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) private Thread
protected Thread
void
restart()
private void
protected void
Methods inherited from class net.minecraft.util.thread.ThreadExecutor
cancelTasks, createSamplers, execute, executeSync, executeTask, getName, getTaskCount, isMemoryError, isOnThread, runTask, runTasks, runTasks, send, shouldExecuteAsync, submit, submit, submitAndJoin
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
-
Field Details
-
thread
- Mappings:
Namespace Name Mixin selector named thread
Lnet/minecraft/client/sound/SoundExecutor;thread:Ljava/lang/Thread;
intermediary field_18953
Lnet/minecraft/class_4238;field_18953:Ljava/lang/Thread;
official a
Lhgk;a:Ljava/lang/Thread;
-
stopped
private volatile boolean stopped- Mappings:
Namespace Name Mixin selector named stopped
Lnet/minecraft/client/sound/SoundExecutor;stopped:Z
intermediary field_18954
Lnet/minecraft/class_4238;field_18954:Z
official b
Lhgk;b:Z
-
-
Constructor Details
-
SoundExecutor
public SoundExecutor()
-
-
Method Details
-
createThread
- Mappings:
Namespace Name Mixin selector named createThread
Lnet/minecraft/client/sound/SoundExecutor;createThread()Ljava/lang/Thread;
intermediary method_19764
Lnet/minecraft/class_4238;method_19764()Ljava/lang/Thread;
official b
Lhgk;b()Ljava/lang/Thread;
-
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
-
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;
-
waitForStop
private void waitForStop()- Mappings:
Namespace Name Mixin selector named waitForStop
Lnet/minecraft/client/sound/SoundExecutor;waitForStop()V
intermediary method_19765
Lnet/minecraft/class_4238;method_19765()V
official c
Lhgk;c()V
-
waitForTasks
protected void waitForTasks()- Overrides:
waitForTasks
in classThreadExecutor<Runnable>
- Mappings:
Namespace Name Mixin selector named waitForTasks
Lnet/minecraft/util/thread/ThreadExecutor;waitForTasks()V
intermediary method_20813
Lnet/minecraft/class_1255;method_20813()V
official A
Lbrx;A()V
-
restart
public void restart()- Mappings:
Namespace Name Mixin selector named restart
Lnet/minecraft/client/sound/SoundExecutor;restart()V
intermediary method_19763
Lnet/minecraft/class_4238;method_19763()V
official a
Lhgk;a()V
-