Package net.minecraft.client.audio
Class ChannelManager
- java.lang.Object
-
- net.minecraft.client.audio.ChannelManager
-
public class ChannelManager extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ChannelManager.Entry
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<ChannelManager.Entry>
channels
private java.util.concurrent.Executor
executor
private SoundSystem
library
-
Constructor Summary
Constructors Constructor Description ChannelManager(SoundSystem p_i50894_1_, java.util.concurrent.Executor p_i50894_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
java.util.concurrent.CompletableFuture<ChannelManager.Entry>
createHandle(SoundSystem.Mode p_239534_1_)
void
executeOnChannels(java.util.function.Consumer<java.util.stream.Stream<SoundSource>> p_217897_1_)
void
scheduleTick()
-
-
-
Field Detail
-
channels
private final java.util.Set<ChannelManager.Entry> channels
-
library
private final SoundSystem library
-
executor
private final java.util.concurrent.Executor executor
-
-
Constructor Detail
-
ChannelManager
public ChannelManager(SoundSystem p_i50894_1_, java.util.concurrent.Executor p_i50894_2_)
-
-
Method Detail
-
createHandle
public java.util.concurrent.CompletableFuture<ChannelManager.Entry> createHandle(SoundSystem.Mode p_239534_1_)
-
executeOnChannels
public void executeOnChannels(java.util.function.Consumer<java.util.stream.Stream<SoundSource>> p_217897_1_)
-
scheduleTick
public void scheduleTick()
-
clear
public void clear()
-
-