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
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
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22