From 4d7e74365b5bfe3f5865f958cc2893d812b2fad0 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Fri, 21 Dec 2018 17:54:16 -0800 Subject: [PATCH] reformat --- src/api/java/baritone/api/pathing/calc/IPathFinder.java | 1 - src/api/java/baritone/api/pathing/goals/Goal.java | 2 -- .../java/baritone/pathing/calc/AbstractNodeCostSearch.java | 7 +++---- .../java/baritone/utils/player/PrimaryPlayerContext.java | 1 - 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/api/java/baritone/api/pathing/calc/IPathFinder.java b/src/api/java/baritone/api/pathing/calc/IPathFinder.java index 7f73693f..ab04b3f2 100644 --- a/src/api/java/baritone/api/pathing/calc/IPathFinder.java +++ b/src/api/java/baritone/api/pathing/calc/IPathFinder.java @@ -36,7 +36,6 @@ public interface IPathFinder { * * @param primaryTimeout If a path is found, the path finder will stop after this amount of time * @param failureTimeout If a path isn't found, the path finder will continue for this amount of time - * * @return The final path */ PathCalculationResult calculate(long primaryTimeout, long failureTimeout); diff --git a/src/api/java/baritone/api/pathing/goals/Goal.java b/src/api/java/baritone/api/pathing/goals/Goal.java index 1ecf2dfb..acee68db 100644 --- a/src/api/java/baritone/api/pathing/goals/Goal.java +++ b/src/api/java/baritone/api/pathing/goals/Goal.java @@ -33,7 +33,6 @@ public interface Goal { * @param x The goal X position * @param y The goal Y position * @param z The goal Z position - * * @return Whether or not it satisfies this goal */ boolean isInGoal(int x, int y, int z); @@ -44,7 +43,6 @@ public interface Goal { * @param x The goal X position * @param y The goal Y position * @param z The goal Z position - * * @return The estimate number of ticks to satisfy the goal */ double heuristic(int x, int y, int z); diff --git a/src/main/java/baritone/pathing/calc/AbstractNodeCostSearch.java b/src/main/java/baritone/pathing/calc/AbstractNodeCostSearch.java index 490ab7a6..78710204 100644 --- a/src/main/java/baritone/pathing/calc/AbstractNodeCostSearch.java +++ b/src/main/java/baritone/pathing/calc/AbstractNodeCostSearch.java @@ -136,11 +136,10 @@ public abstract class AbstractNodeCostSearch implements IPathFinder { * for the node mapped to the specified pos. If no node is found, * a new node is created. * - * @param x The x position of the node - * @param y The y position of the node - * @param z The z position of the node + * @param x The x position of the node + * @param y The y position of the node + * @param z The z position of the node * @param hashCode The hash code of the node, provided by {@link BetterBlockPos#longHash(int, int, int)} - * * @return The associated node * @see Issue #107 */ diff --git a/src/main/java/baritone/utils/player/PrimaryPlayerContext.java b/src/main/java/baritone/utils/player/PrimaryPlayerContext.java index 05b1f80a..f0d7ee01 100644 --- a/src/main/java/baritone/utils/player/PrimaryPlayerContext.java +++ b/src/main/java/baritone/utils/player/PrimaryPlayerContext.java @@ -23,7 +23,6 @@ import baritone.api.utils.IPlayerContext; import baritone.api.utils.IPlayerController; import baritone.utils.Helper; import net.minecraft.client.entity.EntityPlayerSP; -import net.minecraft.client.multiplayer.PlayerControllerMP; import net.minecraft.util.math.RayTraceResult; import net.minecraft.world.World;