类 AbstractSoundInstance
java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
- 所有已实现的接口:
SoundInstance
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.client.resources.sounds.SoundInstance
SoundInstance.Attenuation
-
字段概要
字段修饰符和类型字段说明protected SoundInstance.Attenuation
protected int
protected final ResourceLocation
protected boolean
protected float
protected RandomSource
protected boolean
protected Sound
protected final SoundSource
protected float
protected double
protected double
protected double
-
构造器概要
构造器限定符构造器说明protected
AbstractSoundInstance
(ResourceLocation p_235068_, SoundSource p_235069_, RandomSource p_235070_) protected
AbstractSoundInstance
(SoundEvent p_235072_, SoundSource p_235073_, RandomSource p_235074_) -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.minecraft.client.resources.sounds.SoundInstance
canPlaySound, canStartSilent, getStream
-
字段详细资料
-
sound
-
source
-
location
-
volume
protected float volume -
pitch
protected float pitch -
x
protected double x -
y
protected double y -
z
protected double z -
looping
protected boolean looping -
delay
protected int delay -
attenuation
-
relative
protected boolean relative -
random
-
-
构造器详细资料
-
AbstractSoundInstance
protected AbstractSoundInstance(SoundEvent p_235072_, SoundSource p_235073_, RandomSource p_235074_) -
AbstractSoundInstance
protected AbstractSoundInstance(ResourceLocation p_235068_, SoundSource p_235069_, RandomSource p_235070_)
-
-
方法详细资料
-
getLocation
- 指定者:
getLocation
在接口中SoundInstance
-
resolve
- 指定者:
resolve
在接口中SoundInstance
-
getSound
- 指定者:
getSound
在接口中SoundInstance
-
getSource
- 指定者:
getSource
在接口中SoundInstance
-
isLooping
public boolean isLooping()- 指定者:
isLooping
在接口中SoundInstance
-
getDelay
public int getDelay()- 指定者:
getDelay
在接口中SoundInstance
-
getVolume
public float getVolume()- 指定者:
getVolume
在接口中SoundInstance
-
getPitch
public float getPitch()- 指定者:
getPitch
在接口中SoundInstance
-
getX
public double getX()- 指定者:
getX
在接口中SoundInstance
-
getY
public double getY()- 指定者:
getY
在接口中SoundInstance
-
getZ
public double getZ()- 指定者:
getZ
在接口中SoundInstance
-
getAttenuation
- 指定者:
getAttenuation
在接口中SoundInstance
-
isRelative
public boolean isRelative()- 指定者:
isRelative
在接口中SoundInstance
-
toString
-