net.minecraft.client.sounds

public class SoundManager

extends SimplePreparableReloadListener<SoundManager$Preparations>

All mapped superinterfaces:

PreparableReloadListener

fep
net.minecraft.client.sounds.SoundManager
net.minecraft.class_1144
net.minecraft.unmapped.C_hfmtwavd
net.minecraft.client.sound.SoundManager
net.minecraft.client.sound.SoundManager
net.minecraft.src.C_4603_

Field summary

Modifier and TypeField
public static final Sound
a
EMPTY_SOUND
field_5592
f_hhhykjqi
MISSING_SOUND
MISSING_SOUND
f_120344_
static final org.slf4j.Logger
b
LOGGER
field_5593
f_ogjcdvst
LOGGER
LOGGER
f_120345_
private static final String
c
SOUNDS_PATH
field_33026
f_trlbjhvs
SOUNDS_JSON
SOUNDS_JSON
f_174997_
private static final com.google.gson.Gson
d
GSON
field_5594
f_fqbriqec
GSON
GSON
f_120346_
private static final com.google.gson.reflect.TypeToken<Map<String, SoundEventRegistration>>
e
SOUND_EVENT_REGISTRATION_TYPE
field_5591
f_rhathvjq
TYPE
TYPE
f_120347_
private final Map<ResourceLocation, WeighedSoundEvents>
f
registry
field_5588
f_jccmizbj
sounds
sounds
f_120348_
private final SoundEngine
g
soundEngine
field_5590
f_qnxjfugd
soundSystem
soundSystem
f_120349_

Constructor summary

ModifierConstructor
public (ResourceManager resourceManager, Options gameOptions)

Method summary

