Class AdventureSoundUtils

java.lang.Object
ch.njol.skript.bukkitutil.sounds.AdventureSoundUtils

public class AdventureSoundUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.kyori.adventure.sound.Sound
    getAdventureSound(org.bukkit.NamespacedKey key, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed)
     
    static void
    playSound(org.bukkit.entity.Player player, org.bukkit.entity.Entity entity, org.bukkit.NamespacedKey sound, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed)
     
    static void
    playSound(org.bukkit.entity.Player player, org.bukkit.Location location, org.bukkit.NamespacedKey sound, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed)
     
    static void
    playSound(org.bukkit.World world, org.bukkit.entity.Entity entity, org.bukkit.NamespacedKey sound, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed)
     
    static void
    playSound(org.bukkit.World world, org.bukkit.Location location, org.bukkit.NamespacedKey sound, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AdventureSoundUtils

      public AdventureSoundUtils()
  • Method Details

    • getAdventureSound

      public static net.kyori.adventure.sound.Sound getAdventureSound(org.bukkit.NamespacedKey key, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed)
    • playSound

      public static void playSound(org.bukkit.World world, org.bukkit.Location location, org.bukkit.NamespacedKey sound, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed)
    • playSound

      public static void playSound(org.bukkit.World world, org.bukkit.entity.Entity entity, org.bukkit.NamespacedKey sound, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed)
    • playSound

      public static void playSound(org.bukkit.entity.Player player, org.bukkit.Location location, org.bukkit.NamespacedKey sound, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed)
    • playSound

      public static void playSound(org.bukkit.entity.Player player, org.bukkit.entity.Entity entity, org.bukkit.NamespacedKey sound, org.bukkit.SoundCategory category, float volume, float pitch, OptionalLong seed)