Uses of Interface
net.kyori.adventure.sound.Sound.Builder
Packages that use Sound.Builder
-
Uses of Sound.Builder in net.kyori.adventure.sound
Methods in net.kyori.adventure.sound that return Sound.BuilderModifier and TypeMethodDescriptionSound.Builder.pitch(@Range(from=-1L,to=1L) float pitch) The pitch for this sound, indicating how high or low the sound can be heard.Sound.Builder.seed(long seed) The seed for this sound, used for weighted choices.Sound.Builder.seed(OptionalLong seed) The seed for this sound, used for weighted choices.static Sound.BuilderSound.sound()Create a new builder forSoundinstances.static Sound.BuilderCreate a new builder forSoundinstances.Sound.Builder.source(Sound.Source source) ASound.Sourceto tell the game where the sound is coming from.Sound.Builder.source(Sound.Source.Provider source) ASound.Sourceto tell the game where the sound is coming from.Sound.Builder.type(Supplier<? extends Sound.Type> typeSupplier) Set the type of this sound.Set the type of this sound.Sound.Builder.type(Sound.Type type) Set the type of this sound.Sound.Builder.volume(@Range(from=0L,to=2147483647L) float volume) The volume for this sound, indicating how far away it can be heard.Method parameters in net.kyori.adventure.sound with type arguments of type Sound.BuilderModifier and TypeMethodDescriptionstatic SoundSound.sound(Consumer<Sound.Builder> configurer) Create a newSoundinstance configured by the provided function.