auto tool v1 lol
This commit is contained in:
parent
83cc5ec861
commit
e2f8561847
@ -117,6 +117,7 @@ public abstract class Movement implements Helper, MovementHelper {
|
||||
somethingInTheWay = true;
|
||||
Optional<Rotation> reachable = LookBehaviorUtils.reachable(blockPos);
|
||||
if (reachable.isPresent()) {
|
||||
player().inventory.currentItem = new ToolSet().getBestSlot(BlockStateInterface.get(blockPos));
|
||||
state.setTarget(new MovementState.MovementTarget(reachable.get())).setInput(Input.CLICK_LEFT, true);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user