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.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_
static final org.slf4j.Logger
b
LOGGER
field_5593
LOGGER
f_120345_
private static final String
c
SOUNDS_PATH
field_33026
SOUNDS_JSON
f_174997_
private static final com.google.gson.Gson
d
GSON
field_5594
GSON
f_120346_
private static final com.google.gson.reflect.TypeToken<Map<String, SoundEventRegistration>>
e
SOUND_EVENT_REGISTRATION_TYPE
field_5591
TYPE
f_120347_
private final Map<ResourceLocation, WeighedSoundEvents>
f
registry
field_5588
sounds
f_120348_
private final SoundEngine
g
soundEngine
field_5590
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)
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)
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(fdm arg0, yt arg1, aga arg2)
validateSoundResource(Sound arg0, ResourceLocation arg1, ResourceManager arg2)
method_4868(class_1111 arg0, class_2960 arg1, class_3300 arg2)
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)
get(Identifier id)
m_120384_(C_5265_ arg0)
public Collection<ResourceLocation>
b()
getAvailableSounds()
method_4864()
getKeys()
m_120354_()
public void
a(fdq arg0)
queueTickingSound(TickableSoundInstance arg0)
method_22140(class_1117 arg0)
playNextTick(TickableSoundInstance sound)
m_120372_(C_4568_ arg0)
public void
a(fdp arg0)
play(SoundInstance arg0)
method_4873(class_1113 arg0)
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)
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)
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(ahl 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(fdp arg0)
stop(SoundInstance arg0)
method_4870(class_1113 arg0)
stop(SoundInstance sound)
m_120399_(C_4566_ arg0)
public boolean
c(fdp arg0)
isActive(SoundInstance arg0)
method_4877(class_1113 arg0)
isPlaying(SoundInstance sound)
m_120403_(C_4566_ arg0)
public void
a(feo arg0)
addListener(SoundEventListener arg0)
method_4878(class_1145 arg0)
registerListener(SoundInstanceListener listener)
m_120374_(C_4602_ arg0)
public void
b(feo arg0)
removeListener(SoundEventListener arg0)
method_4866(class_1145 arg0)
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)
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_()