Skip to content

Disabling Lithium's Mixins using your mod's fabric mod.json

2No2Name edited this page Nov 11, 2024 · 10 revisions

You can disable lithium's features from your fabric-mod.json. The intended use is avoid mod incompatibilities when there is no other way to make the mods work together. To disable a feature you can add a custom tag to your fabric-mod.json file. A message about the mod overrides will be printed printed to console on startup. The list of all options is here.

Here is an example how to disable the mixin.alloc.composter option:

"custom": {
  "lithium:options": {
    "mixin.alloc.composter": false
  }
}

For Neoforge, this needs to go into your toml file:

["lithium:options"]
"mixin.alloc.composter" = false

Previous versions of this page were missing the "mixin."-prefix. If the declared option is not found, Lithium will automatically prefix "mixin." in versions >= 0.14.2.