Make protocol data autocompletable (and Remove the "hardcoding" of states)
https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/src/states.js
There is no point in doing that and make stuff less flexible
there is a point : autocompletion in some IDEs works. If I could hardcode packets in the same way, I would.
well I guess we could figure out a way to make things autocompletable (by generating stuff in dist/ or something), but I think there's no need to actually hardcode this.
With the work done in ProtoDef, it's now very clear that this can be a natural consequence of a protodef compiler.
one way to do it is https://github.com/PrismarineJS/node-minecraft-data/pull/24