4.0 KiB
4.0 KiB
title
title |
---|
KSpigotSound - |
//KSpigot/net.axay.kspigot.sound/KSpigotSound
KSpigotSound
[jvm] data class KSpigotSound(sound: Sound, volume: Float, pitch: Float, category: SoundCategory?)
Functions
Name | Summary |
---|---|
component1 | [jvm] Content operator fun component1(): Sound |
component2 | [jvm] Content operator fun component2(): Float |
component3 | [jvm] Content operator fun component3(): Float |
component4 | [jvm] Content operator fun component4(): SoundCategory? |
copy | [jvm] Content fun copy(sound: Sound, volume: Float, pitch: Float, category: SoundCategory?): KSpigotSound |
equals | [jvm] Content open operator override fun equals(other: Any?): Boolean |
hashCode | [jvm] Content open override fun hashCode(): Int |
playAt | [jvm] Brief description Plays the sound at the location. It will be audible for everyone near it. Content fun playAt(loc: Location) |
playFor | [jvm] Brief description Plays the sound at the location of the player. It will be only audible for the player. Content fun playFor(player: Player) |
toString | [jvm] Content open override fun toString(): String |
Properties
Name | Summary |
---|---|
category | [jvm] var category: SoundCategory? |
pitch | [jvm] var pitch: Float |
sound | [jvm] val sound: Sound |
volume | [jvm] var volume: Float |