73 lines
1.4 KiB
Markdown
73 lines
1.4 KiB
Markdown
---
|
|
title: sound -
|
|
---
|
|
//[KSpigot](../index.md)/[net.axay.kspigot.sound](index.md)/[sound](sound.md)
|
|
|
|
|
|
|
|
# sound
|
|
[jvm]
|
|
Brief description
|
|
|
|
|
|
Accesses the sound builder.
|
|
|
|
|
|
|
|
## See also
|
|
|
|
jvm
|
|
|
|
| Name| Summary|
|
|
|---|---|
|
|
| [KSpigotSound](-k-spigot-sound/index.md)| <br><br><br><br>
|
|
|
|
|
|
Content
|
|
fun [sound](sound.md)(sound: Sound, builder: [KSpigotSound](-k-spigot-sound/index.md).() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)): [KSpigotSound](-k-spigot-sound/index.md)
|
|
|
|
|
|
[jvm]
|
|
Brief description
|
|
|
|
|
|
Accesses the sound builder and then immediately plays the sound at the given location.
|
|
|
|
|
|
|
|
## See also
|
|
|
|
jvm
|
|
|
|
| Name| Summary|
|
|
|---|---|
|
|
| [KSpigotSound](-k-spigot-sound/index.md)| <br><br><br><br>
|
|
|
|
|
|
Content
|
|
fun Location.[sound](sound.md)(sound: Sound, builder: [KSpigotSound](-k-spigot-sound/index.md).() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)?)
|
|
|
|
|
|
[jvm]
|
|
Brief description
|
|
|
|
|
|
Accesses the sound builder and then immediately plays the sound for the player.
|
|
|
|
|
|
|
|
## See also
|
|
|
|
jvm
|
|
|
|
| Name| Summary|
|
|
|---|---|
|
|
| [KSpigotSound](-k-spigot-sound/index.md)| <br><br><br><br>
|
|
|
|
|
|
Content
|
|
fun Player.[sound](sound.md)(sound: Sound, builder: [KSpigotSound](-k-spigot-sound/index.md).() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)?)
|
|
|
|
|
|
|