Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't initialize the bloodhound plugin properly #8

Open
cplllvn opened this issue Dec 29, 2024 · 0 comments
Open

Can't initialize the bloodhound plugin properly #8

cplllvn opened this issue Dec 29, 2024 · 0 comments

Comments

@cplllvn
Copy link

cplllvn commented Dec 29, 2024

var bloodhoundPlugin = require('mineflayer-bloodhound');

const bot = mineflayer.createBot({
host: process.argv[2],
port: parseInt(process.argv[3]),
username: process.argv[4],
respawn: false
});

bloodhoundPlugin(bot);
if (bot.bloodhound) {
bot.bloodhound.yaw_correlation_enabled = true;
} else {
console.error('Bloodhound plugin did not initialize correctly.');
}

It always returns the error message, I could not find a way to load it properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant