bowmap-10 Packet code
Bowmap · bowmap.git · Tickets
A Bowmap Ticket (Completed):
Ticket · History
- Rename
net.bowmap.server.protocol.*tonet.bowmap.server.packet.*, as "protocol" isn't a great term. I guess "packet" isn't a great term either lol. - [.] Remove identifiers as keywords, just use ns/name maps, and use
"minecraft"as the minecraft namespace. - Ended up being kind of annoying :p Specifying registries with maps when they are really atomic identifiers. - Remove
types.clj, just depend on the reader innetwork.streamsand put the max varint size there. protocol.entitymight be a game concept (I don't think it is, it's about entity ids which are a packet thing)protocol.blockis a game concept, move it- Update old usages of "protocol" and "Minecraft"
- Don't encode tags as strings
Questions:
- What about phases?
- What about encryption and compression? These are really about the byte format rather than the packets themselves, perhaps they belong in
packet.serialize. Or maybe they're networking things instead, but they still depend on the connection state.
See also bowmap-9 Improve readers and writers.