add documentation for config meta

This commit is contained in:
ZXMushroom63 2025-03-16 16:24:50 +08:00
parent 1913cdabf1
commit 37ab18a660

View File

@ -10,4 +10,8 @@ Methods:
- Sets the description of the mod. Character limit of 160.
- `ModAPI.meta.icon(iconURL: String)`
- Sets the icon of the mod.
- It can be extremely low res, it will not appear blurry.
- It can be extremely low res, it will not appear blurry.
- `ModAPI.meta.version(versionCode: String)`
- Sets the version of the mod. Appended after the title.
- `ModAPI.meta.config(configFn: Function)`
- Once the client is fully loaded, creates a button in the mod manager GUI that runs the specified function when pressed.