diff options
author | inglettronald <inglettronald@gmail.com> | 2023-07-18 12:27:13 -0500 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-07-18 12:27:13 -0500 |
commit | 053db047a053cfa4b510d872802434a922275326 (patch) | |
tree | 799e113dcc22c85432ef355d5919ebb0f61a36f9 /src/main/kotlin/com/dulkirfabric/config/DulkirConfig.kt | |
parent | 9cd4efc009d45dd671908e8cdc3477aaf14550e6 (diff) | |
download | DulkirMod-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.kt | 6 |
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 |