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: src/main/kotlin/com/lambda/module/modules/movement/elytrafly/modes/GrimControlElytraFly.kt
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,8 @@ class GrimControlElytraFly(
47
47
overridevalc:Config
48
48
) : ElytraFlyMode(FlyMode.GrimControl) {
49
49
privateval inventory by c.setting("Inventory", true, "Allow using fireworks from the players inventory")
50
-
privateval upDownAngle by c.setting("Up/Down Angle", 20f, 0f..90f, 0.1f)
50
+
privateval upAngle by c.setting("Up Angle", 45f, 0f..90f, 0.1f)
51
+
privateval downAngle by c.setting("Down Angle", 20f, 0f..90f, 0.1f)
51
52
val flipFlopMode by c.setting("Flip Flop Mode", FlipFlopMode.None)
52
53
privateval packetGap by c.setting("Packet Gap", 20, 0..100, 1, "The gap between allowing player movement packets to pass") { flipFlopMode !=FlipFlopMode.None }
53
54
@@ -94,12 +95,12 @@ class GrimControlElytraFly(
94
95
}
95
96
if (mc.options.jumpKey.isPressed) {
96
97
vec =
97
-
if (specificYaw) Vec3d.fromPolar(-upDownAngle, vec.yawAndPitch.y)
98
+
if (specificYaw) Vec3d.fromPolar(-upAngle, vec.yawAndPitch.y)
98
99
elseVec3d.fromPolar(-90f, yaw)
99
100
}
100
101
if (mc.options.sneakKey.isPressed) {
101
102
vec =
102
-
if (specificYaw) Vec3d.fromPolar(upDownAngle, vec.yawAndPitch.y)
103
+
if (specificYaw) Vec3d.fromPolar(downAngle, vec.yawAndPitch.y)
0 commit comments