Stores minecraft packets to test implementation of the minecraft protocol
They are dumped using mineflayer. Both the raw and the parsed versions are provided.
See prismarine-packet-dumper for details.
The packets provided as raw can be used to test any implementation of minecraft's protocol, using cycle test.
Cycle tests just means parsing something, then going back to the format it was in before and seeing if they are equal.
In pseudocode, an example of this would be: dump(parse(data)) == data
, with data being tested. An example
implementation in nodejs is linked here.
data/(platform)/(version)/(data) => packets
doc/ => data
Name | Language |
---|---|
node-minecraft-packets | Node.js |
If you want to use minecraft-packets in a new language, we advise you to create a new wrapper