aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin')
-rw-r--r--src/main/kotlin/dulkirmod/config/DulkirConfig.kt10
-rw-r--r--src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt4
2 files changed, 12 insertions, 2 deletions
diff --git a/src/main/kotlin/dulkirmod/config/DulkirConfig.kt b/src/main/kotlin/dulkirmod/config/DulkirConfig.kt
index 587c6ba..df49b52 100644
--- a/src/main/kotlin/dulkirmod/config/DulkirConfig.kt
+++ b/src/main/kotlin/dulkirmod/config/DulkirConfig.kt
@@ -695,7 +695,7 @@ object DulkirConfig : Config(Mod("DulkirMod", ModType.SKYBLOCK), "dulkirmod-conf
var witherKeyDisplayHUD: KeyHud = KeyHud()
@HUD(
- name = "Pitch/Yaw Display",
+ name = "Pitch/Yaw Display in Garden",
category = "HUD",
subcategory = "Farming"
)
@@ -717,6 +717,14 @@ object DulkirConfig : Config(Mod("DulkirMod", ModType.SKYBLOCK), "dulkirmod-conf
)
var yaw3Decimals = false
+ @Switch(
+ name = "Display outside garden",
+ description = "why do you need this",
+ category = "HUD",
+ subcategory = "Farming"
+ )
+ var showYawEverywhere = false
+
@HUD(
name = "Garden Info Display",
category = "HUD",
diff --git a/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt b/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt
index abed145..eb6555b 100644
--- a/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt
+++ b/src/main/kotlin/dulkirmod/overlays/YawDisplayHud.kt
@@ -9,7 +9,9 @@ import dulkirmod.utils.Utils
class YawDisplayHud : TextHud(false) {
override fun getLines(lines: MutableList<String>?, example: Boolean) {
if (!Utils.isInSkyblock()) return
- if (TabListUtils.area != "Garden") return
+ if (!DulkirConfig.showYawEverywhere) {
+ if (TabListUtils.area != "Garden") return
+ }
val pitch = mc.thePlayer.rotationPitch
var yaw = mc.thePlayer.rotationYaw % 360f