aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/test/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test/command')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/command/TrackParticlesCommand.kt10
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/command/TrackSoundsCommand.kt8
2 files changed, 9 insertions, 9 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/command/TrackParticlesCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/command/TrackParticlesCommand.kt
index a48294bd8..bdcb935bb 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/command/TrackParticlesCommand.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/command/TrackParticlesCommand.kt
@@ -112,19 +112,19 @@ object TrackParticlesCommand {
if (value.size != 1) {
event.drawDynamicText(key, "§e${value.size} particles", 0.8)
- var offset = -0.2
+ var offset = 0.2
value.groupBy { it.type }.forEach { (particleType, particles) ->
- event.drawDynamicText(key.up(offset), "§7§l$particleType §7(§e${particles.size}§7)", 0.8)
- offset -= 0.2
+ event.drawDynamicText(key.down(offset), "§7§l$particleType §7(§e${particles.size}§7)", 0.8)
+ offset += 0.2
}
} else {
val particle = value.first()
event.drawDynamicText(key, "§7§l${particle.type}", 0.8)
event.drawDynamicText(
- key.up(-0.2),
+ key.down(0.2),
"§7C: §e${particle.count} §7S: §a${particle.speed.roundTo(2)}",
- scaleMultiplier = 0.8
+ scaleMultiplier = 0.8,
)
}
}
diff --git a/src/main/java/at/hannibal2/skyhanni/test/command/TrackSoundsCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/command/TrackSoundsCommand.kt
index 18cfcf786..c038d8098 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/command/TrackSoundsCommand.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/command/TrackSoundsCommand.kt
@@ -114,10 +114,10 @@ object TrackSoundsCommand {
if (value.size != 1) {
event.drawDynamicText(key, "§e${value.size} sounds", 0.8)
- var offset = -0.2
+ var offset = 0.2
value.groupBy { it.soundName }.forEach { (soundName, sounds) ->
- event.drawDynamicText(key.up(offset), "§7§l$soundName §7(§e${sounds.size}§7)", 0.8)
- offset -= 0.2
+ event.drawDynamicText(key.down(offset), "§7§l$soundName §7(§e${sounds.size}§7)", 0.8)
+ offset += 0.2
}
} else {
val sound = value.first()
@@ -129,7 +129,7 @@ object TrackSoundsCommand {
event.drawDynamicText(key, "§7§l${sound.soundName}", 0.8)
event.drawDynamicText(
- key.up(-0.2),
+ key.down(0.2),
"§7P: §e${sound.pitch.roundTo(2)} §7V: $volumeColor${sound.volume.roundTo(2)}",
scaleMultiplier = 0.8,
)