net.minecraft.client.sounds

public class SoundManager

extends SimplePreparableReloadListener<SoundManager$Preparations>

All mapped superinterfaces:

PreparableReloadListener

fzc
net.minecraft.client.sounds.SoundManager
net.minecraft.class_1144
net.minecraft.client.sound.SoundManager
net.minecraft.src.C_4603_

Field summary

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

Constructor summary

ModifierConstructor
public (Options gameOptions)

Method summary

Modifier and TypeMethod
protected SoundManager$Preparations
a(akx arg0, ban arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_18180(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
m_5944_(C_77_ p_120357_, C_442_ arg1)
protected void
a(fzc$a arg0, akx arg1, ban 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)
m_5787_(C_4603_$C_4606_ p_120378_, C_77_ p_120379_, C_442_ arg2)
public List<String>
a()
getAvailableSoundDevices()
method_38565()
getSoundDevices()
m_194525_()
static boolean
a(fxv arg0, acq arg1, ala 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)
m_247403_(C_4562_ p_250396_, C_5265_ p_250879_, C_140974_ p_248737_)
public WeighedSoundEvents
a(acq arg0)
getSoundEvent(ResourceLocation arg0)
method_4869(class_2960 arg0)
get(Identifier id)
m_120384_(C_5265_ arg0)
public Collection<ResourceLocation>
b()
getAvailableSounds()
method_4864()
getKeys()
m_120354_()
public void
a(fxz arg0)
queueTickingSound(TickableSoundInstance arg0)
method_22140(class_1117 arg0)
playNextTick(TickableSoundInstance sound)
m_120372_(C_4568_ arg0)
public void
a(fxy arg0)
play(SoundInstance arg0)
method_4873(class_1113 arg0)
play(SoundInstance sound)
m_120367_(C_4566_ arg0)
public void
a(fxy arg0, int arg1)
playDelayed(SoundInstance arg0, int arg1)
method_4872(class_1113 arg0, int arg1)
play(SoundInstance sound, int delay)
m_120369_(C_4566_ p_120371_, int arg1)
public void
a(emz arg0)
updateSource(Camera arg0)
method_4876(class_4184 arg0)
updateListenerPosition(Camera camera)
m_120361_(C_3373_ arg0)
public void
d()
pause()
method_4879()
pauseAll()
m_120391_()
public void
e()
stop()
method_4881()
stopAll()
m_120405_()
public void
f()
destroy()
method_4882()
close()
m_120406_()
public void
a(boolean arg0)
tick(boolean arg0)
method_18670(boolean arg0)
tick(boolean paused)
m_120389_(boolean arg0)
public void
g()
resume()
method_4880()
resumeAll()
m_120407_()
public void
a(ami arg0, float arg1)
updateSourceVolume(SoundSource arg0, float arg1)
method_4865(class_3419 arg0, float arg1)
updateSoundVolume(SoundCategory category, float volume)
m_120358_(C_125_ p_120360_, float arg1)
public void
b(fxy arg0)
stop(SoundInstance arg0)
method_4870(class_1113 arg0)
stop(SoundInstance sound)
m_120399_(C_4566_ arg0)
public boolean
c(fxy arg0)
isActive(SoundInstance arg0)
method_4877(class_1113 arg0)
isPlaying(SoundInstance sound)
m_120403_(C_4566_ arg0)
public void
a(fzb arg0)
addListener(SoundEventListener arg0)
method_4878(class_1145 arg0)
registerListener(SoundInstanceListener listener)
m_120374_(C_4602_ arg0)
public void
b(fzb arg0)
removeListener(SoundEventListener arg0)
method_4866(class_1145 arg0)
unregisterListener(SoundInstanceListener listener)
m_120401_(C_4602_ arg0)
public void
a(acq arg0, ami arg1)
stop(ResourceLocation arg0, SoundSource arg1)
method_4875(class_2960 arg0, class_3419 arg1)
stopSounds(Identifier id, SoundCategory soundCategory)
m_120386_(C_5265_ p_120388_, C_125_ arg1)
public String
h()
getDebugString()
method_20305()
getDebugString()
m_120408_()
public void
i()
reload()
method_38566()
reloadSounds()
m_194526_()