aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt')
-rw-r--r--src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
index 75bd592..3407738 100644
--- a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
+++ b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
@@ -104,6 +104,9 @@ class DulkirConfig {
general.addEntry(
entryBuilder.mkToggle(Text.literal("Disable Explosion Particles"), configOptions::disableExplosionParticles)
)
+ general.addEntry(
+ entryBuilder.mkToggle(Text.literal("Durability-Based Cooldown Display"), configOptions::duraCooldown)
+ )
val shortcuts = builder.getOrCreateCategory(Text.literal("Shortcuts"))
shortcuts.addEntry(
@@ -160,7 +163,8 @@ class DulkirConfig {
var tooltipScale: Float = 1f,
var statusEffectHidden: Boolean = false,
var inactiveEffigyDisplay: Boolean = false,
- var disableExplosionParticles: Boolean = false
+ var disableExplosionParticles: Boolean = false,
+ var duraCooldown: Boolean = false
)
@Serializable