Uses of Enum Class
org.bukkit.Sound
Packages that use Sound
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes concerning damage types and sources applicable to living entities.
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 SoundMethods in org.bukkit that return SoundModifier 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.Instrument.getSound()
Gets the sound associated with this instrument.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.Methods in org.bukkit with parameters of type SoundModifier and TypeMethodDescriptionvoid
Play a Sound at the location of the provided entity in the World.void
World.playSound
(Entity entity, Sound sound, SoundCategory category, float volume, float pitch) Play a Sound at the location of the provided entity in the World.void
World.playSound
(Entity entity, Sound sound, SoundCategory category, float volume, float pitch, long seed) 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
(Location location, Sound sound, SoundCategory category, float volume, float pitch) Play a Sound at the provided Location in the World.void
World.playSound
(Location location, Sound sound, SoundCategory category, float volume, float pitch, long seed) Play a Sound at the provided Location in the World. -
Uses of Sound in org.bukkit.damage
Methods in org.bukkit.damage that return SoundModifier and TypeMethodDescriptionDamageEffect.getSound()
Get theSound
played for thisDamageEffect
. -
Uses of Sound in org.bukkit.entity
Methods in org.bukkit.entity that return SoundModifier 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
(ItemStack itemStack) LivingEntity.getEatingSound
(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.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.Methods in org.bukkit.entity with parameters of type SoundModifier and TypeMethodDescriptionvoid
Play a sound for a player at the location of the entity.void
Player.playSound
(Entity entity, Sound sound, SoundCategory category, float volume, float pitch) Play a sound for a player at the location of the entity.void
Player.playSound
(Entity entity, Sound sound, SoundCategory category, float volume, float pitch, long seed) 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
(Location location, Sound sound, SoundCategory category, float volume, float pitch) Play a sound for a player at the location.void
Player.playSound
(Location location, Sound sound, SoundCategory category, float volume, float pitch, long seed) Play a sound for a player at the location.void
Stop the specified sound from playing.void
Player.stopSound
(Sound sound, SoundCategory category) Stop the specified sound from playing.