From 4abf6489bbfc9d33e15325143f7c1ef7ca63741f Mon Sep 17 00:00:00 2001 From: someaddons <38401808+someaddons@users.noreply.github.com> Date: Sat, 2 Nov 2024 13:20:58 +0100 Subject: [PATCH] Pathing debug additions (#10357) * Reworked debug tracking, now also allows tracking path jobs by type and can add players to a specific pathresult for direct tracking --- .../formatter/intellij/Minecolonies.xml | 6 +- .../api/entity/pathfinding/IPathJob.java | 11 +- .../core/commands/EntryPoint.java | 133 +++++++++--------- .../citizencommands/CommandTrackType.java | 61 ++++++++ .../commands/colonycommands/CommandRaid.java | 49 ++++--- .../agriculture/EntityAIWorkFisherman.java | 16 +-- .../entity/pathfinding/PathfindingUtils.java | 33 ++--- .../MinecoloniesAdvancedPathNavigate.java | 5 +- .../pathfinding/pathjobs/AbstractPathJob.java | 92 +++++++----- .../pathjobs/PathJobFindWater.java | 5 +- .../pathjobs/PathJobRaiderPathing.java | 2 +- .../pathfinding/pathresults/PathResult.java | 111 ++++++++++++++- 12 files changed, 363 insertions(+), 161 deletions(-) create mode 100644 src/main/java/com/minecolonies/core/commands/citizencommands/CommandTrackType.java diff --git a/documentation/formatter/intellij/Minecolonies.xml b/documentation/formatter/intellij/Minecolonies.xml index 7a4d1b49b2a..4ad74daf113 100644 --- a/documentation/formatter/intellij/Minecolonies.xml +++ b/documentation/formatter/intellij/Minecolonies.xml @@ -15,6 +15,8 @@