net.minecraft.client.resources.sounds

public abstract class AbstractSoundInstance

implements SoundInstance

ghi
net.minecraft.client.resources.sounds.AbstractSoundInstance
net.minecraft.class_1102
net.minecraft.client.sound.AbstractSoundInstance
net.minecraft.src.C_4547_

Field summary

Modifier and TypeField
protected Sound
a
sound
field_5444
sound
f_119570_
protected final SoundSource
b
source
field_5447
category
f_119571_
protected final ResourceLocation
c
location
field_5448
id
f_119572_
protected float
d
volume
field_5442
volume
f_119573_
protected float
e
pitch
field_5441
pitch
f_119574_
protected double
f
x
field_5439
x
f_119575_
protected double
g
y
field_5450
y
f_119576_
protected double
h
z
field_5449
z
f_119577_
protected boolean
i
looping
field_5446
repeat
f_119578_
protected int
j
delay
field_5451
repeatDelay
f_119579_
protected SoundInstance$Attenuation
k
attenuation
field_5440
attenuationType
f_119580_
protected boolean
l
relative
field_18936
relative
f_119582_
protected RandomSource
m
random
field_38800
random
f_235066_

Constructor summary

ModifierConstructor
protected (SoundEvent sound, SoundSource category, RandomSource random)
protected (ResourceLocation soundId, SoundSource category, RandomSource random)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getLocation()
method_4775()
getId()
m_7904_()
public WeighedSoundEvents
a(gje arg0)
resolve(SoundManager arg0)
method_4783(class_1144 arg0)
getSoundSet(SoundManager arg0)
m_6775_(C_4603_ arg0)
public Sound
b()
getSound()
method_4776()
getSound()
m_5891_()
public SoundSource
c()
getSource()
method_4774()
getCategory()
m_8070_()
public boolean
d()
isLooping()
method_4786()
isRepeatable()
m_7775_()
public int
e()
getDelay()
method_4780()
getRepeatDelay()
m_7766_()
public float
f()
getVolume()
method_4781()
getVolume()
m_7769_()
public float
g()
getPitch()
method_4782()
getPitch()
m_7783_()
public double
h()
getX()
method_4784()
getX()
m_7772_()
public double
i()
getY()
method_4779()
getY()
m_7780_()
public double
j()
getZ()
method_4778()
getZ()
m_7778_()
public SoundInstance$Attenuation
k()
getAttenuation()
method_4777()
getAttenuationType()
m_7438_()
public boolean
l()
isRelative()
method_4787()
isRelative()
m_7796_()