net.minecraft.client.resources.sounds

public class Sound

implements Weighted<Sound>

faa
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
private final ResourceLocation
a
location
field_5469
id
f_119770_
private final float
b
volume
field_5466
volume
f_119771_
private final float
c
pitch
field_5464
pitch
f_119772_
private final int
d
weight
field_5468
weight
f_119773_
private final Sound$Type
e
type
field_5470
registrationType
f_119774_
private final boolean
f
stream
field_5467
stream
f_119775_
private final boolean
g
preload
field_5465
preload
f_119776_
private final int
h
attenuationDistance
field_5463
attenuation
f_119777_

Constructor summary

ModifierConstructor
public (String id, float volume, float 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 float
c()
getVolume()
method_4771()
getVolume()
m_119791_()
public float
d()
getPitch()
method_4772()
getPitch()
m_119792_()
public int
e()
getWeight()
method_4894()
getWeight()
m_7789_()
public Sound
f()
getSound()
method_4765()
getSound()
m_6776_()
public void
a(fba arg0)
preloadIfRequired(SoundEngine arg0)
method_18188(class_1140 arg0)
preload(SoundSystem arg0)
m_8054_(C_4600_ arg0)
public Sound$Type
g()
getType()
method_4768()
getRegistrationType()
m_119795_()
public boolean
h()
shouldStream()
method_4769()
isStreamed()
m_119796_()
public boolean
i()
shouldPreload()
method_4764()
isPreloaded()
m_119797_()
public int
j()
getAttenuationDistance()
method_4770()
getAttenuation()
m_119798_()