Перейти к содержимому
Mineforgian

ModMenu Badges Lib

More badge!!!

726K загрузок241 подписчиковMITfabric

Обновлён 30 марта 2026 г. · опубликован 21 апреля 2023 г.

  • Скриншот: ModMenu Badges Lib
  • In-Game Example

Contributors Forks Stargazers Issues MIT License LinkedIn Discord Modrinth


ModMenu Badges Lib

More badge!!!
Support · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Usage
  3. Roadmap
  4. Contributing
  5. License

About The Project

In-Game ScreenShot

Just a simple library for adding your own badges to ModMenu.

For example, Tschipcraft uses it for the Data Pack badge in Dynamic Lights

(back to top)

Usage

Mod Developers
  1. Add Gradle dependency into build.gradle or build.gradle.kts
repositories {
    maven("https://api.modrinth.com/maven")
}

dependencies {
    // Option 1: Include ModMenu Badges Lib to project for it available within your own jar (additional ~5kb)
    include(modImplementation("maven.modrinth", "modmenu-badges-libb", "<version>"))
    
    // Option 2: Depend on ModMenu Badges Lib, but require that users install it manually
    modImplementation("maven.modrinth", "modmenu-badges-lib", "<version>")
}
  1. Add the dependency recommend in your fabric.mod.json
"recommends": {
"modmenu-badges-lib": "*"
}
  1. Open ModMenu Badges Generator add copy result to our fabric.mod.json.

Alternative color code generator: https://argb-int-calculator.netlify.app

{
  ...
  "custom": {
    "mcb": [
      {
        // Badge text
        "name": "Example Badge",
        // Fill color
        "fillColor": -2003942227,
        // Outline color
        "outlineColor": -2003084874
      },
      {
        //Next badge
      }
    ]
  },
  ...
}
Modpack developers
  1. Create modmenu-extra-badges.json file in root of your modpack instance (.minecraft folder or else depend on launcher )
  2. Use example below to edit all how you want

Color values generating tool https://syorito-hatsuki.github.io/modmenu-badges-lib/

{
  // Mod ID
  "modmenu-badges-lib": {
    // Sort badges by alphabet [Default: false]
    "sort": true,
    // Overwrite all badges with new, aka delete all [Default: false]
    "overwrite": true,
    // List of modmenu-badges-lib badges
    "badges": [
      {
        // Name is only required value.
        // Other values will be generated by it if missed
        "name": "Another House"
      },
      {
        // Required
        "name": "COLORFUL",
        // Optional
        "labelColor": -16711936,
        // Optional
        "fillColor": -16776961,
        // Optional
        "outlineColor": -65536,
        // Optional
        "delete": false
      },
    ]
  },
  // Deleting default Minecraft Badge
  "minecraft": {
    "badges": [
      {
        "delete": true,
        "name": "Minecraft"
      },
    ]
  }
}

Roadmap

  • Search by badge
  • Own online badge editor with real-time preview

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
2026.3.1Релиз26.1, 26.1.1, 26.1.2, 26.2fabric30 марта 2026 г..jar (22 КБ)
2026.2.1Релиз1.21.8, 1.21.9, 1.21.10, 1.21.11fabric7 февраля 2026 г..jar (23 КБ)
2026.1.1Релиз1.21.8, 1.21.9, 1.21.10, 1.21.11fabric22 января 2026 г..jar (21 КБ)
2025.6.1Релиз1.21.8, 1.21.9, 1.21.10, 1.21.11fabric17 июня 2025 г..jar (4 КБ)
2025.4.1Релиз1.21.5fabric26 апреля 2025 г..jar (5 КБ)
2023.6.1Релиз1.21.1, 1.21.2, 1.21.3, 1.21.4fabric11 июня 2023 г..jar (5 КБ)
2023.4.1Релиз1.18.2fabric21 апреля 2023 г..jar (5 КБ)
2023.4.1Релиз1.19.1, 1.19.2, 1.19.3, 1.19.4fabric21 апреля 2023 г..jar (5 КБ)

Ченджлог

2026.3.1Релиз26.1.1, 26.1.2, 26.2 · 30 марта 2026 г.
  • Updated to 26.1
    • Switched from Yarn to Mojmaps
2026.2.1Релиз1.21.9, 1.21.10, 1.21.11 · 7 февраля 2026 г.
  • Replaced Jackson with Codecs to improve compatibility
2026.1.1Релиз1.21.9, 1.21.10, 1.21.11 · 22 января 2026 г.
  • Added some useful (or not) logs
  • Added label color changing
  • Added new badge manipulation way for modpack makers
    • Added badges to any mod
    • Removing existing badges from mods
    • Sort by Alphabet
2025.6.1Релиз1.21.9, 1.21.10, 1.21.11 · 17 июня 2025 г.
  • Updated to 1.21.6
2025.4.1Релиз1.21.5 · 26 апреля 2025 г.
  • Updated to 1.21.5
2023.6.1Релиз1.21.2, 1.21.3, 1.21.4 · 11 июня 2023 г.
  • Updated to 1.20

Полная история изменений — на Modrinth.

Комментарии

Загружаем…