babe
This commit is contained in:
parent
d2ad15b79f
commit
28fd9581bc
@ -174,9 +174,6 @@ public interface MovementHelper extends ActionCosts, Helper {
|
||||
if (avoidBreaking(position)) {
|
||||
return COST_INF;
|
||||
}
|
||||
//if (!Baritone.allowBreakOrPlace) {
|
||||
// return COST_INF;
|
||||
//}
|
||||
double m = Blocks.CRAFTING_TABLE.equals(block) ? 10 : 1;
|
||||
return m / ts.getStrVsBlock(state, position);
|
||||
}
|
||||
|
@ -140,6 +140,7 @@ public class MovementTraverse extends Movement {
|
||||
isDoorActuallyBlockingUs = true;
|
||||
}
|
||||
if (isDoorActuallyBlockingUs) {
|
||||
state.setTarget(new MovementState.MovementTarget(Utils.calcRotationFromVec3d(playerHead(), Utils.calcCenterFromCoords(positionsToBreak[0], world()))));
|
||||
state.setInput(InputOverrideHandler.Input.CLICK_RIGHT, true);
|
||||
return state;
|
||||
}
|
||||
|
@ -83,7 +83,6 @@ public final class Utils {
|
||||
if (b.getBlock() instanceof BlockFire) {//look at bottom of fire when putting it out
|
||||
yDiff = 0;
|
||||
}
|
||||
System.out.println(xDiff + " " + yDiff + " " + zDiff);
|
||||
return new Vec3d(
|
||||
orig.getX() + xDiff,
|
||||
orig.getY() + yDiff,
|
||||
|
Loading…
Reference in New Issue
Block a user