net.minecraft.client.sounds

public class SoundEngine

fba
net.minecraft.client.sounds.SoundEngine
net.minecraft.class_1140
net.minecraft.client.sound.SoundSystem
net.minecraft.src.C_4600_

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Marker
b
MARKER
field_5553
MARKER
f_120214_
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_5559
LOGGER
f_120215_
private static final float
d
PITCH_MIN
field_33021
field_33021
f_174983_
private static final float
e
PITCH_MAX
field_33022
field_33022
f_174984_
private static final float
f
VOLUME_MIN
field_33023
field_33023
f_174985_
private static final float
g
VOLUME_MAX
field_33024
field_33024
f_174986_
private static final int
h
MIN_SOURCE_LIFETIME
field_33025
field_33025
f_174987_
private static final Set<ResourceLocation>
i
ONLY_WARN_ONCE
field_5561
UNKNOWN_SOUNDS
f_120216_
public static final String
a
MISSING_SOUND
field_33020
FOR_THE_DEBUG
f_174982_
private final SoundManager
j
soundManager
field_5552
loader
f_120217_
private final Options
k
options
field_5555
settings
f_120218_
private boolean
l
loaded
field_5563
started
f_120219_
private final Library
m
library
field_18945
soundEngine
f_120220_
private final Listener
n
listener
field_18946
listener
f_120221_
private final SoundBufferLibrary
o
soundBuffers
field_18947
soundLoader
f_120222_
private final SoundEngineExecutor
p
executor
field_18948
taskQueue
f_120223_
private final ChannelAccess
q
channelAccess
field_18949
channel
f_120224_
private int
r
tickCount
field_5550
ticks
f_120225_
private final Map<SoundInstance, ChannelAccess$ChannelHandle>
s
instanceToChannel
field_18950
sources
f_120226_
private final com.google.common.collect.Multimap<SoundSource, SoundInstance>
t
instanceBySource
field_18951
sounds
f_120227_
private final List<TickableSoundInstance>
u
tickingSounds
field_5557
tickingSounds
f_120228_
private final Map<SoundInstance, Integer>
v
queuedSounds
field_5566
startTicks
f_120229_
private final Map<SoundInstance, Integer>
w
soundDeleteTime
field_18952
soundEndTicks
f_120230_
private final List<SoundEventListener>
x
listeners
field_5558
listeners
f_120231_
private final List<TickableSoundInstance>
y
queuedTickableSounds
field_20532
soundsToPlayNextTick
f_120232_
private final List<Sound>
z
preloadQueue
field_5551
preloadedSounds
f_120233_

Constructor summary

ModifierConstructor
public (SoundManager loader, Options settings, ResourceManager resourceManager)

Method summary

Modifier and TypeMethod
public void
a()
reload()
method_4837()
reloadSounds()
m_120239_()
private synchronized void
g()
loadLibrary()
method_4846()
start()
m_120323_()
private float
a(aff arg0)
getVolume(SoundSource arg0)
method_4850(class_3419 arg0)
getSoundVolume(SoundCategory category)
m_120258_(C_125_ arg0)
public void
a(aff arg0, float arg1)
updateCategoryVolume(SoundSource arg0, float arg1)
method_4844(class_3419 arg0, float arg1)
updateSoundVolume(SoundCategory category, float volume)
m_120260_(C_125_ p_120262_, float arg1)
public void
b()
destroy()
method_4856()
stop()
m_120304_()
public void
a(fad arg0)
stop(SoundInstance arg0)
method_19753(class_1113 arg0)
stop(SoundInstance sound)
m_120274_(C_4566_ arg0)
public void
c()
stopAll()
method_4843()
stopAll()
m_120311_()
public void
a(fbc arg0)
addEventListener(SoundEventListener arg0)
method_4855(class_1145 arg0)
registerListener(SoundInstanceListener listener)
m_120295_(C_4602_ arg0)
public void
b(fbc arg0)
removeEventListener(SoundEventListener arg0)
method_4847(class_1145 arg0)
unregisterListener(SoundInstanceListener listener)
m_120307_(C_4602_ arg0)
public void
a(boolean arg0)
tick(boolean arg0)
method_20185(boolean arg0)
tick(boolean arg0)
m_120302_(boolean arg0)
private void
h()
tickNonPaused()
method_4857()
tick()
m_120326_()
private static boolean
d(fad arg0)
requiresManualLooping(SoundInstance arg0)
method_24878(class_1113 arg0)
canRepeatInstantly(SoundInstance sound)
m_120315_(C_4566_ p_120316_)
private static boolean
e(fad arg0)
shouldLoopManually(SoundInstance arg0)
method_24879(class_1113 arg0)
isRepeatDelayed(SoundInstance sound)
m_120318_(C_4566_ p_120319_)
private static boolean
f(fad arg0)
shouldLoopAutomatically(SoundInstance arg0)
method_24880(class_1113 arg0)
shouldRepeatInstantly(SoundInstance sound)
m_120321_(C_4566_ p_120322_)
public boolean
b(fad arg0)
isActive(SoundInstance arg0)
method_4835(class_1113 arg0)
isPlaying(SoundInstance sound)
m_120305_(C_4566_ arg0)
public void
c(fad arg0)
play(SoundInstance arg0)
method_4854(class_1113 arg0)
play(SoundInstance sound)
m_120312_(C_4566_ arg0)
public void
a(fae arg0)
queueTickingSound(TickableSoundInstance arg0)
method_22139(class_1117 arg0)
playNextTick(TickableSoundInstance sound)
m_120282_(C_4568_ arg0)
public void
a(faa arg0)
requestPreload(Sound arg0)
method_4851(class_1111 arg0)
addPreloadedSound(Sound sound)
m_120272_(C_4562_ arg0)
private float
g(fad arg0)
calculatePitch(SoundInstance arg0)
method_4849(class_1113 arg0)
getAdjustedPitch(SoundInstance sound)
m_120324_(C_4566_ arg0)
private float
h(fad arg0)
calculateVolume(SoundInstance arg0)
method_4853(class_1113 arg0)
getAdjustedVolume(SoundInstance sound)
m_120327_(C_4566_ arg0)
public void
d()
pause()
method_19761()
pauseAll()
m_120314_()
public void
e()
resume()
method_19762()
resumeAll()
m_120317_()
public void
a(fad arg0, int arg1)
playDelayed(SoundInstance arg0, int arg1)
method_4852(class_1113 arg0, int arg1)
play(SoundInstance sound, int delay)
m_120276_(C_4566_ p_120278_, int arg1)
public void
a(dva arg0)
updateSource(Camera arg0)
method_4840(class_4184 arg0)
updateListenerPosition(Camera camera)
m_120270_(C_3373_ arg0)
public void
a(ww arg0, aff arg1)
stop(ResourceLocation arg0, SoundSource arg1)
method_4838(class_2960 arg0, class_3419 arg1)
stopSounds(Identifier id, SoundCategory category)
m_120299_(C_5265_ p_120301_, C_125_ arg1)
public String
f()
getDebugString()
method_20304()
getDebugString()
m_120320_()