net.minecraft.client.sounds

public class WeighedSoundEvents

implements Weighted<Sound>

foa
net.minecraft.client.sounds.WeighedSoundEvents
net.minecraft.class_1146
net.minecraft.unmapped.C_rjijmyov
net.minecraft.client.sound.WeightedSoundSet
net.minecraft.client.sound.WeightedSoundSet
net.minecraft.src.C_4608_

Field summary

Modifier and TypeField
private final List<Weighted<Sound>>
a
list
field_5600
f_gwllgdpp
sounds
sounds
f_120441_
private final RandomSource
b
random
field_5601
f_zwustaci
random
random
f_120442_
private final ResourceLocation
c
location
field_5602
f_fxgweazm
id
id
f_120443_
private final Component
d
subtitle
field_5599
f_hgbxwugw
subtitle
subtitle
f_120444_

Constructor summary

ModifierConstructor
public (ResourceLocation id, String subtitle)

Method summary

Modifier and TypeMethod
public int
e()
getWeight()
method_4894()
m_rcppjsex()
getWeight()
getWeight()
m_7789_()
public Sound
a(amn arg0)
getSound(RandomSource arg0)
method_4887(class_5819 arg0)
m_bpqyfkxa(C_rlomrsco arg0)
getSound(Random arg0)
getSound(RandomGenerator random)
m_213718_(C_212974_ arg0)
public void
a(fob<fms> arg0)
addSound(Weighted<Sound> arg0)
method_4885(class_1148<class_1111> arg0)
m_ybogfmgf(C_lzgrldex<C_ranpgzkp> arg0)
add(SoundContainer<Sound> container)
add(SoundContainer<Sound> sound)
m_120451_(C_4609_<C_4562_> arg0)
public ResourceLocation
a()
getResourceLocation()
method_35812()
m_ahwslgik()
getId()
getId()
m_174998_()
public Component
b()
getSubtitle()
method_4886()
m_mgtqnjpv()
getSubtitle()
getSubtitle()
m_120453_()
public void
a(fnw arg0)
preloadIfRequired(SoundEngine arg0)
method_18188(class_1140 arg0)
m_luvukxnk(C_stgbrlun arg0)
preload(SoundSystem arg0)
preload(SoundSystem arg0)
m_8054_(C_4600_ arg0)