i'm not sure how to fix this & i didn't find a way to fix this. #3541
Labels
possible bug
Stage1
just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Versions
Detailed description of a problem
after login the bot doesn't register (or crash,i'm not sure yet) the on.("spawn") event and doesn't apear in-game
##code
const mineflayer = require('mineflayer');
const bot = mineflayer.createBot({
host: 'mc.reallyworld.ru',
username: 'examplebotName',
auth: 'offline',
version: '1.16.5'
bot.on('spawn', () => {
console.log("spawned")
mineflayerViewer(bot, { port: 3000 }
const path = [bot.entity.position.clone()]
bot.on('move', () => {
if (path[path.length - 1].distanceTo(bot.entity.position) > 1) {
path.push(bot.entity.position.clone())
bot.viewer.drawLine('path', path)}
});
Expected behavior
i expected for the .on("spawn") event to triger, :P
##error i resived:
'''
Ignoring block entities as chunk failed to load at 0 0
Ignoring block entities as chunk failed to load at -1 -1
Ignoring block entities as chunk failed to load at -1 0
Ignoring block entities as chunk failed to load at -1 1
Ignoring block entities as chunk failed to load at 0 -1
Ignoring block entities as chunk failed to load at 0 1
Ignoring block entities as chunk failed to load at 1 -1
Ignoring block entities as chunk failed to load at 1 0
Ignoring block entities as chunk failed to load at 1 1
'''
i checked the coordinates,the spawn chunk,the actual chunk (0,0,-1,-1.etc...) nothing
The text was updated successfully, but these errors were encountered: