Class SoundReceiver.PlayerSoundReceiver

java.lang.Object
ch.njol.skript.bukkitutil.sounds.SoundReceiver.PlayerSoundReceiver
All Implemented Interfaces:
SoundReceiver
Enclosing interface:
SoundReceiver

public static class SoundReceiver.PlayerSoundReceiver extends Object implements SoundReceiver
  • 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 interface SoundReceiver
    • 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 interface SoundReceiver