net.minecraft.client.sounds

public class SoundEngine

enr
net.minecraft.client.sounds.SoundEngine
net.minecraft.class_1140
net.minecraft.client.sound.SoundSystem
net.minecraft.client.audio.SoundEngine

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Marker
a
MARKER
field_5553
MARKER
field_148623_a
private static final org.apache.logging.log4j.Logger
b
LOGGER
field_5559
LOGGER
field_148621_b
private static final Set<ResourceLocation>
c
ONLY_WARN_ONCE
field_5561
unknownSounds
field_188775_c
private final SoundManager
d
soundManager
field_5552
loader
field_148622_c
private final Options
e
options
field_5555
settings
field_148619_d
private boolean
f
loaded
field_5563
started
field_148617_f
private final Library
g
library
field_18945
soundEngine
field_217937_g
private final Listener
h
listener
field_18946
listener
field_217938_h
private final SoundBufferLibrary
i
soundBuffers
field_18947
soundLoader
field_217939_i
private final SoundEngineExecutor
j
executor
field_18948
taskQueue
field_217940_j
private final ChannelAccess
k
channelAccess
field_18949
channel
field_217941_k
private int
l
tickCount
field_5550
ticks
field_148618_g
private final Map<SoundInstance, ChannelAccess$ChannelHandle>
m
instanceToChannel
field_18950
sources
field_217942_m
private final com.google.common.collect.Multimap<SoundSource, SoundInstance>
n
instanceBySource
field_18951
sounds
field_217943_n
private final List<TickableSoundInstance>
o
tickingSounds
field_5557
tickingSounds
field_148625_l
private final Map<SoundInstance, Integer>
p
queuedSounds
field_5566
startTicks
field_148626_m
private final Map<SoundInstance, Integer>
q
soundDeleteTime
field_18952
soundEndTicks
field_148624_n
private final List<SoundEventListener>
r
listeners
field_5558
listeners
field_188777_o
private final List<TickableSoundInstance>
s
queuedTickableSounds
field_20532
soundsToPlayNextTick
field_229361_s_
private final List<Sound>
t
preloadQueue
field_5551
preloadedSounds
field_204261_q

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a()
reload()
method_4837()
reloadSounds()
func_148596_a()
private synchronized void
g()
loadLibrary()
method_4846()
start()
func_148608_i()
private float
a(adr arg0)
getVolume(SoundSource arg0)
method_4850(class_3419 arg0)
getSoundVolume(SoundCategory arg0)
func_188769_a(SoundCategory arg0)
public void
a(adr arg0, float arg1)
updateCategoryVolume(SoundSource arg0, float arg1)
method_4844(class_3419 arg0, float arg1)
updateSoundVolume(SoundCategory arg0, float volume)
func_188771_a(SoundCategory arg0, float arg1)
public void
b()
destroy()
method_4856()
stop()
func_148613_b()
public void
a(emt arg0)
stop(SoundInstance arg0)
method_19753(class_1113 arg0)
stop(SoundInstance arg0)
func_148602_b(ISound arg0)
public void
c()
stopAll()
method_4843()
stopAll()
func_148614_c()
public void
a(ent arg0)
addEventListener(SoundEventListener arg0)
method_4855(class_1145 arg0)
registerListener(SoundInstanceListener arg0)
func_188774_a(ISoundEventListener arg0)
public void
b(ent arg0)
removeEventListener(SoundEventListener arg0)
method_4847(class_1145 arg0)
unregisterListener(SoundInstanceListener arg0)
func_188773_b(ISoundEventListener arg0)
public void
a(boolean arg0)
tick(boolean arg0)
method_20185(boolean arg0)
tick(boolean arg0)
func_217921_a(boolean arg0)
private void
h()
tickNonPaused()
method_4857()
tick()
func_217927_h()
private static boolean
d(emt arg0)
requiresManualLooping(SoundInstance arg0)
method_24878(class_1113 arg0)
canRepeatInstantly(SoundInstance arg0)
func_239544_d_(ISound arg0)
private static boolean
e(emt arg0)
shouldLoopManually(SoundInstance arg0)
method_24879(class_1113 arg0)
isRepeatDelayed(SoundInstance arg0)
func_239545_e_(ISound arg0)
private static boolean
f(emt arg0)
shouldLoopAutomatically(SoundInstance arg0)
method_24880(class_1113 arg0)
shouldRepeatInstantly(SoundInstance arg0)
func_239546_f_(ISound arg0)
public boolean
b(emt arg0)
isActive(SoundInstance arg0)
method_4835(class_1113 arg0)
isPlaying(SoundInstance arg0)
func_217933_b(ISound arg0)
public void
c(emt arg0)
play(SoundInstance arg0)
method_4854(class_1113 arg0)
play(SoundInstance arg0)
func_148611_c(ISound arg0)
public void
a(emu arg0)
queueTickingSound(TickableSoundInstance arg0)
method_22139(class_1117 arg0)
playNextTick(TickableSoundInstance sound)
func_229363_a_(ITickableSound arg0)
public void
a(emq arg0)
requestPreload(Sound arg0)
method_4851(class_1111 arg0)
addPreloadedSound(Sound sound)
func_204259_a(Sound arg0)
private float
g(emt arg0)
calculatePitch(SoundInstance arg0)
method_4849(class_1113 arg0)
getAdjustedPitch(SoundInstance arg0)
func_188772_d(ISound arg0)
private float
h(emt arg0)
calculateVolume(SoundInstance arg0)
method_4853(class_1113 arg0)
getAdjustedVolume(SoundInstance arg0)
func_188770_e(ISound arg0)
public void
d()
pause()
method_19761()
pauseAll()
func_148610_e()
public void
e()
resume()
method_19762()
resumeAll()
func_148604_f()
public void
a(emt arg0, int arg1)
playDelayed(SoundInstance arg0, int arg1)
method_4852(class_1113 arg0, int arg1)
play(SoundInstance sound, int delay)
func_148599_a(ISound arg0, int arg1)
public void
a(djk arg0)
updateSource(Camera arg0)
method_4840(class_4184 arg0)
updateListenerPosition(Camera arg0)
func_217920_a(ActiveRenderInfo arg0)
public void
a(vk arg0, adr arg1)
stop(ResourceLocation arg0, SoundSource arg1)
method_4838(class_2960 arg0, class_3419 arg1)
stopSounds(Identifier arg0, SoundCategory arg1)
func_195855_a(ResourceLocation arg0, SoundCategory arg1)
public String
f()
getDebugString()
method_20304()
getDebugString()
func_217932_f()