net.minecraft.client.resources.sounds

public class Sound

implements Weighted<Sound>

ecw
net.minecraft.client.resources.sounds.Sound
net.minecraft.class_1111
net.minecraft.client.sound.Sound
net.minecraft.client.audio.Sound

Field summary

Modifier and TypeField
private final ResourceLocation
a
location
field_5469
id
field_188726_a
private final float
b
volume
field_5466
volume
field_188727_b
private final float
c
pitch
field_5464
pitch
field_188728_c
private final int
d
weight
field_5468
weight
field_188729_d
private final Sound$Type
e
type
field_5470
registrationType
field_188730_e
private final boolean
f
stream
field_5467
stream
field_188731_f
private final boolean
g
preload
field_5465
preload
field_204258_g
private final int
h
attenuationDistance
field_5463
attenuation
field_206256_h

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()
func_188719_a()
public ResourceLocation
b()
getPath()
method_4766()
getLocation()
func_188721_b()
public float
c()
getVolume()
method_4771()
getVolume()
func_188724_c()
public float
d()
getPitch()
method_4772()
getPitch()
func_188725_d()
public int
e()
getWeight()
method_4894()
getWeight()
func_148721_a()
public Sound
f()
getSound()
method_4765()
getSound()
func_148720_g()
public void
a(edw arg0)
preloadIfRequired(SoundEngine arg0)
method_18188(class_1140 arg0)
preload(SoundSystem arg0)
func_217867_a(SoundEngine arg0)
public Sound$Type
g()
getType()
method_4768()
getRegistrationType()
func_188722_g()
public boolean
h()
shouldStream()
method_4769()
isStreamed()
func_188723_h()
public boolean
i()
shouldPreload()
method_4764()
isPreloaded()
func_204257_i()
public int
j()
getAttenuationDistance()
method_4770()
getAttenuation()
func_206255_j()