/ModMenu

A menu for, you guessed it, mods!

Primary LanguageJavaMIT LicenseMIT

ModMenu

Hard to be more descriptive than that. It enriches the standard Minecraft menu with an interface displaying a one-dimensional array of modifications

A picture's worth 2 words

Developers:

"custom": {
    "modmenu:api": true,
    "modmenu:clientsideOnly": true
}
  • Mod parenting is used to display a mod as a child of another one. This is meant to be used for mods divided into different modules. The following element in a fabric.mod.json will define the mod as a child of the mod 'flamingo':
"custom": {
    "modmenu:parent": "flamingo"
}
  • ModMenuAPI
    • To use the API, implement the ModMenuApi interface on a class and add that as an entry point of type "modmenu" in your fabric.mod.json as such:
    "entrypoints": {
      "modmenu": [ "com.example.mod.ExampleModMenuApiImpl" ]
    }
    • Features
      • Mods can provide a Screen factory to provide a custom config screen to open with the config button. Implement the getConfigScreenFactory method in your API implementation.