Package valorless.rarespawns.utils
Interface SFX
public interface SFX
-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic org.bukkit.Soundstatic StringgetSoundBreak(org.bukkit.block.Block block) static StringgetSoundBreak(org.bukkit.Material material) static StringgetSoundPlace(org.bukkit.block.Block block) static StringgetSoundPlace(org.bukkit.Material material) static voidPlay a sound at the location of the player with the given volume and pitch.static voidstatic voidstatic voidstatic voidPlayNamespace(String sound, float volume, float pitch, org.bukkit.entity.Player player) static voidPlayNamespace(String sound, float volume, float pitch, org.bukkit.Location location)
-
Field Details
-
DEFAULT_PLACE
- See Also:
-
DEFAULT_BREAK
- See Also:
-
-
Method Details
-
Play
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
-
Play
-
PlayNamespace
-
GetSound
-
Play
-
Play
-
getSoundPlace
-
getSoundPlace
-
getSoundBreak
-
getSoundBreak
-