Package ch.njol.skript.bukkitutil.sounds
Interface SoundReceiver
- All Known Implementing Classes:
SoundReceiver.PlayerSoundReceiver
,SoundReceiver.WorldSoundReceiver
public interface SoundReceiver
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
static final boolean
static final boolean
static final boolean
-
Method Summary
Modifier and TypeMethodDescriptionstatic SoundReceiver
static SoundReceiver
void
playSound
(Entity entity, NamespacedKey sound, SoundCategory category, float volume, float pitch, OptionalLong seed) void
playSound
(Location location, NamespacedKey sound, SoundCategory category, float volume, float pitch, OptionalLong seed)
-
Field Details
-
ADVENTURE_API
static final boolean ADVENTURE_API -
SPIGOT_SOUND_SEED
static final boolean SPIGOT_SOUND_SEED -
ENTITY_EMITTER_SOUND
static final boolean ENTITY_EMITTER_SOUND -
ENTITY_EMITTER_STRING
static final boolean ENTITY_EMITTER_STRING
-
-
Method Details
-
playSound
void playSound(Location location, NamespacedKey sound, SoundCategory category, float volume, float pitch, OptionalLong seed) -
playSound
void playSound(Entity entity, NamespacedKey sound, SoundCategory category, float volume, float pitch, OptionalLong seed) -
of
-
of
-