Embedded Assets
A Fabric mod that automatically loads resource packs embedded within datapacks upon game launch. On servers, it merges all packs and sends them to the client.
How does it work?
For Single Player
When you enter a world with supported datapacks enabled, all resource packs contained within them are automatically added to your resource pack list. You can enable/disable and reorder these packs in the resource pack settings.
For Servers
Since the server can only send the client a single resource pack, this mod combines all resource packs from datapacks into one unified pack. There is also an option to additionally merge it with another resource pack ("base pack") so you don't lose your existing server resource pack.
Use the /embedded_assets command to configure pack priorities, enable/disable specific resource packs without deactivating the datapack, and configure the pack hosting server.
Pack Hosting Server
When this feature is enabled, the mod will host the resource pack itself, so you don't have to manually upload the file somewhere every time you add a new datapack. Use /embedded_assets pack_hosting to check the server status and commands for managing it.
Which datapacks are supported?
Mixed Packs
Packs containing both a data folder and an assets folder. These packs include both sides, so the same archive can be placed in either the datapacks folder or the resource packs folder. With this mod, it's sufficient to place it only in the datapacks folder.
Resource Pack ZIP Archives at Datapack Root
Any resource pack ZIP archive located in the root directory of the datapack will be loaded automatically.