-
Notifications
You must be signed in to change notification settings - Fork 0
Libraries
Vintage can optionally use Smithed Weld that needs to be manually installed on your system to merge with other packs known as libraries.
Must be .zip or .json files inside of libs/data_packs and/or libs/resource_packs.
| π― Example |
|
Any .zip files inside of a libs/data_packs or libs/resource_packs directories will be merged as-is.
Vintage can automatically download and remove libraries based on namespaces used in the code.
Simply create a <namespace>.json file with a download field pointing to the file download URL.
| π― Example |
|
|
Note
Namespace can use --- to match any sequence of characters. %[namespace] can then be used to reference the matched namespace in the URL.
Once a library has been added, Vintage will modify this file to list the installed dependencies:
| π¦οΈ Output |
{
"download": "https://github.com/mcbookshelf/bookshelf/releases/download/v3.2.2/%[namespace]-1.21.11-v3.2.2.zip",
"installed": [
"bs.id-1.21.11-v3.2.2.zip",
"bs.math-1.21.11-v3.2.2.zip"
]
} |
If a namespace is no longer referenced, Vintage will append .disabled to the file name to prevent it from being merged into the output.
Note
--delete-unused-libs can be used to delete the files instead.
Important
This Wiki is written for a project that does not yet exist.
Vintage is only partially implemented, you must wait until it is production ready.