mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-29 13:04:59 +00:00
feat: complete Phase 4 McClient integration for A* pathfinding
- Fix MoveHelper.IsOpenGate: MangroveWood -> MangroveFenceGate - Fix ResetStateForTransfer to cancel and clear pathSegmentManager - Fix GetCurrentMovementGoal to return correct goal during A* navigation - Fix SetMovementSpeed(Sneak) speed value consistency (2 -> 1) - Migrate /pathfind command to use MoveToAStar + PathSegmentManager - Add NavigateToGoal(IGoal) to McClient for flexible goal navigation - Refactor MoveToAStar to delegate to NavigateToGoal - Add ChatBot API: NavigateTo, CancelMovement, GetCurrentMovementGoal - Expose PathSegmentManager.Goal property for external goal inspection Made-with: Cursor
This commit is contained in:
parent
53082d387e
commit
8ece75acc3
5 changed files with 78 additions and 113 deletions
|
|
@ -23,6 +23,7 @@ namespace MinecraftClient.Pathing.Execution
|
|||
|
||||
public bool IsNavigating => _executor is not null && !_executor.IsComplete;
|
||||
public int ReplanCount => _replanCount;
|
||||
public IGoal? Goal => _goal;
|
||||
|
||||
public PathSegmentManager(Action<string>? debugLog = null, Action<string>? infoLog = null)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ namespace MinecraftClient.Pathing.Moves
|
|||
{
|
||||
return mat is Material.AcaciaFenceGate or Material.BirchFenceGate
|
||||
or Material.CrimsonFenceGate or Material.DarkOakFenceGate
|
||||
or Material.JungleFenceGate or Material.MangroveWood
|
||||
or Material.JungleFenceGate or Material.MangroveFenceGate
|
||||
or Material.OakFenceGate or Material.SpruceFenceGate
|
||||
or Material.WarpedFenceGate or Material.CherryFenceGate
|
||||
or Material.BambooFenceGate or Material.PaleOakFenceGate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue