From 6b6ebd696854c8d0c40afaa9a45e82dac31f3a6f Mon Sep 17 00:00:00 2001 From: Leijurv Date: Mon, 15 Oct 2018 15:44:43 -0700 Subject: [PATCH] optimize all imports --- src/api/java/baritone/api/behavior/IPathingBehavior.java | 2 +- .../java/baritone/pathing/calc/AbstractNodeCostSearch.java | 2 +- src/main/java/baritone/pathing/calc/CutoffPath.java | 2 +- src/main/java/baritone/pathing/calc/Path.java | 2 +- src/main/java/baritone/pathing/movement/Movement.java | 5 ++++- src/main/java/baritone/utils/ExampleBaritoneControl.java | 1 - 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/api/java/baritone/api/behavior/IPathingBehavior.java b/src/api/java/baritone/api/behavior/IPathingBehavior.java index cfc93d2d7..7d88ae591 100644 --- a/src/api/java/baritone/api/behavior/IPathingBehavior.java +++ b/src/api/java/baritone/api/behavior/IPathingBehavior.java @@ -17,9 +17,9 @@ package baritone.api.behavior; +import baritone.api.pathing.calc.IPath; import baritone.api.pathing.calc.IPathFinder; import baritone.api.pathing.goals.Goal; -import baritone.api.pathing.calc.IPath; import baritone.api.pathing.path.IPathExecutor; import java.util.Optional; diff --git a/src/main/java/baritone/pathing/calc/AbstractNodeCostSearch.java b/src/main/java/baritone/pathing/calc/AbstractNodeCostSearch.java index 424c512e1..bbbe32add 100644 --- a/src/main/java/baritone/pathing/calc/AbstractNodeCostSearch.java +++ b/src/main/java/baritone/pathing/calc/AbstractNodeCostSearch.java @@ -18,9 +18,9 @@ package baritone.pathing.calc; import baritone.Baritone; +import baritone.api.pathing.calc.IPath; import baritone.api.pathing.calc.IPathFinder; import baritone.api.pathing.goals.Goal; -import baritone.api.pathing.calc.IPath; import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap; import java.util.Optional; diff --git a/src/main/java/baritone/pathing/calc/CutoffPath.java b/src/main/java/baritone/pathing/calc/CutoffPath.java index bcf66b79f..53e0c5604 100644 --- a/src/main/java/baritone/pathing/calc/CutoffPath.java +++ b/src/main/java/baritone/pathing/calc/CutoffPath.java @@ -17,9 +17,9 @@ package baritone.pathing.calc; +import baritone.api.pathing.calc.IPath; import baritone.api.pathing.goals.Goal; import baritone.api.pathing.movement.IMovement; -import baritone.api.pathing.calc.IPath; import baritone.api.utils.BetterBlockPos; import java.util.Collections; diff --git a/src/main/java/baritone/pathing/calc/Path.java b/src/main/java/baritone/pathing/calc/Path.java index f7bf96380..adcd9b711 100644 --- a/src/main/java/baritone/pathing/calc/Path.java +++ b/src/main/java/baritone/pathing/calc/Path.java @@ -18,9 +18,9 @@ package baritone.pathing.calc; import baritone.api.BaritoneAPI; +import baritone.api.pathing.calc.IPath; import baritone.api.pathing.goals.Goal; import baritone.api.pathing.movement.IMovement; -import baritone.api.pathing.calc.IPath; import baritone.api.utils.BetterBlockPos; import baritone.pathing.movement.Movement; import baritone.pathing.movement.Moves; diff --git a/src/main/java/baritone/pathing/movement/Movement.java b/src/main/java/baritone/pathing/movement/Movement.java index 3e8519ffe..450551d44 100644 --- a/src/main/java/baritone/pathing/movement/Movement.java +++ b/src/main/java/baritone/pathing/movement/Movement.java @@ -25,7 +25,10 @@ import baritone.api.utils.Rotation; import baritone.api.utils.RotationUtils; import baritone.api.utils.VecUtils; import baritone.behavior.LookBehavior; -import baritone.utils.*; +import baritone.utils.BlockBreakHelper; +import baritone.utils.BlockStateInterface; +import baritone.utils.Helper; +import baritone.utils.InputOverrideHandler; import net.minecraft.block.BlockLiquid; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.BlockPos; diff --git a/src/main/java/baritone/utils/ExampleBaritoneControl.java b/src/main/java/baritone/utils/ExampleBaritoneControl.java index 0be20f00c..17312582f 100644 --- a/src/main/java/baritone/utils/ExampleBaritoneControl.java +++ b/src/main/java/baritone/utils/ExampleBaritoneControl.java @@ -34,7 +34,6 @@ import baritone.cache.Waypoint; import baritone.cache.WorldProvider; import baritone.pathing.calc.AbstractNodeCostSearch; import baritone.pathing.movement.Movement; -import baritone.pathing.movement.MovementHelper; import baritone.pathing.movement.Moves; import net.minecraft.block.Block; import net.minecraft.client.multiplayer.ChunkProviderClient;