Package ch.njol.skript.bukkitutil.sounds
Class AdventureSoundUtils
java.lang.Object
ch.njol.skript.bukkitutil.sounds.AdventureSoundUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
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)
-