File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/kotlin/com/lambda/module/modules/movement Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ import net.minecraft.util.math.Vec3d
3838import kotlin.time.Duration.Companion.seconds
3939import kotlin.time.TimeSource
4040
41- object ElytraAttitudeControl : Module(
41+ object ElytraAltitudeControl : Module(
4242 name = " ElytraAttitudeControl" ,
4343 description = " Automatically control attitude or speed while elytra flying" ,
4444 tag = ModuleTag .MOVEMENT ,
@@ -114,7 +114,7 @@ object ElytraAttitudeControl : Module(
114114 - 1 * altitudeController.getOutput(targetAltitude.toDouble(), player.y) // Negative because in minecraft pitch > 0 is looking down not up
115115 }
116116 }.coerceIn(- maxPitchAngle, maxPitchAngle)
117- lookAt(Rotation (player.yaw, outputPitch.toFloat())).requestBy(this @ElytraAttitudeControl )
117+ lookAt(Rotation (player.yaw, outputPitch.toFloat())).requestBy(this @ElytraAltitudeControl )
118118
119119 if (usageDelay.timePassed(2 .seconds) && ! player.hasFirework) {
120120 if (useFireworkOnHeight && minHeight > player.y) {
You can’t perform that action at this time.
0 commit comments