Uses of Enum
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 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 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.Modifier 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
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. -
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
(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.Modifier 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
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
Stop the specified sound from playing.void
Player.stopSound
(Sound sound, SoundCategory category) Stop the specified sound from playing.