> For the complete documentation index, see [llms.txt](https://lib.wiki.teamresourceful.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lib.wiki.teamresourceful.com/welcome/resource-pack.md).

# 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

{% tabs %}
{% tab title="mods.toml" %}

```toml
[modproperties.modid]
'resourcefullib:resourcepack' = [
    { name="resource_pack_folder_name", description="Display Name" }
]
```

{% endtab %}

{% tab title="fabric.mod.json" %}

```json
"custom": {
    "resourcefullib:resourcepack": [
        {
            "name": "resource_pack_folder_name",
            "description": "Display Name"
        }
    ]
}
```

{% endtab %}
{% endtabs %}
