Replies: 2 comments
-
Minecraft Protocol: Mineflayer uses node-minecraft-protocol, it is a handy library for handling Minecraft packages on node js https://github.com/PrismarineJS/node-minecraft-protocol Packages are sent via TCP |
Beta Was this translation helpful? Give feedback.
0 replies
-
Mineflayer communicates with minecraft servers with the network, the same
as what the vanilla minecraft client is doing.
So for example it sends packets (a bunch of bytes: numbers between 0 and
255) saying "move there" or "dig that block" and the server tell it "that
block changed" or "this entity moved".
…On Sat, Jan 30, 2021, 05:57 Aleksey Goncharov ***@***.***> wrote:
I have no idea how do these types of packages work so can someone smart
enough, explain how these things work. Is there some kind of Minecraft API
that mineflayer uses or am I completely wrong?
Minecraft Protocol:
https://wiki.vg/Protocol
Mineflayer uses node-minecraft-protocol, it is a handy library for
handling packages on node js
https://github.com/PrismarineJS/node-minecraft-protocol
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1635 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437RMUWZULQBCZHAGHD3S4OGSBANCNFSM4WZ52WIA>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have no idea how do these types of packages work so can someone smart enough, explain how these things work. Is there some kind of Minecraft API that mineflayer uses or am I completely wrong?
Beta Was this translation helpful? Give feedback.
All reactions