net.minecraft.client.sounds

public class WeighedSoundEvents

implements Weighted<Sound>

fbe
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 Random
b
random
field_5601
random
f_120442_
private final ResourceLocation
c
location
field_5602
id
f_120443_
private final Component
d
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()
getSound()
method_4887()
getSound()
m_6776_()
public void
a(fbf<faa> arg0)
addSound(Weighted<Sound> arg0)
method_4885(class_1148<class_1111> arg0)
add(SoundContainer<Sound> arg0)
m_120451_(C_4609_<C_4562_> arg0)
public ResourceLocation
b()
getResourceLocation()
method_35812()
getId()
m_174998_()
public Component
c()
getSubtitle()
method_4886()
getSubtitle()
m_120453_()
public void
a(fba arg0)
preloadIfRequired(SoundEngine arg0)
method_18188(class_1140 arg0)
preload(SoundSystem arg0)
m_8054_(C_4600_ arg0)