# mineflayer-mouse

> First-class **battle-tested** simple API for emulating real Minecraft mouse control in Mineflayer. You should use it for digging (mining) or placing blocks and entity attacking or using and using items!

Latest version **0.1.28** (published 2026-04-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install mineflayer-mouse
pnpm add mineflayer-mouse
yarn add mineflayer-mouse
bun add mineflayer-mouse
```

## Health

**Score 55/100 (C)** — status: active.

Positive: has types; no vulnerabilities; has provenance.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.1.28 |
| Published | 2026-04-14 |
| First published | 2025-02-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | ^12.20.0 \|\| ^14.13.1 \|\| >=16.0.0 |
| Dependencies | 4 |
| Unpacked size | 125.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Maintainers | zardoy |
| Keywords | mineflayer, mouse, digging, mining, automation, minecraft, botting, placing, breaking, player, blocks, miner, actually works |

## Links

- npm: https://www.npmjs.com/package/mineflayer-mouse
- Repository: https://github.com/zardoy/mineflayer-mouse
- Homepage: https://github.com/zardoy/mineflayer-mouse#readme
- Issues: https://github.com/zardoy/mineflayer-mouse/issues
- npm.io page: https://npm.io/package/mineflayer-mouse

## Dependencies (4)

- [debug](https://npm.io/package/debug.md) ^4.4.0
- [change-case](https://npm.io/package/change-case.md) ^5.4.4
- [prismarine-item](https://npm.io/package/prismarine-item.md) ^1.16.0
- [prismarine-world](https://npm.io/package/prismarine-world.md) ^3.6.3

## Recent versions

- 0.1.28 (latest) — 2026-04-14
- 0.1.27 — 2026-04-07
- 0.1.26 — 2026-03-20
- 0.1.25 — 2026-02-01
- 0.1.24 — 2025-11-26
- 0.1.23 — 2025-11-21
- 0.1.22 — 2025-11-21
- 0.1.21 — 2025-08-27
- 0.1.20 — 2025-08-18
- 0.1.19 — 2025-08-14
- 0.1.18 — 2025-08-13
- 0.1.17 — 2025-08-10
- 0.1.16 — 2025-08-10
- 0.1.15 — 2025-08-10
- 0.1.14 — 2025-07-16
- … 24 more at https://npm.io/package/mineflayer-mouse/versions

---
_Source: https://npm.io/package/mineflayer-mouse · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
