forked from 7GrandDad/MinefunTranslationLayer
A middle man to translate Minefun packets into Minecraft 1.8.9 packets.
- JavaScript 100%
| minefun | screw this, I'm gonna take a nudge at a bloxd layer | |
| .gitignore | Added layer | |
| index.js | more stuff | |
| LICENSE.md | Added layer | |
| package.json | Fixed npm issues | |
| README.md | draft: the sandbox.minefun.io update | |
MinefunTranslationLayer
A middle man to translate Minefun packets into Minecraft 1.8.9 packets.
Use Steps
- Install the latest NodeJS at (https://nodejs.org/)
- Download & extract the repository to a random folder
- Open a terminal inside said folder
- Run npm install & node index.js
- Connect to localhost on a supported Minecraft 1.8.9 client.
Interop with MineFun-specific packets
Note
Grok made a broken readString func, so the first char of the string is discarded lol. (e.g. GOT_DAMAGE -> OT_DAMAGE) if I'm not bored, I'll fix it.
All of this is handled in minefun/handlers/impl/packet_interop.js.
Sending packets
Send a custom payload packet with the channel layer:send_packet.
Receiving packets (commented out because lazy)
Listen for the channel layer:receive_packet.