Class Channel

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

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

    • sources

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

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

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

    • Channel

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

    • createSource

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

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

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

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