Skip to content

Disabling Lithium's Mixins using your mod's fabric.mod.json or neoforge.mods.toml

2No2Name edited this page Nov 12, 2024 · 1 revision

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:

Fabric (fabric.mod.json)

Place this before the last }

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

Neoforge (neoforge.mods.toml)

Place this at the end

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

Note

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.