net.minecraft.client.resources.sounds

public class Sound

implements Weighted<Sound>

gsm
net.minecraft.client.resources.sounds.Sound
net.minecraft.class_1111
net.minecraft.unmapped.C_ranpgzkp
net.minecraft.client.sound.Sound
net.minecraft.client.sound.Sound
net.minecraft.src.C_4562_

Field summary

Modifier and TypeField
public static final FileToIdConverter
a
SOUND_LISTER
field_40575
f_uoehwizk
FINDER
SOUND_NAMESPACE
f_244492_
private final ResourceLocation
b
location
field_5469
f_tssllbfk
id
id
f_119770_
private final SampledFloat
c
volume
field_5466
f_hvrimjtn
volume
volume
f_119771_
private final SampledFloat
d
pitch
field_5464
f_yttqaaxg
pitch
pitch
f_119772_
private final int
e
weight
field_5468
f_cgbojlnn
weight
weight
f_119773_
private final Sound$Type
f
type
field_5470
f_pcijinbr
registrationType
registrationType
f_119774_
private final boolean
g
stream
field_5467
f_tjysawww
stream
stream
f_119775_
private final boolean
h
preload
field_5465
f_yokviiro
preload
preload
f_119776_
private final int
i
attenuationDistance
field_5463
f_lhakahso
attenuation
attenuation
f_119777_

Constructor summary

ModifierConstructor
public (String id, SampledFloat volume, SampledFloat pitch, int weight, Sound$Type registrationType, boolean stream, boolean preload, int attenuation)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getLocation()
method_4767()
m_kgunfzrd()
getIdentifier()
getIdentifier()
m_119787_()
public ResourceLocation
b()
getPath()
method_4766()
m_hdvvhzzl()
getLocation()
getLocation()
m_119790_()
public SampledFloat
c()
getVolume()
method_4771()
m_kkxyeywe()
getVolume()
getVolume()
m_235146_()
public SampledFloat
d()
getPitch()
method_4772()
m_vxcnjtix()
getPitch()
getPitch()
m_235147_()
public int
e()
getWeight()
method_4894()
m_rcppjsex()
getWeight()
getWeight()
m_7789_()
public Sound
a(azh arg0)
getSound(RandomSource arg0)
method_4765(class_5819 arg0)
m_htjnacnr(C_rlomrsco arg0)
getSound(Random arg0)
getSound(RandomGenerator random)
m_213718_(C_212974_ arg0)
public void
a(gtu arg0)
preloadIfRequired(SoundEngine arg0)
method_18188(class_1140 arg0)
m_luvukxnk(C_stgbrlun arg0)
preload(SoundSystem arg0)
preload(SoundSystem arg0)
m_8054_(C_4600_ arg0)
public Sound$Type
f()
getType()
method_4768()
m_rrqlrvcn()
getRegistrationType()
getRegistrationType()
m_119795_()
public boolean
g()
shouldStream()
method_4769()
m_kgmmlcqn()
isStreamed()
isStreamed()
m_119796_()
public boolean
h()
shouldPreload()
method_4764()
m_pspdwdlv()
isPreloaded()
isPreloaded()
m_119797_()
public int
i()
getAttenuationDistance()
method_4770()
m_pddfdicd()
getAttenuation()
getAttenuation()
m_119798_()