Skip to content
/ WebPE.Js Public

Minecraft: Bedrock Edition network protocol in Javascript

Notifications You must be signed in to change notification settings

w-gao/WebPE.Js

Repository files navigation

WebPE.Js

What is this?

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.

What is this for?


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.

Screenshots


ss1

ss2

Development


TODOs
  • 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
Dependencies
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

About

Minecraft: Bedrock Edition network protocol in Javascript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published