Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yunfachi/bad-apple-bots
https://github.com/yunfachi/bad-apple-bots
bot minecraft mineflayer node nodejs
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yunfachi/bad-apple-bots
- Owner: yunfachi
- License: gpl-3.0
- Created: 2024-01-27T15:08:23.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-08-28T10:00:07.000Z (3 months ago)
- Last Synced: 2024-10-11T23:34:23.888Z (about 1 month ago)
- Topics: bot, minecraft, mineflayer, node, nodejs
- Language: JavaScript
- Homepage:
- Size: 21.8 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bad Apple by Bots
## Video
[![Bad Apple!! Played on Minecraft Shields by 500 Bots](http://img.youtube.com/vi/ixX6J-4tvaE/0.jpg)](https://youtu.be/ixX6J-4tvaE "Bad Apple!! Played on Minecraft Shields by 500 Bots")
## InstallationInstall nodejs with Nix. (optional if already installed.)
```
nix flake dev
```
! Install packages
```
npm install
```
## UsageThe start coordinates must always be greater than the end coordinates.
**Bots are not working on the Z axis** yet, so `sz` should be equal to `ez`.
```sh
npm start -- --offset \
-sx 50 -sy 50 -sz 0 --host localhost
-ex 30 -ey 30 -ez 0 --port 25565
```
Convert video.mp4 into a matrix for bots (the size of the matrix is changed by editing convert.py, by default it is 18x18)
```sh
python3 convert.py
```