fabric/fabric-resource-loader-v0/src
Jochen Jacobs c0e5481f61
Use knownPackInfo on mod data packs to avoid registry syncing ()
* use knownPack to avoid syncing mod data packs.

* remove empty class

* checkstyle and licenses

* move debug logging from testmod into main module

* fix knownPackInfo not working for build-in data packs.

* make bundled data packs not required for client, and don't auto enable

* improve testmod with added builtin data pack + better error message

* Increase max known packs in C2S packet

* validate size before sending
* changeable with system property

* change mixin from ModifyConstant to ModifyArg to be more clear.

* Apply suggestions from code review

Co-authored-by: modmuss <modmuss50@gmail.com>

* store list of knownPacks as server start

avoids desync on pack change (since registries aren't reloaded)

* be extra safe: only request knownPacks that were enabled at server start and still are.

Doesn't rely on the fact that registries aren't synced anymore.

---------

Co-authored-by: modmuss <modmuss50@gmail.com>
2024-05-07 19:03:31 +01:00
..
client Use knownPackInfo on mod data packs to avoid registry syncing () 2024-05-07 19:03:31 +01:00
main Use knownPackInfo on mod data packs to avoid registry syncing () 2024-05-07 19:03:31 +01:00
test/java/net/fabricmc/fabric/test/resource/loader/unit 24w06a porting fixes () 2024-02-09 17:36:06 +00:00
testmod Use knownPackInfo on mod data packs to avoid registry syncing () 2024-05-07 19:03:31 +01:00