aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-07-18 12:27:13 -0500
committeringlettronald <inglettronald@gmail.com>2023-07-18 12:27:13 -0500
commit053db047a053cfa4b510d872802434a922275326 (patch)
tree799e113dcc22c85432ef355d5919ebb0f61a36f9 /src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
parent9cd4efc009d45dd671908e8cdc3477aaf14550e6 (diff)
downloadDulkirMod-Fabric-053db047a053cfa4b510d872802434a922275326.tar.gz
DulkirMod-Fabric-053db047a053cfa4b510d872802434a922275326.tar.bz2
DulkirMod-Fabric-053db047a053cfa4b510d872802434a922275326.zip
More Entity/Animation fixes
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, 6 insertions, 0 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
index b612156..0b04c0f 100644
--- a/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
+++ b/src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt
@@ -189,6 +189,11 @@ class DulkirConfig {
}
.build()
)
+ animations.addEntry(
+ entryBuilder.startIntSlider(Text.literal("rotationZ"), configOptions.handSwingDuration, 2, 15)
+ .setSaveConsumer { newValue -> configOptions.handSwingDuration = newValue }
+ .build()
+ )
builder.transparentBackground()
@@ -222,6 +227,7 @@ class DulkirConfig {
var heldItemScale: Float = 0f,
var duraCooldown: Boolean = false,
var alarmTimeout: Int = 300,
+ var handSwingDuration: Int = 6
)
@Serializable