I implemented the handshake and status protocol used by MC Java, referencing the documentation available for it on minecraft.wiki. After I got that working, my code was quite messy and unstructured. I spent a while looking into crates that could help structure this, but I decided I wanted to figure out how proc macros work, so (after way too much time spent tinkering), I implemented a proc macro for serialization and deserialization between structs and the actual protocol data without any external crates. After re-implementing the handshake/status protocols with the new data structures, I started looking into the login protocol, and I left off there.
Log in to leave a comment