net.minecraft.client.sound

public class Sound

implements SoundContainer<Sound>

dft
net.minecraft.class_2906
net.minecraft.client.sound.Sound
net.minecraft.client.audio.Sound
net.minecraft.client.audio.Sound

Field summary

Modifier and TypeField
private final Identifier
a
field_13683
location
field_188726_a
name
private final float
b
field_13684
volume
field_188727_b
volume
private final float
c
field_13685
pitch
field_188728_c
pitch
private final int
d
field_13686
weight
field_188729_d
weight
private final Sound$Type
e
field_13687
type
field_188730_e
type
private final boolean
f
field_13688
stream
field_188731_f
streaming
private final boolean
g
field_21097
preload
field_204258_g
preload
private final int
h
field_21098
attenuationDistance
field_206256_h
attenuationDistance

Constructor summary

ModifierConstructor
public (String path, float volume, float pitch, int weight, Sound$Type type, boolean stream, boolean preload, int attenuationDistance)

Method summary

Modifier and TypeMethod
public Identifier
a()
method_12522()
getLocation()
func_188719_a()
getSoundLocation()
public Identifier
b()
method_12523()
getPath()
func_188721_b()
getSoundAsOggLocation()
public float
c()
method_12524()
getVolume()
func_188724_c()
getVolume()
public float
d()
method_12525()
getPitch()
func_188725_d()
getPitch()
public int
e()
method_7136()
getWeight()
func_148721_a()
getWeight()
public Sound
f()
method_12526()
get()
func_148720_g()
cloneEntry()
public Sound$Type
g()
method_12527()
getType()
func_188722_g()
getType()
public boolean
h()
method_12528()
isStream()
func_188723_h()
isStreaming()
public boolean
i()
method_19602()
isPreload()
func_204257_i()
shouldPreload()
public int
j()
method_19603()
getAttenuationDistance()
func_206255_j()
getAttenuationDistance()