24 lines
1.6 KiB
Markdown
24 lines
1.6 KiB
Markdown
---
|
|
title: net.axay.kspigot.sound -
|
|
---
|
|
//[KSpigot](../index.md)/[net.axay.kspigot.sound](index.md)
|
|
|
|
|
|
|
|
# Package net.axay.kspigot.sound
|
|
|
|
|
|
## Types
|
|
|
|
| Name| Summary|
|
|
|---|---|
|
|
| [KSpigotSound](-k-spigot-sound/index.md)| [jvm] <br>Content <br>data class [KSpigotSound](-k-spigot-sound/index.md)(**sound**: Sound, **volume**: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html), **pitch**: [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html), **category**: SoundCategory?) <br><br><br>
|
|
|
|
|
|
## Functions
|
|
|
|
| Name| Summary|
|
|
|---|---|
|
|
| [sound](sound.md)| [jvm] <br>Brief description <br><br><br>Accesses the sound builder.<br><br> <br>Content <br>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) <br><br><br>[jvm] <br>Brief description <br><br><br>Accesses the sound builder and then immediately plays the sound at the given location.<br><br> <br>Content <br>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)?) <br><br><br>[jvm] <br>Brief description <br><br><br>Accesses the sound builder and then immediately plays the sound for the player.<br><br> <br>Content <br>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)?) <br><br><br>
|
|
|