Interface SoundOption


public interface SoundOption
Allows you to manage a sound
  • Method Summary

    Modifier and Type
    Method
    Description
    float
     
    com.cryptomorin.xseries.XSound
     
    float
     
    boolean
     
    void
    play(org.bukkit.entity.Entity entity)
     
  • Method Details

    • getSound

      com.cryptomorin.xseries.XSound getSound()
      Returns:
      sound
    • getPitch

      float getPitch()
      Returns:
      pitch
    • getVolume

      float getVolume()
      Returns:
      volume
    • play

      void play(org.bukkit.entity.Entity entity)
      Parameters:
      entity - to play the sound
    • isCustom

      boolean isCustom()