You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: common/src/main/kotlin/com/lambda/module/modules/render/ViewModel.kt
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -24,18 +24,19 @@ object ViewModel : Module(
24
24
privateval ignoreHand by setting("Ignore Hand", false, "Prevents adjusting the players hand", visibility = { page ==Page.General })
25
25
privateval swingMode by setting("Swing Mode", SwingMode.Standard, "Changes which hands swing", visibility = { page ==Page.General })
26
26
val swingSpeed by setting("Swing Speed", 6, 0..20, 1, "Adjusts how fast the player swings", visibility = { page ==Page.General })
27
-
val swingProgress by setting("Swing Progress", 0.0f, 0.0f..1.0f, 0.025f, "Renders as if the player was this progress through the swing animation", visibility = { page ==Page.General })
28
-
val oldSwingAnimation by setting("Old Swing Animation", false, "Adjusts the swing animation to what it looked like in 1.8", visibility = { page ==Page.General })
29
-
val swapAnimation by setting("Swap Animation", true, "If disabled, it removes the drop down animation when swapping item", visibility = { page ==Page.General })
27
+
val mainSwingProgress by setting("Main Swing Progress", 0.0f, 0.0f..1.0f, 0.025f, "Renders as if the players main hand was this progress through the swing animation", visibility = { page ==Page.General })
28
+
val offhandSwingProgress by setting("Offhand Swing Progress", 0.0f, 0.0f..1.0f, 0.025f, "Renders as if the players offhand was this progress through the swing animation", visibility = { page ==Page.General })
29
+
val oldAnimations by setting("Old Animations", false, "Adjusts the animations to look like they did in 1.8", visibility = { page ==Page.General })
30
+
val swapAnimation by setting("Swap Animation", true, "If disabled, it removes the drop down animation when swapping item", visibility = { page ==Page.General&& oldAnimations })
30
31
val shadow by setting("Shadows", true, "If disabled, it removes shadows on the model", visibility = { page ==Page.General })
31
32
32
33
privateval linkedScale by setting("Linked Scale", true, "Links both hands scale settings", visibility = { page ==Page.Scale })
33
34
privateval leftXScale by setting("Left X Scale", 1.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale }).apply { onValueChange { _, to ->if (linkedScale) rightXScale = to } }
34
35
privateval leftYScale by setting("Left Y Scale", 1.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale }).apply { onValueChange { _, to ->if (linkedScale) rightYScale = to } }
35
36
privateval leftZScale by setting("Left Z Scale", 1.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale }).apply { onValueChange { _, to ->if (linkedScale) rightZScale = to } }
36
-
privatevar rightXScale by setting("Right X Scale", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale&&!linkedScale })
37
-
privatevar rightYScale by setting("Right Y Scale", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale&&!linkedScale })
38
-
privatevar rightZScale by setting("Right Z Scale", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale&&!linkedScale })
37
+
privatevar rightXScale by setting("Right X Scale", 1.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale&&!linkedScale })
38
+
privatevar rightYScale by setting("Right Y Scale", 1.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale&&!linkedScale })
39
+
privatevar rightZScale by setting("Right Z Scale", 1.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Scale&&!linkedScale })
39
40
40
41
privateval linkedPosition by setting("Linked Position", true, "Links both hands position settings", visibility = { page ==Page.Position })
41
42
privateval leftXPosition by setting("Left X Position", 0.0f, -1.0f..1.0f, 0.025f, visibility = { page ==Page.Position }).apply { onValueChange { _, to ->if (linkedPosition) rightXPosition = to } }
0 commit comments