ThatOrThis 图标

ThatOrThis

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.2.6+1.16
本资源为搬运资源,原资源地址: https://modrinth.com/mod/thatorthis
资源信息

Minecraft 版本: 1.16.5

平台: fabric

标签: cursed utility

资源介绍

ThatOrThis

A Fabric mod for choosing between sets of Fabric mods.

What is this

ThatOrThis is designed mainly for modpack developers. It hacks into Fabric Loader to allow loading mods from additional user-selectable directories. This allows the end user to choose which mod(s) to load into their modpack, or workaround incompatible mod sets.

Technically speaking, ThatOrThis take its inspiration from Modsmod and GrossFabricHacks, which abuses the LanguageAdapter feature of the Fabric Loader. This allows part of this mod's code to run even before Fabric Loader starts to initialize most other mods. It then read configs, resolve for additional mods to load, and inject them into the loader via Java reflection wizardry.

Features

  • Load mods from directories other than the default .minecraft/mods
  • Let the end user to choose which feature(s) they want (e.g. OptiFabric for shaders or Sodium for optimization)
  • Runtime check for dependencies and conflicts of additional mods
  • Configurable settings screen accessible via ModMenu integration
  • Option names and tooltips support formatting codes and translation keys

Usage

For ordinary users (who installed this mod manually)

Install this mod into your mods folder, along with ModMenu and Fabric API.

Launch Minecraft and open the settings screen via ModMenu. Follow the instructions.

ThatOrThis will be running under the default (limited) rule set if configured this way. If you need features more than toggling individual mods, please refer to the "modpack developers" section.

For modpack users (who downloaded a modpack containing this mod)

Open the settings screen via ModMenu. Change the settings as you desire. Done.

Note that the new settings won't come into effect until you re-launch the game.

For modpack developers (who wish to integrate this mod into a modpack)

Install this mod into your mods folder, along with ModMenu and Fabric API.

Then, create thatorthis folder in your config folder, and file rules.json in that. If done correctly, the path for it should be .minecraft/config/thatorthis/rules.json.

rules.json defines all the available settings and their options. Specs for it can be found here.

Finally, put the mods into subdirectories of the mods folder, as defined in the rule file.

This mod is open-sourced and MIT licensed, meaning that you can include it into your modpack and redistribute it without asking for permission, as long as you credit me (and of course the authors of all other mods) in your modpack.

Compatibility

  • ThatOrThis requires a recent version of Minecraft and Fabric Loader to work.
    • Forge support is never planned; use ModDirector instead.
    • Currently only Fabric Loader v0.11.x is supported. Support for v0.12.x will come with ThatOrThis v0.3.0.
  • ModMenu and Fabric API are optional, meaning that ThatOrThis will work correctly without them given valid rules.json and choices.json.
    • However they are required for the in-game settings screen. You can load them via ThatOrThis, but it is not recommended.
  • Loading programming language support mods (e.g. for Kotlin, Scala and Grovvy) via ThatOrThis is not recommended.
    • They might work, but this feature has not been tested; place them right into the mods directory whenever possible.
  • Modsmod does the exact same thing as ThatOrThis to the Fabric Loader, thus incompatible with each other.

NOTE: ThatOrThis is only intended for small, client-side mods. It may cause crashes and/or server/world incompatibilities if rules and options are not designed carefully. Test your modpack throughly before and after installing this mod.

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
The Below Bedrock Caves

价格:0 墨喵币
下载量:0

查看详情
DabaoSword

价格:0 墨喵币
下载量:0

查看详情
Dice Rebuild

价格:0 墨喵币
下载量:0

查看详情
PMWeather Ahoy!

价格:0 墨喵币
下载量:0

查看详情