Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ First time using Node.js? You may want to start with the [tutorial](tutorial.md)

## Installation

First install Node.js >= 18 from [nodejs.org](https://nodejs.org/) then:
First install Node.js >= 22 from [nodejs.org](https://nodejs.org/) then:

```bash
npm install mineflayer
Expand Down Expand Up @@ -130,7 +130,7 @@ Just run `npm install prismarine-viewer` and add this to your bot:
```js
const { mineflayer: mineflayerViewer } = require('prismarine-viewer')
bot.once('spawn', () => {
mineflayerViewer(bot, { port: 3007, firstPerson: true }) // port is the minecraft server port, if first person is false, you get a bird's-eye view
mineflayerViewer(bot, { port: 3007, firstPerson: true }) // port is the local web server port, if first person is false, you get a bird's-eye view
})
```
And you'll get a *live* view looking like this:
Expand Down
Loading
Loading