Package org.bukkit

Interface Sound

All Superinterfaces:
Comparable<Sound>, Keyed, OldEnum<Sound>, RegistryAware

public interface Sound extends OldEnum<Sound>, Keyed, RegistryAware
An interface of Sounds the server is able to send to players.

The sounds listed in this interface are present in the default server or can be enabled via a FeatureFlag. There may be additional sounds present in the server, for example from a DataPack which can be accessed via Registry.SOUNDS.

WARNING: At any time, sounds may be added/removed from this interface or even Minecraft itself! There is no guarantee the sounds will play. There is no guarantee values will not be removed from this interface. As such, you should not depend on the ordinal values of this class.