net.minecraft.client.resources.sounds

public class Sound

implements Weighted<Sound>

hmr
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

Field summary

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

Constructor summary

ModifierConstructor
public (ResourceLocation 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()
public ResourceLocation
b()
getPath()
method_4766()
m_hdvvhzzl()
getLocation()
getLocation()
public SampledFloat
c()
getVolume()
method_4771()
m_kkxyeywe()
getVolume()
getVolume()
public SampledFloat
d()
getPitch()
method_4772()
m_vxcnjtix()
getPitch()
getPitch()
public int
e()
getWeight()
method_4894()
m_pbpxhold()
getWeight()
public Sound
a(azv arg0)
getSound(RandomSource arg0)
method_4765(class_5819 arg0)
m_htjnacnr(C_rlomrsco arg0)
getSound(Random arg0)
m_dyuchbjd(RandomGenerator random)
public void
a(hnx arg0)
preloadIfRequired(SoundEngine arg0)
method_18188(class_1140 arg0)
m_vhickidb(C_stgbrlun arg0)
preload(SoundSystem arg0)
public Sound$Type
f()
getType()
method_4768()
m_rrqlrvcn()
getRegistrationType()
getRegistrationType()
public boolean
g()
shouldStream()
method_4769()
m_kgmmlcqn()
isStreamed()
isStreamed()
public boolean
h()
shouldPreload()
method_4764()
m_pspdwdlv()
isPreloaded()
isPreloaded()
public int
i()
getAttenuationDistance()
method_4770()
m_pddfdicd()
getAttenuation()
getAttenuation()