net.minecraft.client.sounds

public class SoundManager

extends SimplePreparableReloadListener<SoundManager$Preparations>

All mapped superinterfaces:

PreparableReloadListener

hjw
net.minecraft.client.sounds.SoundManager
net.minecraft.class_1144
net.minecraft.client.sound.SoundManager

Field summary

Modifier and TypeField
public static final ResourceLocation
a
EMPTY_SOUND_LOCATION
field_52173
EMPTY_ID
public static final Sound
b
EMPTY_SOUND
field_5592
MISSING_SOUND
public static final ResourceLocation
c
INTENTIONALLY_EMPTY_SOUND_LOCATION
field_42934
INTENTIONALLY_EMPTY_ID
public static final WeighedSoundEvents
d
INTENTIONALLY_EMPTY_SOUND_EVENT
field_42935
INTENTIONALLY_EMPTY_SOUND_SET
public static final Sound
e
INTENTIONALLY_EMPTY_SOUND
field_42936
INTENTIONALLY_EMPTY_SOUND
static final org.slf4j.Logger
f
LOGGER
field_5593
LOGGER
private static final String
g
SOUNDS_PATH
field_33026
SOUNDS_JSON
private static final com.google.gson.Gson
h
GSON
field_5594
GSON
private static final com.google.gson.reflect.TypeToken<Map<String, SoundEventRegistration>>
i
SOUND_EVENT_REGISTRATION_TYPE
field_5591
TYPE
private final Map<ResourceLocation, WeighedSoundEvents>
j
registry
field_5588
sounds
private final SoundEngine
k
soundEngine
field_5590
soundSystem
private final Map<ResourceLocation, Resource>
l
soundCache
field_40576
soundResources

Constructor summary

ModifierConstructor
public (Options gameOptions)

Method summary

Modifier and TypeMethod
protected SoundManager$Preparations
a(aup arg0, bou arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_18180(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
protected void
a(hjw$a arg0, aup arg1, bou arg2)
apply(SoundManager$Preparations arg0, ResourceManager arg1, ProfilerFiller arg2)
method_18182(class_1144$class_4009 arg0, class_3300 arg1, class_3695 arg2)
apply(SoundManager$SoundList arg0, ResourceManager arg1, Profiler arg2)
public List<String>
a()
getAvailableSoundDevices()
method_38565()
getSoundDevices()
public ListenerTransform
b()
getListenerTransform()
method_55593()
getListenerTransform()
static boolean
a(hin arg0, akv arg1, aus arg2)
validateSoundResource(Sound arg0, ResourceLocation arg1, ResourceProvider arg2)
method_4868(class_1111 arg0, class_2960 arg1, class_5912 arg2)
isSoundResourcePresent(Sound sound, Identifier id, ResourceFactory resourceFactory)
public WeighedSoundEvents
a(akv arg0)
getSoundEvent(ResourceLocation arg0)
method_4869(class_2960 arg0)
get(Identifier id)
public Collection<ResourceLocation>
d()
getAvailableSounds()
method_4864()
getKeys()
public void
a(hir arg0)
queueTickingSound(TickableSoundInstance arg0)
method_22140(class_1117 arg0)
playNextTick(TickableSoundInstance sound)
public void
a(hiq arg0)
play(SoundInstance arg0)
method_4873(class_1113 arg0)
play(SoundInstance sound)
public void
a(hiq arg0, int arg1)
playDelayed(SoundInstance arg0, int arg1)
method_4872(class_1113 arg0, int arg1)
play(SoundInstance sound, int delay)
public void
a(fks arg0)
updateSource(Camera arg0)
method_4876(class_4184 arg0)
updateListenerPosition(Camera camera)
public void
e()
pause()
method_4879()
pauseAll()
public void
f()
stop()
method_4881()
stopAll()
public void
g()
destroy()
method_4882()
close()
public void
h()
emergencyShutdown()
method_54649()
stopAbruptly()
public void
a(boolean arg0)
tick(boolean arg0)
method_18670(boolean arg0)
tick(boolean paused)
public void
i()
resume()
method_4880()
resumeAll()
public void
a(awb arg0, float arg1)
updateSourceVolume(SoundSource arg0, float arg1)
method_4865(class_3419 arg0, float arg1)
updateSoundVolume(SoundCategory category, float volume)
public void
b(hiq arg0)
stop(SoundInstance arg0)
method_4870(class_1113 arg0)
stop(SoundInstance sound)
public void
a(hiq arg0, float arg1)
setVolume(SoundInstance arg0, float arg1)
method_65258(class_1113 arg0, float arg1)
setVolume(SoundInstance sound, float volume)
public boolean
c(hiq arg0)
isActive(SoundInstance arg0)
method_4877(class_1113 arg0)
isPlaying(SoundInstance sound)
public void
a(hjv arg0)
addListener(SoundEventListener arg0)
method_4878(class_1145 arg0)
registerListener(SoundInstanceListener listener)
public void
b(hjv arg0)
removeListener(SoundEventListener arg0)
method_4866(class_1145 arg0)
unregisterListener(SoundInstanceListener listener)
public void
a(akv arg0, awb arg1)
stop(ResourceLocation arg0, SoundSource arg1)
method_4875(class_2960 arg0, class_3419 arg1)
stopSounds(Identifier id, SoundCategory soundCategory)
public String
j()
getDebugString()
method_20305()
getDebugString()
public void
k()
reload()
method_38566()
reloadSounds()