📕
Resourceful Lib
Landing Page
  • Welcome
    • 🧮Highlights
      • 📐Highlight
      • 📋Highlight State
        • 📤Sub-reference Highlight
          • 💿Rotation Object
    • 📂Resource Pack
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Welcome

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"
        }
    ]
}
PreviousRotation Object

Last updated 1 year ago

Was this helpful?

📂