类 SoundExecutor
- java.lang.Object
-
- net.minecraft.util.thread.ThreadExecutor<Runnable>
-
- net.minecraft.client.sound.SoundExecutor
-
- 所有已实现的接口:
AutoCloseable,Executor,MetricSamplerSupplier,MessageListener<Runnable>
@Environment(CLIENT) public class SoundExecutor extends ThreadExecutor<Runnable>
- Mappings:
Namespace Name official ezsintermediary net/minecraft/class_4238named net/minecraft/client/sound/SoundExecutor
-
-
构造器概要
构造器 构造器 说明 SoundExecutor()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected booleancanExecute(Runnable task)protected RunnablecreateTask(Runnable runnable)private ThreadcreateThread()protected ThreadgetThread()voidrestart()private voidwaitForStop()protected voidwaitForTasks()-
从类继承的方法 net.minecraft.util.thread.ThreadExecutor
cancelTasks, execute, executeTask, getName, getSamplers, getTaskCount, isOnThread, runTask, runTasks, runTasks, send, shouldExecuteAsync, submit, submit, submitAndJoin
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.util.thread.MessageListener
ask, askFallible, close
-
-
-
-
字段详细资料
-
thread
private Thread thread
- Mappings:
Namespace Name Mixin selector official aLezs;a:Ljava/lang/Thread;intermediary field_18953Lnet/minecraft/class_4238;field_18953:Ljava/lang/Thread;named threadLnet/minecraft/client/sound/SoundExecutor;thread:Ljava/lang/Thread;
-
stopped
private volatile boolean stopped
- Mappings:
Namespace Name Mixin selector official bLezs;b:Zintermediary field_18954Lnet/minecraft/class_4238;field_18954:Znamed stoppedLnet/minecraft/client/sound/SoundExecutor;stopped:Z
-
-
方法详细资料
-
createThread
private Thread createThread()
- Mappings:
Namespace Name Mixin selector official bLezs;b()Ljava/lang/Thread;intermediary method_19764Lnet/minecraft/class_4238;method_19764()Ljava/lang/Thread;named createThreadLnet/minecraft/client/sound/SoundExecutor;createThread()Ljava/lang/Thread;
-
createTask
protected Runnable createTask(Runnable runnable)
- 指定者:
createTask在类中ThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector official eLaqc;e(Ljava/lang/Runnable;)Ljava/lang/Runnable;intermediary method_16211Lnet/minecraft/class_1255;method_16211(Ljava/lang/Runnable;)Ljava/lang/Runnable;named createTaskLnet/minecraft/util/thread/ThreadExecutor;createTask(Ljava/lang/Runnable;)Ljava/lang/Runnable;
-
canExecute
protected boolean canExecute(Runnable task)
- 指定者:
canExecute在类中ThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector official dLaqc;d(Ljava/lang/Runnable;)Zintermediary method_18856Lnet/minecraft/class_1255;method_18856(Ljava/lang/Runnable;)Znamed canExecuteLnet/minecraft/util/thread/ThreadExecutor;canExecute(Ljava/lang/Runnable;)Z
-
getThread
protected Thread getThread()
- 指定者:
getThread在类中ThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector official auLaqc;au()Ljava/lang/Thread;intermediary method_3777Lnet/minecraft/class_1255;method_3777()Ljava/lang/Thread;named getThreadLnet/minecraft/util/thread/ThreadExecutor;getThread()Ljava/lang/Thread;
-
waitForStop
private void waitForStop()
- Mappings:
Namespace Name Mixin selector official cLezs;c()Vintermediary method_19765Lnet/minecraft/class_4238;method_19765()Vnamed waitForStopLnet/minecraft/client/sound/SoundExecutor;waitForStop()V
-
waitForTasks
protected void waitForTasks()
- 覆盖:
waitForTasks在类中ThreadExecutor<Runnable>- Mappings:
Namespace Name Mixin selector official boLaqc;bo()Vintermediary method_20813Lnet/minecraft/class_1255;method_20813()Vnamed waitForTasksLnet/minecraft/util/thread/ThreadExecutor;waitForTasks()V
-
restart
public void restart()
- Mappings:
Namespace Name Mixin selector official aLezs;a()Vintermediary method_19763Lnet/minecraft/class_4238;method_19763()Vnamed restartLnet/minecraft/client/sound/SoundExecutor;restart()V
-
-