You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-17Lines changed: 32 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,32 +32,34 @@ Here's an example of Mod Menu's translations into Pirate Speak. To create your o
32
32
33
33
34
34
35
-
### Fabric Metadata API (`fabric.mod.json`)
35
+
### Fabric Metadata API
36
36
There's a number of things you can add just with metadata in your `fabric.mod.json`.
37
37
38
38
All of these are added to a custom block in your `fabric.mod.json` for Mod Menu's metadata. Here's an example usage of many of the features this API provides:
<summary>Fabric Metadata API Documentation</summary>
63
65
@@ -147,7 +149,20 @@ You can disable the update checker by setting `update_checker` to false in your
147
149
148
150
</details>
149
151
152
+
### Quilt Metadata API
153
+
Since Mod Menu supports Quilt as well, the same APIs in the Fabric Metadata API section are also available for Quilt mods, but the format for custom metadata is slightly different.
150
154
155
+
Instead of a `"modmenu"` block inside of a `"custom"` block, you put the `"modmenu"` block as an element in the root object. So it should look like:
156
+
157
+
`quilt.mod.json`
158
+
```json5
159
+
{
160
+
...
161
+
"modmenu": {
162
+
// Here's where your links, badges, etc. stuff goes
163
+
}
164
+
}
165
+
```
151
166
152
167
### Java API
153
168
To use the Java API, you'll need to add Mod Menu as a compile-time dependency in your gradle project. This won't make your mod require Mod Menu, but it'll be present in your environment for you to test with.
0 commit comments