mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
17 lines
862 B
C#
17 lines
862 B
C#
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);
|
|
}
|
|
}
|