net.minecraft.client.sounds

public class SoundBufferLibrary

hgj
net.minecraft.client.sounds.SoundBufferLibrary
net.minecraft.class_4237
net.minecraft.client.sound.SoundLoader

Field summary

Modifier and TypeField
private final ResourceProvider
a
resourceManager
field_18943
resourceFactory
private final Map<ResourceLocation, CompletableFuture<SoundBuffer>>
b
cache
field_18944
loadedSounds

Constructor summary

ModifierConstructor
public (ResourceProvider resourceFactory)

Method summary

Modifier and TypeMethod
public CompletableFuture<SoundBuffer>
a(alz arg0)
getCompleteBuffer(ResourceLocation arg0)
method_19743(class_2960 arg0)
loadStatic(Identifier id)
public CompletableFuture<AudioStream>
a(alz arg0, boolean arg1)
getStream(ResourceLocation arg0, boolean arg1)
method_19744(class_2960 arg0, boolean arg1)
loadStreamed(Identifier id, boolean repeatInstantly)
public void
a()
clear()
method_19738()
close()
public CompletableFuture<?>
a(Collection<hff> arg0)
preload(Collection<Sound> arg0)
method_19741(Collection<class_1111> arg0)
loadStatic(Collection<Sound> sounds)