Package net.minecraft.client.sound
Class Channel
java.lang.Object
net.minecraft.client.sound.Channel
@Environment(CLIENT) public class Channel extends Object
- Mappings:
Namespace Name official evf
intermediary net/minecraft/class_4235
named net/minecraft/client/sound/Channel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Channel.SourceManager
-
Field Summary
Fields Modifier and Type Field Description private Executor
executor
private SoundEngine
soundEngine
private Set<Channel.SourceManager>
sources
-
Constructor Summary
Constructors Constructor Description Channel(SoundEngine soundEngine, Executor executor)
-
Method Summary
Modifier and Type Method Description void
close()
CompletableFuture<Channel.SourceManager>
createSource(SoundEngine.RunMode mode)
void
execute(Consumer<Stream<Source>> consumer)
void
tick()
-
Field Details
-
sources
- Mappings:
Namespace Name Mixin selector official a
Levf;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
- Mappings:
Namespace Name Mixin selector official b
Levf;b:Ldka;
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
- Mappings:
Namespace Name Mixin selector official c
Levf;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
- Mappings:
Namespace Name Mixin selector official <init>
Levf;<init>(Ldka;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
Levf;a(Ldka$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
- Mappings:
Namespace Name Mixin selector official a
Levf;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
Levf;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
Levf;b()V
intermediary method_19728
Lnet/minecraft/class_4235;method_19728()V
named close
Lnet/minecraft/client/sound/Channel;close()V
-