aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-06-30 23:53:15 -0500
committeringlettronald <inglettronald@gmail.com>2023-06-30 23:53:15 -0500
commitb47a1f596e85358a834f0dc105010be79cd5b2c2 (patch)
tree2e5d6a53fc643329d6126fe41bf204307c32bba4 /src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
parentc43cbe3c2883a60e00533c5f32449f4a35f308b5 (diff)
downloadDulkirMod-Fabric-b47a1f596e85358a834f0dc105010be79cd5b2c2.tar.gz
DulkirMod-Fabric-b47a1f596e85358a834f0dc105010be79cd5b2c2.tar.bz2
DulkirMod-Fabric-b47a1f596e85358a834f0dc105010be79cd5b2c2.zip
Option added to hide Status Effects
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 4fb42a8..408d180 100644
--- a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
+++ b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
@@ -77,6 +77,9 @@ class DulkirConfig {
entryBuilder.mkToggle(Text.literal("Ignore Reverse Third Person"), configOptions::ignoreReverseThirdPerson)
)
general.addEntry(
+ entryBuilder.mkToggle(Text.literal("Disable Status Effect Rendering"), configOptions::statusEffectHidden)
+ )
+ general.addEntry(
entryBuilder.mkToggle(Text.literal("Custom Block outlines"), configOptions::customBlockOutlines)
)
general.addEntry(
@@ -148,7 +151,8 @@ class DulkirConfig {
var blockOutlineColor: Int = 0xFFFFFF,
var abiPhoneDND: Boolean = false,
var abiPhoneCallerID: Boolean = false,
- var tooltipScale: Float = 1f
+ var tooltipScale: Float = 1f,
+ var statusEffectHidden: Boolean = false
)
@Serializable