#parsing #minecraft #chat #message #format


A crate aimed to provide easy-to-use Rust objects to work with Minecraft's raw JSON message format

2 unstable releases

0.3.0 Oct 30, 2021
0.1.0 Oct 13, 2021

#272 in Games

39 downloads per month


883 lines

Minecraft Chat Rust

Latest Version

This rust crate aims to provide an easy-to-use object hierarchy to manage raw JSON-messages sent over the minecraft protocol.

Serialization and Deserialization is done using serde (such a nice library! ❤️).

Using a version indication, different styles are automatically ignored for older versions.


To depend on mc_chat, use:

mc_chat = "0.3"

To enable serialization/deserialization support, use:

mc_chat = { version = "0.3", features = ["serde"] }


  • Serialization/Deserialization to json possible.
  • Complete missing elements.
  • Add a 'legacy' text format.
  • Better documentation (examples!).


Please feel free to contribute to this repository. Any help is welcome!

(I'm also pretty sure there are some people out there who know how to improve this crate by a bunch, so any advice is appreciated!)