Class SoundExecutor

java.lang.Object
net.minecraft.util.thread.ThreadExecutor<Runnable>
net.minecraft.client.sound.SoundExecutor
All Implemented Interfaces:
AutoCloseable, Executor, MessageListener<Runnable>, SampleableExecutor

@Environment(CLIENT) public class SoundExecutor extends ThreadExecutor<Runnable>
Mappings:
Namespace Name
official fyj
intermediary net/minecraft/class_4238
named net/minecraft/client/sound/SoundExecutor
  • Field Details

    • thread

      private Thread thread
      Mappings:
      Namespace Name Mixin selector
      official a Lfyj;a:Ljava/lang/Thread;
      intermediary field_18953 Lnet/minecraft/class_4238;field_18953:Ljava/lang/Thread;
      named thread Lnet/minecraft/client/sound/SoundExecutor;thread:Ljava/lang/Thread;
    • stopped

      private volatile boolean stopped
      Mappings:
      Namespace Name Mixin selector
      official b Lfyj;b:Z
      intermediary field_18954 Lnet/minecraft/class_4238;field_18954:Z
      named stopped Lnet/minecraft/client/sound/SoundExecutor;stopped:Z
  • Constructor Details

    • SoundExecutor

      public SoundExecutor()
  • Method Details

    • createThread

      private Thread createThread()
      Mappings:
      Namespace Name Mixin selector
      official b Lfyj;b()Ljava/lang/Thread;
      intermediary method_19764 Lnet/minecraft/class_4238;method_19764()Ljava/lang/Thread;
      named createThread Lnet/minecraft/client/sound/SoundExecutor;createThread()Ljava/lang/Thread;
    • createTask

      protected Runnable createTask(Runnable runnable)
      Specified by:
      createTask in class ThreadExecutor<Runnable>
      Mappings:
      Namespace Name Mixin selector
      official f Lbck;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

      protected boolean canExecute(Runnable task)
      Specified by:
      canExecute in class ThreadExecutor<Runnable>
      Mappings:
      Namespace Name Mixin selector
      official e Lbck;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
    • getThread

      protected Thread getThread()
      Specified by:
      getThread in class ThreadExecutor<Runnable>
      Mappings:
      Namespace Name Mixin selector
      official au Lbck;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;
    • waitForStop

      private void waitForStop()
      Mappings:
      Namespace Name Mixin selector
      official c Lfyj;c()V
      intermediary method_19765 Lnet/minecraft/class_4238;method_19765()V
      named waitForStop Lnet/minecraft/client/sound/SoundExecutor;waitForStop()V
    • waitForTasks

      protected void waitForTasks()
      Overrides:
      waitForTasks in class ThreadExecutor<Runnable>
      Mappings:
      Namespace Name Mixin selector
      official bq Lbck;bq()V
      intermediary method_20813 Lnet/minecraft/class_1255;method_20813()V
      named waitForTasks Lnet/minecraft/util/thread/ThreadExecutor;waitForTasks()V
    • restart

      public void restart()
      Mappings:
      Namespace Name Mixin selector
      official a Lfyj;a()V
      intermediary method_19763 Lnet/minecraft/class_4238;method_19763()V
      named restart Lnet/minecraft/client/sound/SoundExecutor;restart()V