Package net.minecraft.client.sound
Class SoundExecutor
- All Implemented Interfaces:
AutoCloseable,Executor,SampleableExecutor,TaskExecutor<Runnable>
- Mappings:
Namespace Name named net/minecraft/client/sound/SoundExecutorintermediary net/minecraft/class_4238official iho
-
Field Summary
FieldsFields inherited from class net.minecraft.util.thread.ThreadExecutor
field_52421 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanExecute(Runnable task) createTask(Runnable runnable) private Threadprotected Threadvoidrestart()voidvoidstop()private voidprotected voidMethods inherited from class net.minecraft.util.thread.ThreadExecutor
cancelTasks, createSamplers, execute, executeSync, executeTask, getName, getTaskCount, isExecutionInProgress, isMemoryError, isOnThread, runTask, runTasks, runTasks, shouldExecuteAsync, submit, submit, submitAndJoinMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.thread.TaskExecutor
close, executeAsync
-
Field Details
-
thread
- Mappings:
Namespace Name Mixin selector named threadLnet/minecraft/client/sound/SoundExecutor;thread:Ljava/lang/Thread;intermediary field_18953Lnet/minecraft/class_4238;field_18953:Ljava/lang/Thread;official aLiho;a:Ljava/lang/Thread;
-
stopped
private volatile boolean stopped- Mappings:
Namespace Name Mixin selector named stoppedLnet/minecraft/client/sound/SoundExecutor;stopped:Zintermediary field_18954Lnet/minecraft/class_4238;field_18954:Zofficial bLiho;b:Z
-
-
Constructor Details
-
SoundExecutor
public SoundExecutor()
-
-
Method Details
-
createThread
- Mappings:
Namespace Name Mixin selector named createThreadLnet/minecraft/client/sound/SoundExecutor;createThread()Ljava/lang/Thread;intermediary method_19764Lnet/minecraft/class_4238;method_19764()Ljava/lang/Thread;official cLiho;c()Ljava/lang/Thread;
-
createTask
- Mappings:
Namespace Name Mixin selector named createTaskLnet/minecraft/util/thread/TaskExecutor;createTask(Ljava/lang/Runnable;)Ljava/lang/Runnable;intermediary method_16211Lnet/minecraft/class_10178;method_16211(Ljava/lang/Runnable;)Ljava/lang/Runnable;official fLcal;f(Ljava/lang/Runnable;)Ljava/lang/Runnable;
-
send
- Specified by:
sendin interfaceTaskExecutor<Runnable>- Overrides:
sendin classThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector named sendLnet/minecraft/util/thread/TaskExecutor;send(Ljava/lang/Runnable;)Vintermediary method_63588Lnet/minecraft/class_10178;method_63588(Ljava/lang/Runnable;)Vofficial a_Lcal;a_(Ljava/lang/Runnable;)V
-
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 eLcae;e(Ljava/lang/Runnable;)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 aALcae;aA()Ljava/lang/Thread;
-
waitForStop
private void waitForStop()- Mappings:
Namespace Name Mixin selector named waitForStopLnet/minecraft/client/sound/SoundExecutor;waitForStop()Vintermediary method_19765Lnet/minecraft/class_4238;method_19765()Vofficial dLiho;d()V
-
waitForTasks
protected void waitForTasks()- Overrides:
waitForTasksin classThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector named waitForTasksLnet/minecraft/util/thread/ThreadExecutor;waitForTasks()Vintermediary method_20813Lnet/minecraft/class_1255;method_20813()Vofficial FLcae;F()V
-
stop
public void stop()- Mappings:
Namespace Name Mixin selector named stopLnet/minecraft/client/sound/SoundExecutor;stop()Vintermediary method_19763Lnet/minecraft/class_4238;method_19763()Vofficial aLiho;a()V
-
restart
public void restart()- Mappings:
Namespace Name Mixin selector named restartLnet/minecraft/client/sound/SoundExecutor;restart()Vintermediary method_74408Lnet/minecraft/class_4238;method_74408()Vofficial bLiho;b()V
-