Skip to content

Mixin Configuration File

DragonEggBedrockBreaking edited this page Apr 17, 2024 · 20 revisions

What is this??

This allows you to toggle mixins before you launch the game. Mixins are files that directly edit part of Minecraft's code, and this mod relies on them for most things, from implementing features to registering commands. This mod used to use the CaffeineConfig library, but now has its own system. The config files are compatible.

How and when do I use it?

If you are a mod user, you likely will not need this. This should only be used if you have an incompatibility issue between this and another mod, or a feature is breaking vanilla. If this is the case, and you manually need to disable a set of mixins, please remember to also open an issue report.

To use it, please open .minecraft/config/vanilla-disable-mixin.properties, and add lines using the following format:

mixin.option=boolean

For example, if I wanted to disable the knockback mixins, I would do:

mixin.command.entity.knockback=false

Categories

Disabling a higher package will disable all subpackages, e.g. disabling mixin.command.entity.breeding will also disable mixin.command.entity.breeding.tempt_goal, even if you explicitly state mixin.command.entity.breeding.tempt_goal=true. You can also disable individual mixins.

Where can I find a list of Mixins?

There are three files which together contain all the mixins. Note that these links are for the latest development version of the game, which may not be the same as in the release you are using. The common list contains mixins used on all modloaders. The fabric/quilt and neoforge lists are only for their respective modloaders.

Util mixins

Any options starting with mixin.util. are utility mixins necessary for the configuration system. It is recommended not to disable these. It is possible, but disabling them also disables all mixins relating to the properties they configure. Disable at your own risk.