net.minecraft.client.sound

public class WeightedSoundSet

implements SoundContainer<Sound>

net.minecraft.client.sounds.WeighedSoundEvents
net.minecraft.class_1146
net.minecraft.client.sound.WeightedSoundSet

Field summary

Modifier and TypeField
private final List<SoundContainer<Sound>>
list
field_5600
sounds
private final Text
subtitle
field_5599
subtitle

Constructor summary

ModifierConstructor
public (Identifier id, String subtitle)

Method summary

Modifier and TypeMethod
public int
getWeight()
method_4894()
getWeight()
public Sound
getSound(RandomSource random)
method_4893(class_5819 arg0)
getSound(Random arg0)
public void
addSound(Weighted<Sound> sound)
method_4885(class_1148<class_1111> arg0)
add(SoundContainer<Sound> container)
public Text
getSubtitle()
method_4886()
getSubtitle()
public void
preloadIfRequired(SoundEngine soundEngine)
method_18188(class_1140 arg0)
preload(SoundSystem arg0)
public Object
getSound(RandomSource random)
method_4893(class_5819 arg0)
getSound(Random arg0)