Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import com.lambda.interaction.managers.interacting.InteractManager
import com.lambda.module.Module
import com.lambda.module.tag.ModuleTag
import com.lambda.util.math.MathUtils.toDouble
import com.lambda.util.player.MovementUtils.jumping
import com.lambda.util.player.MovementUtils.roundedForward
import com.lambda.util.player.MovementUtils.roundedStrafing
import com.lambda.util.player.MovementUtils.sneaking
Expand All @@ -49,6 +50,7 @@ object AutoWalk : Module(
@Group(MOVEMENT_GROUP) private val strafeRight by setting("Strafe Right", false, "Automatically strafes right")
@Group(MOVEMENT_GROUP) private val sneak by setting("Sneak", false, "Automatically sneaks")
@Group(MOVEMENT_GROUP) private val sprint by setting("Sprint", false, "Automatically sprints")
@Group(MOVEMENT_GROUP) private val jump by setting("Jump", false, "Automatically holds jump")

@Group(PAUSING_GROUP) private val pauseWhileMining by setting("Pause While Mining", false, "Pauses walking while breaking blocks or when breaks are queued")
@Group(PAUSING_GROUP) private val pauseWhilePlacing by setting("Pause While Placing", false, "Pauses walking while placing blocks or when places are queued - only works with blocks placed by a lambda module")
Expand Down Expand Up @@ -94,6 +96,7 @@ object AutoWalk : Module(
input.update(
forward = forward,
strafe = strafe,
jump = jump || input.jumping,
sneak = sneak || input.sneaking,
sprint = sprint || input.sprinting
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ object Freecam : Module(
it.cancel()
}

listen<MovementEvent.InputUpdate> { event ->
listen<MovementEvent.InputUpdate>({ 1 }) { event -> // Higher priority than auto walk so it's input survives the cancel below
mc.options.perspective = Perspective.FIRST_PERSON

// Don't block baritone from working
Expand Down