aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/dulkirmod')
-rw-r--r--src/main/kotlin/dulkirmod/DulkirMod.kt7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/kotlin/dulkirmod/DulkirMod.kt b/src/main/kotlin/dulkirmod/DulkirMod.kt
index c6aa4ab..b03b770 100644
--- a/src/main/kotlin/dulkirmod/DulkirMod.kt
+++ b/src/main/kotlin/dulkirmod/DulkirMod.kt
@@ -96,22 +96,27 @@ class DulkirMod {
@SubscribeEvent
fun onKey(event: KeyInputEvent) {
if (keyBinds[0].isPressed) display = config.gui()
+ if (keyBinds[1].isPressed) Config.noReverse3rdPerson = !Config.noReverse3rdPerson
+ if (keyBinds[2].isPressed) skytilsWaterSolver = !skytilsWaterSolver
}
companion object {
const val MOD_ID = "dulkirmod"
const val MOD_NAME = "Dulkir Mod"
- const val MOD_VERSION = "1.0.5"
+ const val MOD_VERSION = "1.0.6"
const val CHAT_PREFIX = "<DulkirMod>"
val mc: Minecraft = Minecraft.getMinecraft()
var config = Config
var display: GuiScreen? = null
+ var skytilsWaterSolver = false
val scope = CoroutineScope(EmptyCoroutineContext)
val titleUtils = TitleUtils()
val keyBinds = arrayOf(
KeyBinding("Open Settings", Keyboard.KEY_RSHIFT, "Dulkir Mod"),
+ KeyBinding("Toggle Selfie Setting", Keyboard.KEY_NONE, "Dulkir Mod"),
+ KeyBinding("Toggle Skytils WaterSolver", Keyboard.KEY_NONE, "Dulkir Mod"),
)
}