net.minecraft.client.sounds

public class SoundManager

extends SimplePreparableReloadListener<SoundManager$Preparations>

All mapped superinterfaces:

PreparableReloadListener

hgn
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(avv arg0, bpt arg1)
prepare(ResourceManager arg0, ProfilerFiller arg1)
method_18180(class_3300 arg0, class_3695 arg1)
prepare(ResourceManager arg0, Profiler arg1)
protected void
a(hgn$a arg0, avv arg1, bpt 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(hff arg0, alz arg1, avy 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(alz arg0)
getSoundEvent(ResourceLocation arg0)
method_4869(class_2960 arg0)
get(Identifier id)
public Collection<ResourceLocation>
d()
getAvailableSounds()
method_4864()
getKeys()
public void
a(hfj arg0)
queueTickingSound(TickableSoundInstance arg0)
method_22140(class_1117 arg0)
playNextTick(TickableSoundInstance sound)
public void
a(hfi arg0)
play(SoundInstance arg0)
method_4873(class_1113 arg0)
play(SoundInstance sound)
public void
a(hfi arg0, int arg1)
playDelayed(SoundInstance arg0, int arg1)
method_4872(class_1113 arg0, int arg1)
play(SoundInstance sound, int delay)
public void
a(flp 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(axg arg0, float arg1)
updateSourceVolume(SoundSource arg0, float arg1)
method_4865(class_3419 arg0, float arg1)
updateSoundVolume(SoundCategory category, float volume)
public void
b(hfi arg0)
stop(SoundInstance arg0)
method_4870(class_1113 arg0)
stop(SoundInstance sound)
public boolean
c(hfi arg0)
isActive(SoundInstance arg0)
method_4877(class_1113 arg0)
isPlaying(SoundInstance sound)
public void
a(hgm arg0)
addListener(SoundEventListener arg0)
method_4878(class_1145 arg0)
registerListener(SoundInstanceListener listener)
public void
b(hgm arg0)
removeListener(SoundEventListener arg0)
method_4866(class_1145 arg0)
unregisterListener(SoundInstanceListener listener)
public void
a(alz arg0, axg 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()