-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
public void breakBlock(double rx, double ry, double rz) {
final Position p = new Position((int) Math.floor(pos.x + rx), (int) Math.floor(pos.y + ry),
(int) Math.floor(pos.z + rz));
// PhaseBot.getConsole().println("Digging at: " + p.getX() + " " +
// p.getY() + " " + p.getZ());
client.getSession().send(new ClientPlayerActionPacket(PlayerAction.START_DIGGING, p, Face.TOP));
swing();
client.getSession().send(new ClientPlayerActionPacket(PlayerAction.FINISH_DIGGING, p, Face.TOP));