| Annotation Type | Description |
|---|---|
| MixinConfig |
Utility annotation system for dynamically registering and enabling mixins based on Forge's @Config annotations
This is specifically designed for configs using the Forge @Config annotation system
This was primarily made for my own use and sanity but provided for others to use
Please report any issues to the Github
Any classes containing @MixinToggle fields must also annotate the class with @MixinConfig, including inner classes
name: Config file name, this should match the name you provide to @Config, or the modid if name is not provided
classloadEarly: If set to true, will load this class after scanning it, running its static{} block.
|
| MixinConfig.CompatHandling |
Provides additional modID-based compatibility handling for fields annotated by @MixinToggle
If checks fail a specific warning will be logged and a general warning will display on screen
modid: ModID of the target mod
modName: Additionally check for specific name of the target mod, to distinguish between forks
targetVersionRange: Additionally check for version of target mod to be in the given range, using the same system as @Mod(dependencies=...)
|
| MixinConfig.CompatHandlingContainer |
Internal use only
|
| MixinConfig.MixinToggle |
Annotates a boolean field annotated with @Config.Name that toggles if mixins should attempt to be loaded
mixinJson: Name of the mixin json to be loaded.
|