Class Channel

java.lang.Object
net.minecraft.client.sound.Channel

@Environment(CLIENT) public class Channel extends Object
Mappings:
Namespace Name
official flu
intermediary net/minecraft/class_4235
named net/minecraft/client/sound/Channel
  • Field Details

    • sources

      private final Set<Channel.SourceManager> sources
      Mappings:
      Namespace Name Mixin selector
      official a Lflu;a:Ljava/util/Set;
      intermediary field_18937 Lnet/minecraft/class_4235;field_18937:Ljava/util/Set;
      named sources Lnet/minecraft/client/sound/Channel;sources:Ljava/util/Set;
    • soundEngine

      final SoundEngine soundEngine
      Mappings:
      Namespace Name Mixin selector
      official b Lflu;b:Ldxp;
      intermediary field_18938 Lnet/minecraft/class_4235;field_18938:Lnet/minecraft/class_4225;
      named soundEngine Lnet/minecraft/client/sound/Channel;soundEngine:Lnet/minecraft/client/sound/SoundEngine;
    • executor

      final Executor executor
      Mappings:
      Namespace Name Mixin selector
      official c Lflu;c:Ljava/util/concurrent/Executor;
      intermediary field_18939 Lnet/minecraft/class_4235;field_18939:Ljava/util/concurrent/Executor;
      named executor Lnet/minecraft/client/sound/Channel;executor:Ljava/util/concurrent/Executor;
  • Constructor Details

    • Channel

      public Channel(SoundEngine soundEngine, Executor executor)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lflu;<init>(Ldxp;Ljava/util/concurrent/Executor;)V
      intermediary <init> Lnet/minecraft/class_4235;<init>(Lnet/minecraft/class_4225;Ljava/util/concurrent/Executor;)V
      named <init> Lnet/minecraft/client/sound/Channel;<init>(Lnet/minecraft/client/sound/SoundEngine;Ljava/util/concurrent/Executor;)V
  • Method Details

    • createSource

      Mappings:
      Namespace Name Mixin selector
      official a Lflu;a(Ldxp$c;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_19723 Lnet/minecraft/class_4235;method_19723(Lnet/minecraft/class_4225$class_4105;)Ljava/util/concurrent/CompletableFuture;
      named createSource Lnet/minecraft/client/sound/Channel;createSource(Lnet/minecraft/client/sound/SoundEngine$RunMode;)Ljava/util/concurrent/CompletableFuture;
    • execute

      public void execute(Consumer<Stream<Source>> sourcesConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lflu;a(Ljava/util/function/Consumer;)V
      intermediary method_19727 Lnet/minecraft/class_4235;method_19727(Ljava/util/function/Consumer;)V
      named execute Lnet/minecraft/client/sound/Channel;execute(Ljava/util/function/Consumer;)V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official a Lflu;a()V
      intermediary method_19722 Lnet/minecraft/class_4235;method_19722()V
      named tick Lnet/minecraft/client/sound/Channel;tick()V
    • close

      public void close()
      Mappings:
      Namespace Name Mixin selector
      official b Lflu;b()V
      intermediary method_19728 Lnet/minecraft/class_4235;method_19728()V
      named close Lnet/minecraft/client/sound/Channel;close()V