Package valorless.valorlessutils.sound
Class SFX
java.lang.Object
valorless.valorlessutils.sound.SFX
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic org.bukkit.Soundstatic voidPlay a sound at the location of the player with the given volume and pitch.static voidPlay a sound at a location with the given volume and pitch.static voidPlayNamespace(String sound, float volume, float pitch, org.bukkit.entity.Player player) 
- 
Constructor Details- 
SFXpublic SFX()
 
- 
- 
Method Details- 
PlayPlay 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.
 
- 
PlayNamespacepublic static void PlayNamespace(String sound, float volume, float pitch, org.bukkit.entity.Player player) 
- 
PlayPlay a sound at a location 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).
- location- The location where the sound will be played.
 
- 
GetSound
 
-