Wiki 9Minecraft MixinBooter Mod Wiki
MixinBooter Mod Wiki › Configuration

MixinBooter Mod — Configuration

Configuration and Properties

MixinBooter utilizes a JSON-based configuration system to define how Mixins are applied. These configurations are typically found in a mod's resources as a .json file.

Mixin Configuration Properties

Property Type Description
package String Required. The root package where the Mixin classes reside.
refmap String Required. The filename of the refmap used for obfuscation mapping.
parent String Optional. Defines a parent configuration to inherit settings from.
required Boolean If true, the game will hard crash if the Mixins fail to apply.
plugin String Path to an IMixinConfigPlugin for logic-based application.
target String Defines the target environment (e.g., @env(DEFAULT)).
conformVisibility Boolean Whether overwrites should conform to the original method's visibility.
requireAnnotations Boolean If true, requires the @Overwrite annotation for all method replacements.

Injector Options

Within the configuration, developers can fine-tune the behavior of code injections: * defaultRequire: The number of times an injection must succeed before it is considered successful (default is 0). * maxShiftBy: The maximum number of opcodes an injection point can shift to find a valid target (default is 0, max is 5).