Package ch.njol.skript.bukkitutil.sounds
Class SoundReceiver.PlayerSoundReceiver
java.lang.Object
ch.njol.skript.bukkitutil.sounds.SoundReceiver.PlayerSoundReceiver
- 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
-
PlayerSoundReceiver
protected PlayerSoundReceiver(org.bukkit.entity.Player player)
-
-
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
-