Uses of Interface
net.kyori.adventure.sound.Sound
Packages that use Sound
Package
Description
A receiver of Minecraft media.
Data for controlling sound playback.
-
Uses of Sound in net.kyori.adventure.audience
Methods in net.kyori.adventure.audience with parameters of type SoundModifier and TypeMethodDescriptiondefault voidPlays a sound at the location of the recipient of the sound.default voidPlays a sound at a location.default voidAudience.playSound(Sound sound, Sound.Emitter emitter) Plays a sound from an emitter, usually an entity.default voiddefault voiddefault voidForwardingAudience.playSound(Sound sound, Sound.Emitter emitter) default voiddefault voiddefault voidForwardingAudience.Single.playSound(Sound sound, Sound.Emitter emitter) default voidStops a sound. -
Uses of Sound in net.kyori.adventure.sound
Subinterfaces with type arguments of type Sound in net.kyori.adventure.soundModifier and TypeInterfaceDescriptionstatic interfaceA builder for sound instances.Methods in net.kyori.adventure.sound that return SoundModifier and TypeMethodDescriptionstatic SoundSound.sound(Consumer<Sound.Builder> configurer) Create a newSoundinstance configured by the provided function.static SoundSound.sound(Supplier<? extends Sound.Type> type, Sound.Source.Provider source, float volume, float pitch) Creates a new sound.static SoundSound.sound(Supplier<? extends Sound.Type> type, Sound.Source source, float volume, float pitch) Creates a new sound.static SoundSound.sound(Key name, Sound.Source.Provider source, float volume, float pitch) Creates a new sound.static SoundSound.sound(Key name, Sound.Source source, float volume, float pitch) Creates a new sound.static SoundSound.sound(Sound.Type type, Sound.Source.Provider source, float volume, float pitch) Creates a new sound.static SoundSound.sound(Sound.Type type, Sound.Source source, float volume, float pitch) Creates a new sound.Methods in net.kyori.adventure.sound with parameters of type Sound