Package ch.njol.skript.bukkitutil.sounds
Class SoundReceiver.WorldSoundReceiver
java.lang.Object
ch.njol.skript.bukkitutil.sounds.SoundReceiver.WorldSoundReceiver
- All Implemented Interfaces:
SoundReceiver
- Enclosing interface:
SoundReceiver
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.njol.skript.bukkitutil.sounds.SoundReceiver
SoundReceiver.PlayerSoundReceiver, SoundReceiver.WorldSoundReceiver
-
Field Summary
Fields inherited from interface ch.njol.skript.bukkitutil.sounds.SoundReceiver
ADVENTURE_API, ENTITY_EMITTER_SOUND, ENTITY_EMITTER_STRING, SPIGOT_SOUND_SEED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
playSound
(org.bukkit.entity.Entity entity, org.bukkit.NamespacedKey sound, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed) void
playSound
(org.bukkit.Location location, org.bukkit.NamespacedKey sound, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed)
-
Constructor Details
-
WorldSoundReceiver
protected WorldSoundReceiver(org.bukkit.World world)
-
-
Method Details
-
playSound
public void playSound(org.bukkit.Location location, org.bukkit.NamespacedKey sound, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed) - Specified by:
playSound
in interfaceSoundReceiver
-
playSound
public void playSound(org.bukkit.entity.Entity entity, org.bukkit.NamespacedKey sound, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed) - Specified by:
playSound
in interfaceSoundReceiver
-