Uses of Class
org.bukkit.Sound
| Package | Description |
|---|---|
| org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
-
Uses of Sound in org.bukkit
Fields in org.bukkit with type parameters of type Sound Modifier and Type Field Description static Registry<Sound>Registry. SOUNDSSound keys.Methods in org.bukkit that return Sound Modifier and Type Method Description SoundSoundGroup. getBreakSound()Gets the corresponding breaking sound for this group.SoundSoundGroup. getFallSound()Gets the corresponding fall sound for this group.SoundSoundGroup. getHitSound()Gets the corresponding hit sound for this group.SoundSoundGroup. getPlaceSound()Gets the corresponding place sound for this group.SoundSoundGroup. getStepSound()Gets the corresponding step sound for this group.static SoundSound. valueOf(String name)Returns the enum constant of this type with the specified name.static Sound[]Sound. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bukkit with parameters of type Sound Modifier and Type Method Description voidWorld. playSound(Location location, Sound sound, float volume, float pitch)Play a Sound at the provided Location in the WorldvoidWorld. playSound(Location location, Sound sound, SoundCategory category, float volume, float pitch)Play a Sound at the provided Location in the World. -
Uses of Sound in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type Sound Modifier and Type Method Description voidPlayer. playSound(Location location, Sound sound, float volume, float pitch)Play a sound for a player at the location.voidPlayer. playSound(Location location, Sound sound, SoundCategory category, float volume, float pitch)Play a sound for a player at the location.voidPlayer. stopSound(Sound sound)Stop the specified sound from playing.voidPlayer. stopSound(Sound sound, SoundCategory category)Stop the specified sound from playing.