From 4892192c6c686b8557c0f29071218621ac3f2c40 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Fri, 12 Oct 2018 15:14:39 -0700 Subject: [PATCH] remove unused functions --- .../pathing/movement/MovementHelper.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/main/java/baritone/pathing/movement/MovementHelper.java b/src/main/java/baritone/pathing/movement/MovementHelper.java index e393c92e..7517cdce 100644 --- a/src/main/java/baritone/pathing/movement/MovementHelper.java +++ b/src/main/java/baritone/pathing/movement/MovementHelper.java @@ -48,10 +48,6 @@ import java.util.Optional; */ public interface MovementHelper extends ActionCosts, Helper { - static boolean avoidBreaking(BetterBlockPos pos, IBlockState state) { - return avoidBreaking(pos.x, pos.y, pos.z, state); - } - static boolean avoidBreaking(int x, int y, int z, IBlockState state) { Block b = state.getBlock(); return b == Blocks.ICE // ice becomes water, and water can mess up the path @@ -74,10 +70,6 @@ public interface MovementHelper extends ActionCosts, Helper { return canWalkThrough(pos.x, pos.y, pos.z, BlockStateInterface.get(pos)); } - static boolean canWalkThrough(BetterBlockPos pos, IBlockState state) { - return canWalkThrough(pos.x, pos.y, pos.z, state); - } - static boolean canWalkThrough(int x, int y, int z) { return canWalkThrough(x, y, z, BlockStateInterface.get(x, y, z)); } @@ -139,10 +131,6 @@ public interface MovementHelper extends ActionCosts, Helper { * * @return */ - static boolean fullyPassable(BlockPos pos) { - return fullyPassable(BlockStateInterface.get(pos)); - } - static boolean fullyPassable(int x, int y, int z) { return fullyPassable(BlockStateInterface.get(x, y, z)); } @@ -170,10 +158,6 @@ public interface MovementHelper extends ActionCosts, Helper { return block.isPassable(null, null); } - static boolean isReplacable(BlockPos pos, IBlockState state) { - return isReplacable(pos.getX(), pos.getY(), pos.getZ(), state); - } - static boolean isReplacable(int x, int y, int z, IBlockState state) { // for MovementTraverse and MovementAscend // block double plant defaults to true when the block doesn't match, so don't need to check that case