Add path execution telemetry and scenario runner

This commit is contained in:
BruceChen 2026-04-13 16:36:11 +00:00
parent 9fe376a3bb
commit b9bff02107
8 changed files with 215 additions and 4 deletions

View file

@ -0,0 +1,17 @@
using System.Collections.Generic;
using MinecraftClient.Mapping;
namespace MinecraftClient.Pathing.Execution.Telemetry
{
public interface IPathExecutionObserver
{
void OnNavigationStarted(IReadOnlyList<PathSegment> segments);
void OnSegmentStarted(int segmentIndex, int totalSegments, PathSegment segment);
void OnSegmentCompleted(int segmentIndex, int totalSegments, PathSegment segment, int elapsedTicks, Location position);
void OnSegmentFailed(int segmentIndex, int totalSegments, PathSegment segment, int elapsedTicks, Location position);
void OnNavigationCompleted(int totalTicks);
void OnReplanStarted(int replanCount, Location position);
void OnReplanSucceeded(int replanCount, IReadOnlyList<PathSegment> segments);
void OnReplanFailed(int replanCount, Location position);
}
}