spigot sounds

Solutions on MaxInterview for spigot sounds by the best coders in the world

showing results for - "spigot sounds"
Leonardo
16 May 2016
1// volume 0.0-1.0 (more than 1 = players from far away can hear it)
2// pitch = playback speed (1 is normal)
3//player.playSound(location, sound, volume, pitch)
4player.playSound(location, Sound.*****, 1.0F, 1.0F);	// Plays sound only for this player  
5Bukkit.getWorld("world").playSound(location, sound, volume, pitch); // Plays sound for all players around sound source