mineflayer-antiafk's People
mineflayer-antiafk's Issues
Placing Option
Hey,
Recently i've tried alot of things with this afk system. Overall, it is pretty good coded.
One small issue tho, is when I use setOptions on "placing", it breaks the code with a rejection:
UnhandledPromiseRejectionWarning: TypeError: bot.afk.config.placing.includes is not a function
I have opened a PR about it (in a few mins) and I will briefly describe it more there.
Cheers.
Move head around
Any way to make it look around a bit while it's doing its thing?
I'm getting a "Move your head before talking in chat" system message from the server. On my test box its head seems to keep a consistent angle.
error autoeat
console's log
i set autoEatEnabled to false
but error on autoeat happens
PS C:\Users\usrname\source\repos\mineflayer-inviter\mineflayer-inviter> node app.js
C:\Users\usrname\source\repos\mineflayer-inviter\node_modules\mineflayer-auto-eat\index.js:27
bot.autoEat.foodsByName = require('minecraft-data')(bot.version).foodsByName
^
TypeError: Cannot read properties of null (reading 'foodsByName')
at EventEmitter.<anonymous> (C:\Users\usrname\source\repos\mineflayer-inviter\node_modules\mineflayer-auto-eat\index.js:27:73)
at Object.onceWrapper (node:events:627:28)
at EventEmitter.emit (node:events:525:35)
at Client.<anonymous> (C:\Users\usrname\source\repos\mineflayer-inviter\node_modules\mineflayer\lib\plugins\health.js:13:11)
at Object.onceWrapper (node:events:628:26)
at Client.emit (node:events:525:35)
at emitPacket (C:\Users\usrname\source\repos\mineflayer-inviter\node_modules\minecraft-protocol\src\client.js:83:12)
at FullPacketParser.<anonymous> (C:\Users\usrname\source\repos\mineflayer-inviter\node_modules\minecraft-protocol\src\client.js:106:9)
at FullPacketParser.emit (node:events:513:28)
at addChunk (C:\Users\usrname\source\repos\mineflayer-inviter\node_modules\protodef\node_modules\readable-stream\lib\_stream_readable.js:279:12)
Node.js v18.15.0
Shows error when running in 1.19.3 minecraft version and working fine when running in 1.17.1
When i run it in 1.17.1 it works perfectly fine with no error but when i run it will 1.19.3 then it shows this error:
bot.autoEat.foodsByName = require('minecraft-data')(bot.version).foodsByName
^
TypeError: Cannot read properties of null (reading 'foodsByName')
at EventEmitter. (C:\Users\Siddharth\Documents\ws\Minecraft-Bot\node_modules\mineflayer-antiafk\node_modules\mineflayer-auto-eat\index.js:27:73)
at Object.onceWrapper (node:events:627:28)
at EventEmitter.emit (node:events:525:35)
at Client. (C:\Users\Siddharth\Documents\ws\Minecraft-Bot\node_modules\mineflayer\lib\plugins\health.js:13:11)
at Object.onceWrapper (node:events:628:26)
at Client.emit (node:events:525:35)
at FullPacketParser. (C:\Users\Siddharth\Documents\ws\Minecraft-Bot\node_modules\minecraft-protocol\src\client.js:91:12)
at FullPacketParser.emit (node:events:513:28)
at addChunk (C:\Users\Siddharth\Documents\ws\Minecraft-Bot\node_modules\readable-stream\lib_stream_readable.js:298:12)
at readableAddChunk (C:\Users\Siddharth\Documents\ws\Minecraft-Bot\node_modules\readable-stream\lib_stream_readable.js:280:11)
please update to 1.19?
only works for 1.12.2 which I assume what its intended for, but I need it for 1.19 since 2b2t just updated to 1.19 and I use this as a dependency for one of my projects. Thanks.
Config issues
Apparently my project used an old version. Nevermind this :^)
isinWater sometimes produces error result
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.