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 gty
  • 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 Lgty;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 Lgty;b:Leyk;
    • 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 Lgty;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> Lgty;<init>(Leyk;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 Lgty;a(Leyk$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 Lgty;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 Lgty;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 Lgty;b()V