net.minecraft.client.resources.sounds

public class Sound

implements Weighted<Sound>

frk
net.minecraft.client.resources.sounds.Sound
net.minecraft.class_1111
net.minecraft.client.sound.Sound
net.minecraft.src.C_4562_

Field summary

Modifier and TypeField
public static final FileToIdConverter
a
SOUND_LISTER
field_40575
FINDER
f_244492_
private final ResourceLocation
b
location
field_5469
id
f_119770_
private final SampledFloat
c
volume
field_5466
volume
f_119771_
private final SampledFloat
d
pitch
field_5464
pitch
f_119772_
private final int
e
weight
field_5468
weight
f_119773_
private final Sound$Type
f
type
field_5470
registrationType
f_119774_
private final boolean
g
stream
field_5467
stream
f_119775_
private final boolean
h
preload
field_5465
preload
f_119776_
private final int
i
attenuationDistance
field_5463
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()
getIdentifier()
m_119787_()
public ResourceLocation
b()
getPath()
method_4766()
getLocation()
m_119790_()
public SampledFloat
c()
getVolume()
method_4771()
getVolume()
m_235146_()
public SampledFloat
d()
getPitch()
method_4772()
getPitch()
m_235147_()
public int
e()
getWeight()
method_4894()
getWeight()
m_7789_()
public Sound
a(aoh arg0)
getSound(RandomSource arg0)
method_4765(class_5819 arg0)
getSound(Random arg0)
m_213718_(C_212974_ arg0)
public void
a(fso arg0)
preloadIfRequired(SoundEngine arg0)
method_18188(class_1140 arg0)
preload(SoundSystem arg0)
m_8054_(C_4600_ arg0)
public Sound$Type
f()
getType()
method_4768()
getRegistrationType()
m_119795_()
public boolean
g()
shouldStream()
method_4769()
isStreamed()
m_119796_()
public boolean
h()
shouldPreload()
method_4764()
isPreloaded()
m_119797_()
public int
i()
getAttenuationDistance()
method_4770()
getAttenuation()
m_119798_()