net.minecraft.client.sounds

public class SoundManager

extends SimplePreparableReloadListener<SoundManager$Preparations>

All mapped superinterfaces:

PreparableReloadListener

gvf
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 ResourceLocation
a
EMPTY_SOUND_LOCATION
field_52173
f_warjjcxv
EMPTY_ID
MISSING_SOUND_ID
f_337413_
public static final Sound
b
EMPTY_SOUND
field_5592
f_hhhykjqi
MISSING_SOUND
MISSING_SOUND
f_120344_
public static final ResourceLocation
c
INTENTIONALLY_EMPTY_SOUND_LOCATION
field_42934
f_yhgwebxt
INTENTIONALLY_EMPTY_ID
INTENTIONALLY_EMPTY
f_271442_
public static final WeighedSoundEvents
d
INTENTIONALLY_EMPTY_SOUND_EVENT
field_42935
f_tylnnyei
INTENTIONALLY_EMPTY_SOUND_SET
INTENTIONALLY_EMPTY_SOUND_SET
f_271159_
public static final Sound
e
INTENTIONALLY_EMPTY_SOUND
field_42936
f_rduxssex
INTENTIONALLY_EMPTY_SOUND
INTENTIONALLY_EMPTY_SOUND
f_271451_
static final org.slf4j.Logger
f
LOGGER
field_5593
f_ogjcdvst
LOGGER
LOGGER
f_120345_
private static final String
g
SOUNDS_PATH
field_33026
f_trlbjhvs
SOUNDS_JSON
SOUNDS_JSON
f_174997_
private static final com.google.gson.Gson
h
GSON
field_5594
f_fqbriqec
GSON
GSON
f_120346_
private static final com.google.gson.reflect.TypeToken<Map<String, SoundEventRegistration>>
i
SOUND_EVENT_REGISTRATION_TYPE
field_5591
f_rhathvjq
TYPE
TYPE
f_120347_
private final Map<ResourceLocation, WeighedSoundEvents>
j
registry
field_5588
f_jccmizbj
sounds
sounds
f_120348_
private final SoundEngine
k
soundEngine
field_5590
f_qnxjfugd
soundSystem
soundSystem
f_120349_
private final Map<ResourceLocation, Resource>
l
soundCache
field_40576
f_onihgyzn
soundResources
soundCache
f_244170_

Constructor summary

ModifierConstructor
public (Options gameOptions)

Method summary

Modifier and TypeMethod
protected SoundManager$Preparations
a(aue arg0, bnf 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 resourceManager, Profiler profiler)
m_5944_(C_77_ p_120357_, C_442_ arg1)
protected void
a(gvf$a arg0, aue arg1, bnf 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 resourceManager, Profiler profiler)
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_()
public ListenerTransform
b()
getListenerTransform()
method_55593()
m_aenyslbh()
getListenerTransform()
positioner()
m_307930_()
static boolean
a(gtx arg0, akr arg1, auh arg2)
validateSoundResource(Sound arg0, ResourceLocation arg1, ResourceProvider arg2)
method_4868(class_1111 arg0, class_2960 arg1, class_5912 arg2)
m_lehpooor(C_ranpgzkp arg0, C_ncpywfca arg1, C_xadhkzfq arg2)
isSoundResourcePresent(Sound sound, Identifier id, ResourceFactory resourceFactory)
isSoundResourcePresent(Sound sound, Identifier id, ResourceFactory factory)
m_247403_(C_4562_ p_250396_, C_5265_ p_250879_, C_140974_ p_248737_)
public WeighedSoundEvents
a(akr 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>
d()
getAvailableSounds()
method_4864()
m_arsfsqit()
getKeys()
getKeys()
m_120354_()
public void
a(gub 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(gua 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(gua 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(ffy 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
e()
pause()
method_4879()
m_hqmanxhu()
pauseAll()
pauseAll()
m_120391_()
public void
f()
stop()
method_4881()
m_rtfydyns()
stopAll()
stopAll()
m_120405_()
public void
g()
destroy()
method_4882()
m_xesyenfb()
close()
close()
m_120406_()
public void
h()
emergencyShutdown()
method_54649()
m_abgyglea()
stopAbruptly()
emergencyClose()
m_307436_()
public void
a(boolean arg0)
tick(boolean arg0)
method_18670(boolean arg0)
m_kqwlzxnf(boolean arg0)
tick(boolean paused)
tick(boolean paused)
m_120389_(boolean arg0)
public void
i()
resume()
method_4880()
m_mmgageef()
resumeAll()
resumeAll()
m_120407_()
public void
a(avq 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(gua 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(gua 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(gve 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(gve 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(akr arg0, avq 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
j()
getDebugString()
method_20305()
m_uuimhnvn()
getDebugString()
getDebugString()
m_120408_()
public void
k()
reload()
method_38566()
m_cqqjitjf()
reloadSounds()
reloadSounds()
m_194526_()