bowmap-5 Send registries to client
Bowmap · bowmap.git · Tickets
A Bowmap Ticket (Completed):
Ticket · History
Send registries (and tags) to the client.
- Change ID:
594df3f9 - Change Name:
Registry
See https://minecraft.wiki/w/Java_Edition_protocol/Packets#Registry_Data, and https://minecraft.wiki/w/Java_Edition_protocol/Registries#List_of_synchronized_registries
Steps:
- Add serverbound known packs
- Add NBT writer
- Add clientbound registry data, update tag, and finish config packets
- Add crude known registry entries from bowmap.git
- Build registry data and tag packets from the initial and confirm everything works
- Build spec of required client registries (and tags)
- Clean up registry definitions
- Commit cleaned up registry
Causing Bugs:
list-typeis called twicenbt-compound>can successfully write an invalid map if keys exist where(not= k1 k2)but(if (types/identifier k) (types/encode-identifier k) (name k))return the same string. E.g.{:a 1 "a" 2}.
Also:
nilcannot represent and empty compound in writing NBT, only an empty list.