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
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,8 @@ object ViewModel : Module(
33
33
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") { page ==Page.General }
34
34
val oldAnimations by setting("Old Animations", false, "Adjusts the animations to look like they did in 1.8") { page ==Page.General }
35
35
val swapAnimation by setting("Swap Animation", true, "If disabled, removes the drop down animation when swapping item") { page ==Page.General&& oldAnimations }
36
-
val shadow by setting("Shadows", true, "If disabled, removes shadows on the model") { page ==Page.General }
36
+
//ToDo: Implement
37
+
// val shadow by setting("Shadows", true, "If disabled, removes shadows on the model") { page == Page.General }
37
38
38
39
privateval splitScale by setting("Split Scale", false, "Splits left and right hand scale settings") { page ==Page.Scale }
39
40
privateval xScale by setting("X Scale", 1.0f, -1.0f..1.0f, 0.025f) { page ==Page.Scale&&!splitScale }.apply { onValueChange { _, to -> leftXScale = to; rightXScale = to } }
@@ -77,17 +78,17 @@ object ViewModel : Module(
77
78
privatevar rightFovAnchorDistance by setting("Right Anchor Distance", 0.5f, 0.0f..1.0f, 0.01f, "The distance to anchor the right FOV transformation from") { page ==Page.Fov&& splitFov }
78
79
79
80
privateval enableHand by setting("Hand", false, "Enables settings for the players hand") { page ==Page.Hand }
80
-
privateval handXScale by setting("Hand X Scale", 1.0f, -1.0f..1.0f, 0.025f) { page ==Page.Hand }
81
-
privateval handYScale by setting("Hand Y Scale", 1.0f, -1.0f..1.0f, 0.025f) { page ==Page.Hand }
82
-
privateval handZScale by setting("Hand Z Scale", 1.0f, -1.0f..1.0f, 0.025f) { page ==Page.Hand }
83
-
privateval handXPosition by setting("Hand X Position", 0.0f, -1.0f..1.0f, 0.025f) { page ==Page.Hand }
84
-
privateval handYPosition by setting("Hand Y Position", 0.0f, -1.0f..1.0f, 0.025f) { page ==Page.Hand }
85
-
privateval handZPosition by setting("Hand Z Position", 0.0f, -1.0f..1.0f, 0.025f) { page ==Page.Hand }
86
-
privateval handXRotation by setting("Hand X Rotation", 0, -180..180, 1) { page ==Page.Hand }
87
-
privateval handYRotation by setting("Hand Y Rotation", 0, -180..180, 1) { page ==Page.Hand }
88
-
privateval handZRotation by setting("Hand Z Rotation", 0, -180..180, 1) { page ==Page.Hand }
0 commit comments