Interface SFX


public interface SFX
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static org.bukkit.Sound
     
    static String
    getSoundBreak(org.bukkit.block.Block block)
     
    static String
    getSoundBreak(org.bukkit.Material material)
     
    static String
    getSoundPlace(org.bukkit.block.Block block)
     
    static String
    getSoundPlace(org.bukkit.Material material)
     
    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.
    static void
    Play(String sound, float volume, float pitch, org.bukkit.Location location)
     
    static void
    Play(Sound sound, org.bukkit.entity.Player player)
     
    static void
    Play(Sound sound, org.bukkit.Location location)
     
    static void
    PlayNamespace(String sound, float volume, float pitch, org.bukkit.entity.Player player)
     
    static void
    PlayNamespace(String sound, float volume, float pitch, org.bukkit.Location location)
     
  • Field Details

  • Method Details

    • Play

      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

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

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

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

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

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

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

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

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

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

      static String getSoundBreak(org.bukkit.Material material)