Class SoundBufferLibrary
java.lang.Object
net.minecraft.client.sounds.SoundBufferLibrary
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<Identifier, CompletableFuture<SoundBuffer>> private final ResourceProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidenumerate(SoundBufferLibrary.DebugOutput debugOutput) getCompleteBuffer(Identifier location) getStream(Identifier location, boolean looping) preload(Collection<Sound> sounds)
-
Field Details
-
resourceManager
-
cache
-
-
Constructor Details
-
SoundBufferLibrary
-
-
Method Details
-
getCompleteBuffer
-
getStream
-
clear
public void clear() -
preload
-
enumerate
-