Package net.minecraft.client.sound
Class Channel
java.lang.Object
net.minecraft.client.sound.Channel
@Environment(CLIENT) public class Channel extends Object
-
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
-
soundEngine
-
executor
-
-
Constructor Details
-
Channel
-
-
Method Details
-
createSource
-
execute
-
tick
public void tick() -
close
public void close()
-