Modifier and TypeMethod
protected SoundManager$Preparations
a(aga arg0, asy arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_18180(class_3300 arg0, class_3695 arg1)
m_mbrtaeux(C_tmnrpasf arg0, C_eslcbfsq arg1)
prepare(ResourceManager arg0, Profiler arg1)
prepare(ResourceManager arg0, Profiler arg1)
m_5944_(C_77_ p_120357_, C_442_ arg1)
protected void
a(fep$a arg0, aga arg1, asy arg2)
apply(SoundManager$Preparations arg0, ResourceManager arg1, ProfilerFiller arg2)
method_18182(class_1144$class_4009 arg0, class_3300 arg1, class_3695 arg2)
m_wrtaoxky(C_hfmtwavd$C_cwtdyuyd arg0, C_tmnrpasf arg1, C_eslcbfsq arg2)
apply(SoundManager$SoundList arg0, ResourceManager arg1, Profiler arg2)
apply(SoundManager$SoundList arg0, ResourceManager arg1, Profiler arg2)
m_5787_(C_4603_$C_4606_ p_120378_, C_77_ p_120379_, C_442_ arg2)
public List<String>
a()
getAvailableSoundDevices()
method_38565()
m_vbfrhots()
getSoundDevices()
getAudioDevices()
m_194525_()
static boolean
a(fdm arg0, yt arg1, aga arg2)
validateSoundResource(Sound arg0, ResourceLocation arg1, ResourceManager arg2)
method_4868(class_1111 arg0, class_2960 arg1, class_3300 arg2)
m_lehpooor(C_ranpgzkp arg0, C_ncpywfca arg1, C_tmnrpasf arg2)
isSoundResourcePresent(Sound sound, Identifier id, ResourceManager resourceManager)
isSoundResourcePresent(Sound sound, Identifier id, ResourceManager resourceManager)
m_120395_(C_4562_ p_120396_, C_5265_ p_120397_, C_77_ p_120398_)
public WeighedSoundEvents
a(yt arg0)
getSoundEvent(ResourceLocation arg0)
method_4869(class_2960 arg0)
m_rbadpgdc(C_ncpywfca arg0)
get(Identifier id)
get(Identifier id)
m_120384_(C_5265_ arg0)
public Collection<ResourceLocation>
b()
getAvailableSounds()
method_4864()
m_arsfsqit()
getKeys()
getKeys()
m_120354_()
public void
a(fdq arg0)
queueTickingSound(TickableSoundInstance arg0)
method_22140(class_1117 arg0)
m_mgfhyrmt(C_juuahjvj arg0)
playNextTick(TickableSoundInstance sound)
playNextTick(TickableSoundInstance sound)
m_120372_(C_4568_ arg0)
public void
a(fdp arg0)
play(SoundInstance arg0)
method_4873(class_1113 arg0)
m_pooddtvg(C_uoilbcii arg0)
play(SoundInstance sound)
play(SoundInstance sound)
m_120367_(C_4566_ arg0)
public void
a(fdp arg0, int arg1)
playDelayed(SoundInstance arg0, int arg1)
method_4872(class_1113 arg0, int arg1)
m_qxagjxcb(C_uoilbcii arg0, int arg1)
play(SoundInstance sound, int delay)
play(SoundInstance sound, int delay)
m_120369_(C_4566_ p_120371_, int arg1)
public void
a(dyb arg0)
updateSource(Camera arg0)
method_4876(class_4184 arg0)
m_nogtggyc(C_dcmtgrvm arg0)
updateListenerPosition(Camera camera)
updateListenerPosition(Camera camera)
m_120361_(C_3373_ arg0)
public void
d()
pause()
method_4879()
m_hqmanxhu()
pauseAll()
pauseAll()
m_120391_()
public void
e()
stop()
method_4881()
m_rtfydyns()
stopAll()
stopAll()
m_120405_()
public void
f()
destroy()
method_4882()
m_xesyenfb()
close()
close()
m_120406_()
public void
a(boolean arg0)
tick(boolean arg0)
method_18670(boolean arg0)
m_kqwlzxnf(boolean arg0)
tick(boolean paused)
tick(boolean arg0)
m_120389_(boolean arg0)
public void
g()
resume()
method_4880()
m_mmgageef()
resumeAll()
resumeAll()
m_120407_()
public void
a(ahl arg0, float arg1)
updateSourceVolume(SoundSource arg0, float arg1)
method_4865(class_3419 arg0, float arg1)
m_dntrwbto(C_pqzizukq arg0, float arg1)
updateSoundVolume(SoundCategory category, float volume)
updateSoundVolume(SoundCategory category, float volume)
m_120358_(C_125_ p_120360_, float arg1)
public void
b(fdp arg0)
stop(SoundInstance arg0)
method_4870(class_1113 arg0)
m_yasppjdx(C_uoilbcii arg0)
stop(SoundInstance sound)
stop(SoundInstance sound)
m_120399_(C_4566_ arg0)
public boolean
c(fdp arg0)
isActive(SoundInstance arg0)
method_4877(class_1113 arg0)
m_mkiowrsl(C_uoilbcii arg0)
isPlaying(SoundInstance sound)
isPlaying(SoundInstance sound)
m_120403_(C_4566_ arg0)
public void
a(feo arg0)
addListener(SoundEventListener arg0)
method_4878(class_1145 arg0)
m_xjeajjgm(C_jptxtfxt arg0)
registerListener(SoundInstanceListener listener)
registerListener(SoundInstanceListener listener)
m_120374_(C_4602_ arg0)
public void
b(feo arg0)
removeListener(SoundEventListener arg0)
method_4866(class_1145 arg0)
m_dtlqceqx(C_jptxtfxt arg0)
unregisterListener(SoundInstanceListener listener)
unregisterListener(SoundInstanceListener listener)
m_120401_(C_4602_ arg0)
public void
a(yt arg0, ahl arg1)
stop(ResourceLocation arg0, SoundSource arg1)
method_4875(class_2960 arg0, class_3419 arg1)
m_wvqbmtvr(C_ncpywfca arg0, C_pqzizukq arg1)
stopSounds(Identifier id, SoundCategory soundCategory)
stopSounds(Identifier id, SoundCategory soundCategory)
m_120386_(C_5265_ p_120388_, C_125_ arg1)
public String
h()
getDebugString()
method_20305()
m_uuimhnvn()
getDebugString()
getDebugString()
m_120408_()
public void
i()
reload()
method_38566()
m_cqqjitjf()
reloadSounds()
reloadSounds()
m_194526_()