FabricMC/fabric-loader

Fabric api is loading the in jar datapack and not fabric loader

cylian914 opened this issue · 2 comments

Tested in 1.20.1:

Hi, i was making a mod when i notice i datapack from my mods aren't loaded without Fabric API.

This is quite weird since Fabric API is only a API and shouldn't load things, it should be the role of the Fabric loader.

Can't this be change so my mods can be lighter ? (i don't use any fabric api function, it would be stupid to require it just because it doesn't load the datapack by default)

This is expected, the fabric-resource-loader-v0 module is what handles loading mods as datapacks. You can bundle just fabric-resource-loader-v0 into your mod if you wish.

thx, this is what i will do but it still weird to have the api load and not the loader

Bye have a great day