类 SoundBufferLibrary
java.lang.Object
net.minecraft.client.sounds.SoundBufferLibrary
-
字段概要
字段修饰符和类型字段说明private final Map<ResourceLocation,
CompletableFuture<SoundBuffer>> private final ResourceProvider
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
clear()
getCompleteBuffer
(ResourceLocation pSoundID) getStream
(ResourceLocation pResourceLocation, boolean pIsWrapper) preload
(Collection<Sound> pSounds)
-
字段详细资料
-
resourceManager
-
cache
-
-
构造器详细资料
-
SoundBufferLibrary
-
-
方法详细资料
-
getCompleteBuffer
-
getStream
public CompletableFuture<AudioStream> getStream(ResourceLocation pResourceLocation, boolean pIsWrapper) -
clear
public void clear() -
preload
-