Uses of Enum
org.bukkit.Sound
Packages that use 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
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.SoundGroup.getStepSound()Gets the corresponding step sound for this group.static SoundReturns 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 SoundModifier and TypeMethodDescriptionvoidPlay a Sound at the location of the provided entity in the World.voidWorld.playSound(Entity entity, Sound sound, SoundCategory category, float volume, float pitch) Play a Sound at the location of the provided entity in the World.voidPlay a Sound at the provided Location in the World.voidWorld.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 that return SoundModifier and TypeMethodDescriptionMob.getAmbientSound()Get theSoundthis mob makes while ambiently existing.Raider.getCelebrationSound()Get theSoundthis entity will play when celebrating.LivingEntity.getDeathSound()Get theSoundthis entity will make on death.LivingEntity.getDrinkingSound(ItemStack itemStack) LivingEntity.getEatingSound(ItemStack itemStack) LivingEntity.getFallDamageSound(int fallHeight) Get theSoundthis entity will make when falling from the given height (in blocks).LivingEntity.getFallDamageSoundBig()Get theSoundthis entity will make when falling from a large height.LivingEntity.getFallDamageSoundSmall()Get theSoundthis entity will make when falling from a small height.LivingEntity.getHurtSound()Get theSoundthis entity will make when damaged.Entity.getSwimHighSpeedSplashSound()Get theSoundthis entity makes when splashing in water at high speeds.Entity.getSwimSound()Get theSoundthis entity makes while swimming.Entity.getSwimSplashSound()Get theSoundthis entity makes when splashing in water.Methods in org.bukkit.entity with parameters of type SoundModifier and TypeMethodDescriptionvoidPlay a sound for a player at the location of the entity.voidPlayer.playSound(Entity entity, Sound sound, SoundCategory category, float volume, float pitch) Play a sound for a player at the location of the entity.voidPlay 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.voidStop the specified sound from playing.voidPlayer.stopSound(Sound sound, SoundCategory category) Stop the specified sound from playing.