Minecraft-Console-Client/MinecraftClient/Commands
BruceChen 5de169db64 pathing: stabilize 0-replan round-trip on ledge/descend runs
Fix a cluster of execution-layer issues that caused replans and void
falls when traversing narrow ledges and multi-block descents between
(251.5,141,210.5) and (252.5,138,220.5):

- WalkTemplate / GroundedSegmentController: suppress the pre-rotation
  bias toward the next segment's exit heading on stable-footing Turn
  exits where the next segment is not a jump.  The next template
  snaps yaw on its first tick anyway, and pre-rotating mid-stride on
  a 1-block walkway pushes sprint drift perpendicular to the path and
  walks the bot off the edge.  Turn exits into a jump still get the
  bias so the takeoff direction stays aligned.

- GroundedSegmentController.ShouldComplete: relax the headingReady
  gate for Turn exits with stable footing so the segment can complete
  once yaw is aligned with either the current or the next segment
  heading (within 25/15 deg).  Without this the removed bias would
  leave the bot stuck at the end of a walkway waiting for a rotation
  that never happens.

- DescendTemplate: restrict the airborne exit-heading bias so it only
  kicks in when the footprint is inside the landing block, or on
  single-step drops where the fall is too short for lateral drift to
  miss the landing column.  On 2+ block drops the bot now keeps yaw
  pointed at the landing center for the whole fall.

- DescendTemplate: add a multi-block overshoot guard on PrepareJump
  exits.  Once airborne and past the landing end-plane on a 2+ Y
  drop, release forward/sprint and press back briefly so air drag
  pulls the bot back into the 1x1 landing column instead of sailing
  one block past it into the neighbouring void.

Live round-trip between the two goal coordinates now completes with
zero replans in three consecutive runs in each direction.  Full unit
test suite is unchanged from the pre-existing baseline (22 failing
tests, all orthogonal to this change).

Made-with: Cursor
2026-04-22 16:43:43 +00:00
..
AchievementCommand.cs Implement unified achievements feature: data model, protocol handling, state management, ChatBot API, and /achievement command 2026-03-29 20:22:31 +00:00
Animation.cs [skip ci] Normalize all line endings 2023-09-15 14:44:11 +08:00
Bed.cs Bug fix 2022-12-11 17:31:37 +08:00
BlockInfo.cs Bug fix 2022-12-11 17:31:37 +08:00
Bots.cs refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
ChangeSlot.cs Bug fix 2022-12-11 17:31:37 +08:00
Chunk.cs refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
Connect.cs fixed typo in word heAlper lol 2024-04-16 21:21:08 +03:00
Debug.cs pathing: tighten linear parkour execution 2026-04-18 06:14:45 +00:00
Dig.cs Auxiliary class for Direction, preparation for autodetection of the broken side of the block 2024-03-05 20:30:58 +05:00
DropItem.cs Bug fix 2022-12-11 17:31:37 +08:00
EffectsCommand.cs Implemented effects support, as a command, chat notification and added in TUI mode 2026-03-27 15:47:27 +01:00
Enchant.cs refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
Entitycmd.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
ExecIf.cs Added access to App Vars inside the Chat Bot API via 3 new methods. Added access to Random class inside the execif command 2023-03-31 18:17:03 +02:00
ExecMulti.cs Bug fix 2022-12-11 16:30:45 +08:00
Exit.cs Bug fix 2022-12-11 17:31:37 +08:00
Goto.cs pathing: stabilize 0-replan round-trip on ledge/descend runs 2026-04-22 16:43:43 +00:00
Health.cs Bug fix 2022-12-11 17:31:37 +08:00
Help.cs Bug fix 2022-12-11 16:30:45 +08:00
Inventory.cs TUI support for more container 2026-03-28 02:18:11 +08:00
List.cs Bug fix 2022-12-11 17:31:37 +08:00
Log.cs Bug fix 2022-12-11 16:30:45 +08:00
Look.cs Bugfixes to the Looking and Movement. Added General prompt engineer. 2026-04-03 19:54:26 +02:00
Minimap.cs Cave mode for minimap 2026-03-31 01:28:24 +08:00
Move.cs Bug fix 2022-12-11 17:31:37 +08:00
NameItem.cs [skip ci] Normalize all line endings 2023-09-15 14:44:11 +08:00
PathDiag.cs pathing: stabilize 0-replan round-trip on ledge/descend runs 2026-04-22 16:43:43 +00:00
Pathfind.cs feat: complete Phase 4 McClient integration for A* pathfinding 2026-04-12 18:43:32 +00:00
RecipeBook.cs fix: support 1.21.11 recipe book display ids 2026-03-29 18:45:14 +00:00
Reco.cs Bug fix 2022-12-11 17:31:37 +08:00
Reload.cs Bug fix 2022-12-11 17:31:37 +08:00
Respawn.cs Bug fix 2022-12-11 17:31:37 +08:00
Script.cs Fix script not showing execution results. 2023-01-15 19:59:57 +08:00
Send.cs Bug fix 2022-12-11 16:30:45 +08:00
Set.cs Bug fix 2022-12-11 17:31:37 +08:00
SetRnd.cs Bug fix 2022-12-11 16:30:45 +08:00
Sneak.cs Added slab handling 1.13-1.19.4 2023-05-16 23:19:31 +02:00
Tab.cs Added a /tab command 2026-04-04 16:17:49 +02:00
Teams.cs feat: add Teams packet support (parsing, state tracking, /teams command, bot API) 2026-03-30 23:41:11 +00:00
Tps.cs Bug fix 2022-12-11 17:31:37 +08:00
Tryout.cs Add tryout command for TUI onboarding 2026-03-29 01:34:10 +08:00
Upgrade.cs Bug fix 2022-12-11 17:31:37 +08:00
Useblock.cs Enhance useblock command to support hand selection 2026-03-29 22:40:43 +08:00
UseItem.cs Fixed shovel not being able to be used on dirt 2026-03-27 16:43:53 +01:00