net.minecraft.client.resources.sounds

public class Sound

implements Weighted<Sound>

hin
net.minecraft.client.resources.sounds.Sound
net.minecraft.class_1111
net.minecraft.client.sound.Sound

Field summary

Modifier and TypeField
public static final FileToIdConverter
a
SOUND_LISTER
field_40575
FINDER
private final ResourceLocation
b
location
field_5469
id
private final SampledFloat
c
volume
field_5466
volume
private final SampledFloat
d
pitch
field_5464
pitch
private final int
e
weight
field_5468
weight
private final Sound$Type
f
type
field_5470
registrationType
private final boolean
g
stream
field_5467
stream
private final boolean
h
preload
field_5465
preload
private final int
i
attenuationDistance
field_5463
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()
getIdentifier()
public ResourceLocation
b()
getPath()
method_4766()
getLocation()
public SampledFloat
c()
getVolume()
method_4771()
getVolume()
public SampledFloat
d()
getPitch()
method_4772()
getPitch()
public int
e()
getWeight()
method_4894()
getWeight()
public Sound
a(azh arg0)
getSound(RandomSource arg0)
method_4765(class_5819 arg0)
getSound(Random arg0)
public void
a(hjt arg0)
preloadIfRequired(SoundEngine arg0)
method_18188(class_1140 arg0)
preload(SoundSystem arg0)
public Sound$Type
f()
getType()
method_4768()
getRegistrationType()
public boolean
g()
shouldStream()
method_4769()
isStreamed()
public boolean
h()
shouldPreload()
method_4764()
isPreloaded()
public int
i()
getAttenuationDistance()
method_4770()
getAttenuation()