public abstract class LocatableSound extends java.lang.Object implements ISound
ISound.AttenuationType
修飾子とタイプ | フィールドと説明 |
---|---|
protected ISound.AttenuationType |
attenuationType |
protected SoundCategory |
category |
protected boolean |
global |
protected float |
pitch |
protected ResourceLocation |
positionedSoundLocation |
protected boolean |
priority |
protected boolean |
repeat |
protected int |
repeatDelay
The number of ticks between repeating the sound
|
protected Sound |
sound |
protected float |
volume |
protected float |
x |
protected float |
y |
protected float |
z |
修飾子 | コンストラクタと説明 |
---|---|
protected |
LocatableSound(ResourceLocation soundId,
SoundCategory categoryIn) |
protected |
LocatableSound(SoundEvent soundIn,
SoundCategory categoryIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
canRepeat() |
SoundEventAccessor |
createAccessor(SoundHandler handler) |
ISound.AttenuationType |
getAttenuationType() |
SoundCategory |
getCategory() |
float |
getPitch() |
int |
getRepeatDelay() |
Sound |
getSound() |
ResourceLocation |
getSoundLocation() |
float |
getVolume() |
float |
getX() |
float |
getY() |
float |
getZ() |
boolean |
isGlobal()
True if the sound is not tied to a particular position in world (e.g.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canBeSilent
protected Sound sound
protected final SoundCategory category
protected final ResourceLocation positionedSoundLocation
protected float volume
protected float pitch
protected float x
protected float y
protected float z
protected boolean repeat
protected int repeatDelay
protected ISound.AttenuationType attenuationType
protected boolean priority
protected boolean global
protected LocatableSound(SoundEvent soundIn, SoundCategory categoryIn)
protected LocatableSound(ResourceLocation soundId, SoundCategory categoryIn)
public ResourceLocation getSoundLocation()
getSoundLocation
インタフェース内 ISound
public SoundEventAccessor createAccessor(SoundHandler handler)
createAccessor
インタフェース内 ISound
public SoundCategory getCategory()
getCategory
インタフェース内 ISound
public int getRepeatDelay()
getRepeatDelay
インタフェース内 ISound
public ISound.AttenuationType getAttenuationType()
getAttenuationType
インタフェース内 ISound