#minecraft #protocols #communication #allowing

minecraft-net

A library allowing easier communication via the minecraft protocol

2 unstable releases

0.2.0 Jan 31, 2025
0.1.0 Nov 30, 2024

#11 in #allowing

Download history 74/week @ 2024-11-24 51/week @ 2024-12-01 11/week @ 2024-12-08 1/week @ 2024-12-15 1/week @ 2025-01-05 98/week @ 2025-01-26 37/week @ 2025-02-02 49/week @ 2025-02-09 13/week @ 2025-02-16 3/week @ 2025-02-23 5/week @ 2025-03-02

73 downloads per month

Custom license

88KB
3K SLoC

minecraft-net

This work is licensed under CC BY 4.0

This package is a work in progress!

A package implementing the 1.21.4 minecraft protocol.

Features / Goals

  • Structs for all Packets (~74/221 ~33%)
    • Handshake (1 packet)
    • Status (4 packets)
    • Login (11 packets)
    • Configuration (25 packets)
    • Play (180 packets) (62 somewhat done, some missing fields)
  • improved usability
  • checking validity
  • Encoding/Decoding packets
  • Helper for encrypted connections
  • Documentation :(

Note:

This project is not in any way affiliated with Mojang and/or Microsoft. Use at your own risk.

It is also still in development.

Based on wiki.vg which has been shutdown is migrating to minecraft.wiki.

Dependencies

~5MB
~97K SLoC