Uses of Enum Class
org.bukkit.Sound
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of Sound in com.destroystokyo.paper.block
Modifier and TypeMethodDescriptionBlockSoundGroup.getBreakSound()
Gets the sound that plays when breaking this blockBlockSoundGroup.getFallSound()
Gets the sound that plays when this block fallsBlockSoundGroup.getHitSound()
Gets the sound that plays when hitting this blockBlockSoundGroup.getPlaceSound()
Gets the sound that plays when placing this blockBlockSoundGroup.getStepSound()
Gets the sound that plays when stepping on this block -
Uses of Sound in org.bukkit
Modifier and TypeMethodDescriptionSoundGroup.getBreakSound()
Gets the corresponding breaking sound for this group.SoundGroup.getFallSound()
Gets the corresponding fall sound for this group.SoundGroup.getHitSound()
Gets the corresponding hit sound for this group.SoundGroup.getPlaceSound()
Gets the corresponding place sound for this group.SoundGroup.getStepSound()
Gets the corresponding step sound for this group.static Sound
Returns the enum constant of this class with the specified name.static Sound[]
Sound.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of Sound in org.bukkit.entity
Modifier and TypeMethodDescriptionvoid
Play a sound for a player at the location.void
Player.playSound(@NotNull Location location, @NotNull Sound sound, @NotNull SoundCategory category, float volume, float pitch)
Play a sound for a player at the location.void
Stop the specified sound from playing.void
Player.stopSound(@NotNull Sound sound, @Nullable SoundCategory category)
Stop the specified sound from playing. -
Uses of Sound in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEntityDeathEvent.getDeathSound()
Get the sound that the entity makes when dyingModifier and TypeMethodDescriptionvoid
EntityDeathEvent.setDeathSound(Sound sound)
Set the sound that the entity makes when dying