Commit Graph

20 Commits

Author SHA1 Message Date
Sofiane H. Djerbi
a3a6c53f66 Pathfinding fixes
Fix shulker boxes breaking pathfinding
Fix petal memory leak
Remove the thread queue
2023-08-05 02:59:48 +02:00
Sofiane H. Djerbi
8eb4a79492 Avoid manipulating null paths 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
f8abc46b5e Final changes 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
1594847f93 Set default queue to 1000 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
fd71bdebd5 Log async threads for pathfinding 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
a3c8b4a2b7 Add NodeEvaluatorType and use it in cache 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
d514f5744a 0 threads if not enabled 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
dbd96e6e84 Add thread options & improve thread control 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
6669139413 Fix TargetGoal autism 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
4327944b97 Remove redundant isDone call (Raise exception) 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
b869fc44e0 Add async pathfinding to warden 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
423b2078e8 Add processing check back 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
a6cd4d115e Add async pathfinding to WaterBound mobs & Strider 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
7e70bc76d9 Rework nodeEvaluatorGenerator cache 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
fd509ffe21 Rebase nodeEvaluatorGenerator 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
28de4d3178 [skip ci] credit peaches94 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
67b061cda6 Fix mob in the water issue 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
243f57f124 Use the correct thread context to postprocess path 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
c66ed11b44 Use local pool 2023-08-01 02:56:46 +02:00
Sofiane H. Djerbi
4edf6f9cd3 Base asyncpathprocessing patch from petal 2023-08-01 02:56:46 +02:00