What are you searching for?

Mod Sets

Mod Sets

Control mods loading with gui. Useful for modpack and server with optional function. And also for geeks want to control mods without file operating.

download 147.4K Downloads · favorite 188 Followers · Updated 1 week ago
Fabric Forge Management Neoforge Quilt Utility 1.19.2 1.19.4 1.20 1.20.1 1.20.2 +16 more

Versions

inventory_2
2.1.3

2.1.3 · 1 week ago · 208.88 KB

Release download
Fabric Forge Neoforge 1.20.1 1.21 1.21.1
inventory_2
2.1.2

2.1.2 · 1 week ago · 209.41 KB

Release download
Fabric Forge Neoforge 1.20.1 1.21 1.21.1
inventory_2
2.1.1

2.1.1 · 1 week ago · 209.41 KB

Release download
Fabric Forge Neoforge 1.20.1 1.21 1.21.1
inventory_2
2.1.0

2.1.0 · 1 week ago · 208.35 KB

Release download
Fabric Forge Neoforge 1.20.1 1.21 1.21.1
inventory_2
1.0.5

1.0.5 · 1 month ago · 207.01 KB

Release download
Fabric Forge Neoforge 1.20.1 1.21 1.21.1

About

Mod Sets

Modrinth Downloads Modrinth Version Modrinth Game Versions GitHub GitHub issues Discord

This project heavily inspired by ThatOrThis The mod is using for Minecraft Fabric/Quilt/Forge for managing mod loading in game. And useful for modpack developer

Feature

  • Enable/Disable mods in game with defined mod sets/subdirectory name/mod id(Need restart)
  • Using https://github.com/isXander/YetAnotherConfigLib for config screen
  • Custom mod loading rules for modpack developer to make the pack with more user defined options

Usage

The rules files should be json in config/modsets/rules. Add rule and enter the config screen through Mod Menu Full example: https://github.com/SettingDust/ModSets/blob/main/example_rules.json

Mod Set

Mod set is entry defined in config/modsets/modsets.json that is string to set of mod id map. Specifically, sub folder name in mods folder will be mod sets the mods in it. And mod id will be the mod set only contains itself. Notice, the defined mod sets by config will override the folder/mod id with the same name. Example:

{
    // The `sodium` will target the two mods here.
  // If disable this mod set, the mod in list won't load if it is exist
  "sodium": {
    "text": "Sodium",
    "description": "Performance: +++++",
    "mods": [
      "sodium",
      "indium"
    ]
  }
}

Rule

img_1.png Every rule hold a text and description for displaying the info you want. And a controller for YACL user interface Example:

{
  "text": {
    "text": "My first rule set",
    "bold": true,
    "color": "green"
  },
  "description": "Awwww",
  "rules": [
    {
      "text": "text",
      "description": "description",
      "controller": {
        "type": "type" // Notice, this isn't valid type of controller. Take the type from controllers below
      }
    }
  ]
}

Controllers

Label

For displaying text on screen Example:

{
  "text": "The label",
  "description": "Text Text",
  "controller": {
    "type": "label"
  }
}

Boolean

For switching a single mod set on/off Example:

{
  "text": "The boolean",
  "description": "Text Text",
  "controller": {
    "type": "boolean",
      "id": "sodium"
  }
}

Cycling

For switching between mod sets in a list. Useful when there is conflicting mods such as sodium and optifabric. Or switching the pack difficult Example:

{
  "text": "The cycling",
  "description": "Text Text",
  "controller": {
    "type": "cycling",
      "ids": [
          // Don't empty
      "sodium",
      "optifabric"
    ]
  }
}

Mods Group

Assign a simple boolean controller option to every mods in the mod sets. Example:

{
  "text": "The mods group",
  "description": "Text Text",
  "controller": {
    "type": "mods_group",
    // Default is true
    "collapsed": false,
      "ids": [
          // Don't empty
      "sodium",
      "optifabric"
    ]
  }
}

Rules Group

Group the rules so that it's able to collapse the rules Example:

{
  "text": "The rules group",
  "description": "Text Text",
  "controller": {
    "type": "rules_group",
    // Default is true
    "collapsed": true,
    "rules": [ // Don't empty
      {
        "text": "text",
        "description": "description",
        "controller": {
          "type": "label"
        }
      },
      {
        "text": "text",
        "description": "description",
        "controller": {
          "type": "boolean",
            "id": "sodium"
        }
      }
    ]
  }
}

Notice: Every text and description is text raw json. Using https://www.minecraftjson.com/ for generating text.

open_in_new View on Modrinth
Compatibility
Client: Optional Server: Optional
gavel MIT

Conversation

What are your thoughts?

Related projects

Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.3M
favorite 12,712
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.7M
favorite 22,127
Library Management Utility
YetAnotherConfigLib (YACL)
YetAnotherConfigLib (YACL)

by isxander

A builder-based configuration library for Minecraft!

download 66.1M
favorite 7,607
Adventure Transportation Utility
Xaero's Minimap
Xaero's Minimap

by thexaero

Displays a map of the nearby world terrain, players, mobs, entities in the corner of your screen. Lets you create waypoints which help you find the locations you've marked.

download 60.9M
favorite 13,668
lock Cookie consent

SkinMC uses cookies to provide functionality and features.