privatized

This commit is contained in:
Leijurv 2018-08-05 09:24:40 -04:00
parent cc29bd16e7
commit 6b0bc568de
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -1,6 +1,5 @@
package baritone.bot.pathing.calc; package baritone.bot.pathing.calc;
import baritone.bot.pathing.calc.PathNode;
import baritone.bot.pathing.goals.Goal; import baritone.bot.pathing.goals.Goal;
import baritone.bot.pathing.movement.Movement; import baritone.bot.pathing.movement.Movement;
import baritone.bot.pathing.path.IPath; import baritone.bot.pathing.path.IPath;
@ -19,23 +18,23 @@ class Path implements IPath {
/** /**
* The start position of this path * The start position of this path
*/ */
public final BlockPos start; final BlockPos start;
/** /**
* The end position of this path * The end position of this path
*/ */
public final BlockPos end; final BlockPos end;
/** /**
* The goal that this path is attempting to accomplish * The goal that this path is attempting to accomplish
*/ */
public final Goal goal; final Goal goal;
/** /**
* The blocks on the path. Guaranteed that path.get(0) equals start and * The blocks on the path. Guaranteed that path.get(0) equals start and
* path.get(path.size()-1) equals end * path.get(path.size()-1) equals end
*/ */
public final List<BlockPos> path; final List<BlockPos> path;
final List<Movement> movements; final List<Movement> movements;
@ -53,7 +52,7 @@ class Path implements IPath {
* Assembles this path given the start and end nodes. * Assembles this path given the start and end nodes.
* *
* @param start The start node * @param start The start node
* @param end The end node * @param end The end node
*/ */
private void assemblePath(PathNode start, PathNode end) { private void assemblePath(PathNode start, PathNode end) {
if (!path.isEmpty() || !movements.isEmpty()) { if (!path.isEmpty() || !movements.isEmpty()) {