Uses of Class
org.bukkit.SoundCategory
-
Packages that use SoundCategory Package Description org.bukkit More generalized classes in the API.org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld
, including all players, monsters, projectiles, etc. -
-
Uses of SoundCategory in org.bukkit
Methods in org.bukkit that return SoundCategory Modifier and Type Method Description static SoundCategory
SoundCategory. valueOf(String name)
Returns the enum constant of this type with the specified name.static SoundCategory[]
SoundCategory. 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 SoundCategory Modifier and Type Method Description void
World. playSound(Location location, String 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)
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 SoundCategory Modifier and Type Method Description void
Player. playSound(Location location, String 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)
Play a sound for a player at the location.void
Player. stopSound(String sound, SoundCategory category)
Stop the specified sound from playing.void
Player. stopSound(Sound sound, SoundCategory category)
Stop the specified sound from playing.
-