mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-29 13:04:59 +00:00
feat: add transition-aware path execution core
This commit is contained in:
parent
7ad0a57a3e
commit
360883acf3
14 changed files with 755 additions and 94 deletions
|
|
@ -10,6 +10,7 @@ namespace MinecraftClient.Pathing.Execution
|
|||
public required Location End { get; init; }
|
||||
public required MoveType MoveType { get; init; }
|
||||
public PathTransitionType ExitTransition { get; init; } = PathTransitionType.FinalStop;
|
||||
public PathTransitionHints ExitHints { get; init; } = PathTransitionHints.Default;
|
||||
public bool PreserveSprint { get; init; }
|
||||
|
||||
public int HeadingX => Math.Sign(End.X - Start.X);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue