public interface ISound
Modifier and Type | Interface and Description |
---|---|
static class |
ISound.AttenuationType |
Modifier and Type | Method and Description |
---|---|
default boolean |
canBeSilent() |
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() |
ResourceLocation getSoundLocation()
@Nullable SoundEventAccessor createAccessor(SoundHandler handler)
Sound getSound()
SoundCategory getCategory()
boolean canRepeat()
boolean isGlobal()
int getRepeatDelay()
float getVolume()
float getPitch()
float getX()
float getY()
float getZ()
ISound.AttenuationType getAttenuationType()
default boolean canBeSilent()