your current location:首页 > news>MOD SETS (Mod Sets) Minecraft

MOD SETS (Mod Sets) Minecraft

2024-12-12 09:19:29|Myriagame |source:minecraft skins

MOD SETS module episode

This project is mainly inspired by thatorthis.

This module can be used in Fabric/~~ Quilt ~~ Manage the loading of the module in the game.

And it is very useful for the author of the integrated package.Feature characteristic

Switch the module in the game through the predetermined module/subset folder name/module ID (need to restart).

Use https://github.com/isxander/yetanotherconfiglib to generate the configuration interface.

The custom module loads rules, and the integrated package producer can create more user -defined options.

Usage usage

The rule file needs to be a JSON file in the JSON file in the `Config/MODSETS/RULES`.

After adding the rules, enter the configuration interface through the MOD MENU.MOD SET module episode

The module is a mapping from the string of string defined from the `Config/MODSETS/MODSETS.JSON` to the module ID collection.

In particular, the sub -folder names in the `MODS` will be used as a module episodes containing the module, and the module ID will be used as a format that contains only its own.

It should be noted that the module assembly defined in the configuration covers the folder or module ID of the same name.example:

 {// `sodium` will point to these two modules // If the module is disabled, the modules will not be loaded" sodium "when existing.text ":" sodium "," description ":" performance: +++++ "," mods ": [" sodium "," indium "]}} 

Rule rules

Minecraft images

Each rule has a `Text` and` Description to display the information you need.And a controller of the YACL user interface.example:

 {"text": {"text": "my first rule set", "bold": true, "color": "GREEN"}, "description": "aWWWW", "Rules": [{"text": "text", "description": "Tooltip", "Controller": {"Type": "Type"}]} 
Controller controller

Label

Used to display text on the screen.example:

 {"text": "The label", "Description": "Text Text", "Controller": {"Type": "Label"} 

Boolean

Used to switch a single module set switch.example:

 {"text": "The Boolean", "Description": "Text Text", "Controller": {"Type": "Boolean", "Mod": "Sodium"}} 

Cycling

Switch in the module set list.When there are conflict modules, such as Sodium and Optifabric are useful.Or use it for the difficulty of switching the integrated package:

 {"text": "The cycling", "Description": "Text Text", "Controller": {"Type": "CyCling", "Mods": ["Sodium": [Sodium ": [Sodium""," Optifabric "]}} 
Mods Group

Simplify an example of a simple Boolean controller for each module concentrated in the module:

 {"text": "The Mods Group", "Description": "Text Text", "Controller": {"Type": "MODS_GROUP", // Default is True "Collapset ": false," mods ": [" sodium "," Optifabric "]}} 

Rules group

Grouping the rules so that the rules can be folded:

 {"text": "The rules group", "Description": "Text Text", "Controller": {"Type": "Rules_group", // Default is True "CollapSed ": True," Rules ": [{" text ":" text "," description ":" Tooltip "," Controller ": {" type ":" label "}, {" text ":" text ", "Description": "Tooltip", "Controller": {"Type": "Boolean", "MOD": "Sodium"}}} 
Json.Using suitable tools such as https://www.minecraftjson.com/ can be generated