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()
Deprecated, for removal: This API element is subject to removal in a future version.BlockSoundGroup.getFallSound()
Deprecated, for removal: This API element is subject to removal in a future version.BlockSoundGroup.getHitSound()
Deprecated, for removal: This API element is subject to removal in a future version.BlockSoundGroup.getPlaceSound()
Deprecated, for removal: This API element is subject to removal in a future version.BlockSoundGroup.getStepSound()
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Sound in io.papermc.paper.entity
Modifier and TypeMethodDescriptionBucketable.getPickupSound()
Gets the sound that is played when this entity is picked up in a bucket. -
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.Modifier and TypeMethodDescriptionvoid
Play a Sound at the location of the provided entity in the World.void
World.playSound
(@NotNull Entity entity, @NotNull Sound sound, @NotNull SoundCategory category, float volume, float pitch) Play a Sound at the location of the provided entity in the World.void
Play a Sound at the provided Location in the World.void
World.playSound
(@NotNull Location location, @NotNull Sound sound, @NotNull SoundCategory category, float volume, float pitch) Play a Sound at the provided Location in the World. -
Uses of Sound in org.bukkit.entity
Modifier and TypeMethodDescriptionMob.getAmbientSound()
Get theSound
this mob makes while ambiently existing.Raider.getCelebrationSound()
Get theSound
this entity will play when celebrating.LivingEntity.getDeathSound()
Get theSound
this entity will make on death.LivingEntity.getDrinkingSound
(@NotNull ItemStack itemStack) LivingEntity.getEatingSound
(@NotNull ItemStack itemStack) LivingEntity.getFallDamageSound
(int fallHeight) Get theSound
this entity will make when falling from the given height (in blocks).LivingEntity.getFallDamageSoundBig()
Get theSound
this entity will make when falling from a large height.LivingEntity.getFallDamageSoundSmall()
Get theSound
this entity will make when falling from a small height.AbstractArrow.getHitSound()
Gets the sound that is played when this arrow hits an entity.LivingEntity.getHurtSound()
Get theSound
this entity will make when damaged.Entity.getSwimHighSpeedSplashSound()
Get theSound
this entity makes when splashing in water at high speeds.Entity.getSwimSound()
Get theSound
this entity makes while swimming.Entity.getSwimSplashSound()
Get theSound
this entity makes when splashing in water.Modifier and TypeMethodDescriptionvoid
Play a sound for a player at the location of the entity.void
Player.playSound
(@NotNull Entity entity, @NotNull Sound sound, @NotNull SoundCategory category, float volume, float pitch) Play a sound for a player at the location of the entity.void
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
AbstractArrow.setHitSound
(Sound sound) Sets the sound that is played when this arrow hits an entity.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
SoundGroup.getBreakSound()