net.minecraft.client.sounds

public class WeighedSoundEvents

implements Weighted<Sound>

gdr
net.minecraft.client.sounds.WeighedSoundEvents
net.minecraft.class_1146
net.minecraft.client.sound.WeightedSoundSet
net.minecraft.src.C_4608_

Field summary

Modifier and TypeField
private final List<Weighted<Sound>>
a
list
field_5600
sounds
f_120441_
private final Component
b
subtitle
field_5599
subtitle
f_120444_

Constructor summary

ModifierConstructor
public (ResourceLocation id, String subtitle)

Method summary

Modifier and TypeMethod
public int
e()
getWeight()
method_4894()
getWeight()
m_7789_()
public Sound
a(asc arg0)
getSound(RandomSource arg0)
method_4887(class_5819 arg0)
getSound(Random arg0)
m_213718_(C_212974_ arg0)
public void
a(gds<gcj> arg0)
addSound(Weighted<Sound> arg0)
method_4885(class_1148<class_1111> arg0)
add(SoundContainer<Sound> container)
m_120451_(C_4609_<C_4562_> arg0)
public Component
a()
getSubtitle()
method_4886()
getSubtitle()
m_120453_()
public void
a(gdn arg0)
preloadIfRequired(SoundEngine arg0)
method_18188(class_1140 arg0)
preload(SoundSystem arg0)
m_8054_(C_4600_ arg0)