net.minecraft.client.resources.sounds

public class Sound

implements Weighted<Sound>

hrx
net.minecraft.client.resources.sounds.Sound
net.minecraft.class_1111

Field summary

Modifier and TypeField
public static final FileToIdConverter
a
SOUND_LISTER
field_40575
private final ResourceLocation
b
location
field_5469
private final SampledFloat
c
volume
field_5466
private final SampledFloat
d
pitch
field_5464
private final int
e
weight
field_5468
private final Sound$Type
f
type
field_5470
private final boolean
g
stream
field_5467
private final boolean
h
preload
field_5465
private final int
i
attenuationDistance
field_5463

Constructor summary

ModifierConstructor
public (ResourceLocation arg0, SampledFloat arg1, SampledFloat arg2, int arg3, Sound$Type arg4, boolean arg5, boolean arg6, int arg7)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getLocation()
method_4767()
public ResourceLocation
b()
getPath()
method_4766()
public SampledFloat
c()
getVolume()
method_4771()
public SampledFloat
d()
getPitch()
method_4772()
public int
e()
getWeight()
method_4894()
public Sound
a(baq arg0)
getSound(RandomSource arg0)
method_4765(class_5819 arg0)
public void
a(htd arg0)
preloadIfRequired(SoundEngine arg0)
method_18188(class_1140 arg0)
public Sound$Type
f()
getType()
method_4768()
public boolean
g()
shouldStream()
method_4769()
public boolean
h()
shouldPreload()
method_4764()
public int
i()
getAttenuationDistance()
method_4770()