Uses of Enum Class
org.bukkit.SoundCategory
Packages that use SoundCategory
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 SoundCategory in org.bukkit
Methods in org.bukkit that return SoundCategoryModifier and TypeMethodDescriptionstatic SoundCategoryReturns the enum constant of this class with the specified name.static SoundCategory[]SoundCategory.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 SoundCategoryModifier and TypeMethodDescriptionvoidWorld.playSound(Entity entity, String sound, SoundCategory category, float volume, float pitch) Play a Sound at the location of the provided entity in the World.voidWorld.playSound(Entity entity, String sound, SoundCategory category, float volume, float pitch, long seed) Play 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.voidWorld.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.voidWorld.playSound(Location location, String sound, SoundCategory category, float volume, float pitch) Play a Sound at the provided Location in the World.voidWorld.playSound(Location location, String sound, SoundCategory category, float volume, float pitch, long seed) Play 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.voidWorld.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 SoundCategory in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidPlayer.playSound(Entity entity, String sound, SoundCategory category, float volume, float pitch) Play a sound for a player at the location of the entity.voidPlayer.playSound(Entity entity, String sound, SoundCategory category, float volume, float pitch, long seed) Play 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.voidPlayer.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.voidPlayer.playSound(Location location, String sound, SoundCategory category, float volume, float pitch) Play a sound for a player at the location.voidPlayer.playSound(Location location, String sound, SoundCategory category, float volume, float pitch, long seed) Play 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.voidPlayer.playSound(Location location, Sound sound, SoundCategory category, float volume, float pitch, long seed) Play a sound for a player at the location.voidPlayer.stopSound(String sound, SoundCategory category) Stop the specified sound from playing.voidPlayer.stopSound(SoundCategory category) Stop the specified sound category from playing.voidPlayer.stopSound(Sound sound, SoundCategory category) Stop the specified sound from playing.