Class SFX

java.lang.Object
valorless.rarespawns.utils.SFX

public class SFX extends Object
  • Constructor Details

    • SFX

      public SFX()
  • Method Details

    • Play

      public static void Play(String sound, float volume, float pitch, org.bukkit.entity.Player player)
      Play a sound at the location of the player with the given volume and pitch.
      Parameters:
      sound - The name of the sound to play.
      volume - The volume of the sound (1.0 is normal volume).
      pitch - The pitch of the sound (1.0 is normal pitch).
      player - The player for whom the sound will be played.
    • PlayNamespace

      public static void PlayNamespace(String sound, float volume, float pitch, org.bukkit.entity.Player player)
    • Play

      public static void Play(String sound, float volume, float pitch, org.bukkit.Location location)
    • PlayNamespace

      public static void PlayNamespace(String sound, float volume, float pitch, org.bukkit.Location location)
    • GetSound

      public static org.bukkit.Sound GetSound(String sound)
    • Play

      public static void Play(Sound sound, org.bukkit.entity.Player player)
    • Play

      public static void Play(Sound sound, org.bukkit.Location location)
    • getSoundPlace

      public static String getSoundPlace(org.bukkit.block.Block block)
    • getSoundPlace

      public static String getSoundPlace(org.bukkit.Material material)
    • getSoundBreak

      public static String getSoundBreak(org.bukkit.block.Block block)
    • getSoundBreak

      public static String getSoundBreak(org.bukkit.Material material)