mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Add path execution telemetry and scenario runner
This commit is contained in:
parent
9fe376a3bb
commit
b9bff02107
8 changed files with 215 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue