blob: ae98cf67cdb5d40c64fdac6f6b8588f84fad59bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package com.dulkirfabric.util
import com.dulkirfabric.events.PlaySoundEvent
object Utils {
fun isInSkyblock(): Boolean {
return ScoreBoardUtils.getLines() != null
}
/**
* Prints relevant information about a sound that is being displayed
*/
fun debugSound(event: PlaySoundEvent) {
println("Path: ${event.sound.id.path}")
println("Pitch: ${event.sound.pitch}")
println("Volume: ${event.sound.volume}")
}
}
|