📂Resource Pack
Resourceful Lib provides a builtin resource pack loader via the mods.toml and fabric.mod.json, this is very useful for lowcode mods which would like to allow for mods to have optional resource packs without using code.
To start you just put your resource pack into a resourcepacks folder in the resources folder of your mods source, the name you give the resource pack in there is the name you will use in your mods.toml or fabric.mod.json
Example
[modproperties.modid]
'resourcefullib:resourcepack' = [
{ name="resource_pack_folder_name", description="Display Name" }
]"custom": {
"resourcefullib:resourcepack": [
{
"name": "resource_pack_folder_name",
"description": "Display Name"
}
]
}Last updated
Was this helpful?