mirror of https://github.com/cabaletta/baritone
Add hit pos raytrace method to context
This commit is contained in:
parent
4590ba3ff8
commit
d32f1b2a16
|
@ -108,6 +108,10 @@ public final class NetherPathfinderContext {
|
||||||
throw new IllegalArgumentException("lol");
|
throw new IllegalArgumentException("lol");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void raytrace(final int count, final double[] src, final double[] dst, final boolean[] hitsOut, final double[] hitPosOut) {
|
||||||
|
NetherPathfinder.raytrace(this.context, true, count, src, dst, hitsOut, hitPosOut);
|
||||||
|
}
|
||||||
|
|
||||||
public void cancel() {
|
public void cancel() {
|
||||||
NetherPathfinder.cancel(this.context);
|
NetherPathfinder.cancel(this.context);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue