aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java
diff options
context:
space:
mode:
authorolim <bobq4582@gmail.com>2024-06-20 15:45:06 +0100
committerolim <bobq4582@gmail.com>2024-07-15 12:38:00 +0100
commitd5df86992795ac29a19ef8450e60ef5e7ee942f0 (patch)
tree02e795405887cd7cb9983d45c4ea15458edb3d21 /src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java
parent9af3163bb47a79e843c60b33f75ab7b515eaadfa (diff)
downloadSkyblocker-d5df86992795ac29a19ef8450e60ef5e7ee942f0.tar.gz
Skyblocker-d5df86992795ac29a19ef8450e60ef5e7ee942f0.tar.bz2
Skyblocker-d5df86992795ac29a19ef8450e60ef5e7ee942f0.zip
fix command and increase accuracy
fix clickable command text and use more particles for wishing compass making it a lot more accurate
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java')
-rw-r--r--src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java b/src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java
index ce1fdf55..338012e7 100644
--- a/src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java
+++ b/src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java
@@ -57,7 +57,7 @@ public class WishingCompassSolver {
/**
* how many particles to use to get direction of a line
*/
- private static final long PARTICLES_PER_LINE = 25;
+ private static final long PARTICLES_PER_LINE = 50;
/**
* the amount of milliseconds to wait for the next particle until assumed failed
*/
@@ -65,7 +65,7 @@ public class WishingCompassSolver {
/**
* the distance the player has to be from where they used the first compass to where they use the second
*/
- private static final long DISTANCE_BETWEEN_USES = 32;
+ private static final long DISTANCE_BETWEEN_USES = 8;
private static SolverStates currentState = SolverStates.NOT_STARTED;
private static Vec3d startPosOne = Vec3d.ZERO;