Ability to get lookup data thru the network api
vacla opened this issue ยท 0 comments
Expectations
Coreprotect sends thru the networking api the lookup data that also gets sent thru chat to the client if they have made a handshake with the correct protocol from current version.
Why requested
Every year or so the sentences changes and people are able to translate these sentences also in their own languages, for client mods we need write regex sentences to get all data thru chat what takes a lot of time and might get complicated over time.
With the networking api, you can set it exactly correctly and clients don't need to make work arounds to get the data in that way.
Examples
These are examples that are from Ledger mod, that a client mod Watson integrates with:
https://github.com/QuiltServerTools/Ledger/blob/master/src/main/kotlin/com/github/quiltservertools/ledger/network/packet/action/ActionS2CPacket.kt