This is an implementation of the Minecraft: Bedrock Edition network protocol in Javascript. This package is intended to work on browsers with WebSocket communications built in.
Keep in mind, this can not directly connect to any Minecraft: Bedrock Edition servers because browsers do not support UDP (RakNet to be specific) connections.
This is the network layer of the WebPE project, where it aims to connect to Minecraft Bedrock Edition servers through a proxy or a server side plugin.
- Event dispatcher
- Sub-chunk version 8 support
- Add/remove players
- Move players
- Decode FullChunkDataPacket
- NBT library
- Handshake sequence; ping server etc
- Use workers for websocket and chunk loading
Package | Description/Usage |
---|---|
buffer | Packet serialization & deserialization |
events | Event system |
long | long datatype support |
node-jose | base64 encode for login packet; (not used for encryption support yet) |
pako | zlib library |
uuid-parse | UUID |