Class SoundUtil

java.lang.Object
org.leralix.lib.utils.SoundUtil

public class SoundUtil extends Object
Utility class for playing sounds
  • Method Details

    • playSound

      public static void playSound(org.bukkit.entity.Player player, SoundEnum soundEnum)
      Play a predefined sound to the player
      Parameters:
      player - The player to play the sound to
      soundEnum - The sound to play