net.minecraft.client.sounds

public class WeighedSoundEvents

implements Weighted<Sound>

env
net.minecraft.client.sounds.WeighedSoundEvents
net.minecraft.class_1146
net.minecraft.client.sound.WeightedSoundSet
net.minecraft.client.audio.SoundEventAccessor

Field summary

Modifier and TypeField
private final List<Weighted<Sound>>
a
list
field_5600
sounds
field_188716_a
private final Random
b
random
field_5601
random
field_148734_b
private final ResourceLocation
c
location
field_5602
id
field_188717_c
private final Component
d
subtitle
field_5599
subtitle
field_188718_d

Constructor summary

ModifierConstructor
public (ResourceLocation id, String subtitle)

Method summary

Modifier and TypeMethod
public int
e()
getWeight()
method_4894()
getWeight()
func_148721_a()
public Sound
a()
getSound()
method_4887()
getSound()
func_148720_g()
public void
a(enw<emq> arg0)
addSound(Weighted<Sound> arg0)
method_4885(class_1148<class_1111> arg0)
add(SoundContainer<Sound> arg0)
func_188715_a(ISoundEventAccessor<Sound> arg0)
public Component
c()
getSubtitle()
method_4886()
getSubtitle()
func_188712_c()
public void
a(enr arg0)
preloadIfRequired(SoundEngine arg0)
method_18188(class_1140 arg0)
preload(SoundSystem arg0)
func_217867_a(SoundEngine arg0)