* support 1.21.3
* Add bitflags, registryEntryHolder and registryEntryHolderSet types
* Fix spacing in compiler types
* Update compiler-minecraft.js
* Fix registryEntryHolderSet read code (#1351)
* Update ci.yml
* Fix test for 1.21.3 (#1353)
* Remove debug logging
* Fix benchmark tests for 1.21.3
* Start updating packetTest for 1.21.3
* Update packetTest.js with new types
* Fix minecraft-compiler
* Speedup tests by setting world type to flat and disabling structures.
* Didn't mean to commit that
---------
Co-authored-by: extremeheat <extreme@protonmail.ch>
Co-authored-by: Grooble <grooble.dierne@gmail.com>
* Improve CI setup: move lint out of per version
* fix
* Simplify go back to all per version.
* refactor cycle test to use supported versions
* fix cycle packet test
* Add v to version to avoid 1.19 running every 1.19 minor.
* Add quotes.
* Use versions from js file in ci.yml
* Fix ci.yml syntax.
* Fix matrix read.
* fix
* fix
* fix gitignore
* move general datatypes to protodef along with their tests
* move states to states.js file
* use one protodef serializer by state and direction instead of one big serializer for everything (same thing for the deserializer)
* define a packet as a protodef type using a switch and a container, and adding each minecraft packet as a type (packet_ + name)
* use mapper type from protodef to convert id to name in packet definition
* use general string type : pstring
* divide by 10 the number of iteration in the benchmark to get back to a reasonable test execution time
* put parsePacketData in deserializer and createPacketBuffer in serializer
* remove packets from the index and expose readPacket instead
* load packets when needed in various files
* make tests test every supported version
static cross version of #234, fix#65, fix#240