1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-19 05:34:40 +00:00

move heuristic up to exactly equal SPRINT_ONE_BLOCK_COST

This commit is contained in:
Leijurv 2018-12-05 10:22:18 -08:00
parent c795913259
commit 101f7cb7e2
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -141,8 +141,10 @@ public class Settings {
* metric gets better and better with each block, instead of slightly worse.
* <p>
* Finding the optimal path is worth it, so it's the default.
* <p>
* This value is an expression instead of a literal so that it's exactly equal to SPRINT_ONE_BLOCK_COST defined in ActionCosts.java
*/
public Setting<Double> costHeuristic = new Setting<>(3.5D);
public Setting<Double> costHeuristic = new Setting<>(20 / 5.612);
// a bunch of obscure internal A* settings that you probably don't want to change
/**