net.minecraft.client.sounds

public class WeighedSoundEvents

implements Weighted<Sound>

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

Field summary

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

Constructor summary

ModifierConstructor
public (ResourceLocation id, String subtitle)

Method summary

Modifier and TypeMethod
public int
e()
getWeight()
method_4894()
getWeight()
public Sound
a(azh arg0)
getSound(RandomSource arg0)
method_4887(class_5819 arg0)
getSound(Random arg0)
public void
a(hjy<hin> arg0)
addSound(Weighted<Sound> arg0)
method_4885(class_1148<class_1111> arg0)
add(SoundContainer<Sound> container)
public Component
a()
getSubtitle()
method_4886()
getSubtitle()
public void
a(hjt arg0)
preloadIfRequired(SoundEngine arg0)
method_18188(class_1140 arg0)
preload(SoundSystem arg0)