Skip to content

Can't see blocks, thank you! #468

@whitedotjsx

Description

@whitedotjsx

Hi, I'm on 1.21.4 on a LAN server, but I only can see my own player from there, blocks are not visible

import { createBot } from 'mineflayer';
import { mineflayer as mineflayerViewer } from 'prismarine-viewer';

const bot = createBot({
  username: 'ZottiBot',
  host: 'localhost',
  port: 5000
})

bot.once('spawn', () => {
  mineflayerViewer(bot, { port: 3000, firstPerson: true })
})

bot.on('kicked', console.log)
bot.on('error', console.log)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions