aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-09-24 19:57:37 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-09-24 19:57:37 +0200
commit93c0a099082aad59bc7a7e09a4027d59768015a5 (patch)
treeb04d4d8ac1f4eac77c075ff2405ce53f161161ed /src/main/java/at
parentce16c33389b75823750cb5bd06b51a5f1a471424 (diff)
downloadskyhanni-93c0a099082aad59bc7a7e09a4027d59768015a5.tar.gz
skyhanni-93c0a099082aad59bc7a7e09a4027d59768015a5.tar.bz2
skyhanni-93c0a099082aad59bc7a7e09a4027d59768015a5.zip
changed lorenz test
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt b/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt
index 2e803bbdd..e7574bb85 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt
@@ -43,6 +43,18 @@ class LorenzTest {
}
fun testCommand(args: Array<String>) {
+
+// for ((i, s) in ScoreboardData.sidebarLinesFormatted().withIndex()) {
+// println("$i: '$s'")
+// }
+
+// val name = args[0]
+// val pitch = args[1].toFloat()
+// val sound = SoundUtils.createSound("note.harp", 1.35f)
+// val sound = SoundUtils.createSound("random.orb", 11.2f)
+// SoundUtils.createSound(name, pitch).playSound()
+
+
// a = args[0].toDouble()
// b = args[1].toDouble()
// c = args[2].toDouble()
@@ -104,6 +116,7 @@ class LorenzTest {
@SubscribeEvent
fun renderOverlay(event: RenderGameOverlayEvent.Post) {
+ if (event.type != RenderGameOverlayEvent.ElementType.ALL) return
if (!LorenzUtils.inSkyblock) return
if (!SkyHanniMod.feature.dev.debugEnabled) return
@@ -144,7 +157,7 @@ class LorenzTest {
}
@SubscribeEvent
- fun onSoundEvent(event: PlaySoundEvent) {
+ fun onSoundPlay(event: PlaySoundEvent) {
if (!shouldLogPackets) return
@@ -329,7 +342,7 @@ class LorenzTest {
}
@SubscribeEvent
- fun onParticleEvent(event: PlayParticleEvent) {
+ fun onParticlePlay(event: PlayParticleEvent) {
if (!shouldLogPackets) return
// val particleType = event.type