From 94f4d34886fb7bd48f7cd3d8ed89dc781f80671a Mon Sep 17 00:00:00 2001 From: Ray Neiheiser Date: Mon, 4 Nov 2024 10:00:55 +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 | 17 +-- .../entity/pathfinding/PathfindingUtils.java | 33 ++--- .../MinecoloniesAdvancedPathNavigate.java | 5 +- .../pathfinding/pathjobs/AbstractPathJob.java | 90 +++++++----- .../pathjobs/PathJobFindWater.java | 5 +- .../pathjobs/PathJobRaiderPathing.java | 2 +- .../pathfinding/pathresults/PathResult.java | 111 ++++++++++++++- 12 files changed, 364 insertions(+), 159 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 @@