Sponge Mixin configuration
Configuration file for SpongePowered's Mixin library
| Type | object |
|---|---|
| File match |
*.mixins.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/sponge-mixin-configuration/latest.json |
| Source | https://www.schemastore.org/sponge-mixins.json |
Validate with Lintel
npx @lintel/lintel check
Properties
The target package where the mixin classes reside
The name of a parent configuration that options get inherited from
Target selector. Either the specifies the phase directly or use "@env(PHASE)" separated by '&', '', or ' '
Minimum version of the mixin subsystem required for this configuration
Minimum compatibility level required for mixins in this set
Determines whether mixin failures in this configuration are considered terminal and stop the game
The priority of this configuration. Will be inherited if smaller than 0
Default mixin priority for this configuration. Will be inherited if smaller than 0
Mixin classes to load in all environments. Class names get prepended with the specified package
Mixin classes to load ONLY on client. Class names get prepended with the specified package
Mixin classes to load ONLY on server. Class names get prepended with the specified package
Sets whether targets' source files will be updated to the mixin source file
The path to the reference map resource to use for this configuration
Increases log detail level from DEBUG to INFO
Name of the mixin config plugin to use for this config
Injection options
4 nested properties
Sets the default minimum of injections that must be successfully applied per injector
Sets the default injector group
Registers injection points for this configuration
Sets the maximum allowed number of opcodes that can be shifted in @At annotations. This is hard capped at 5
Overwrite options
2 nested properties
Sets whether the visibility of overwritten methods should be conformed to the target class
Sets whether overwriting methods must explicitly be declared through @Overwrite annotations
Definitions
The dot-separated path to the mixin class relative to the specified package. The class must be annotated with @Mixin
Injection options
Sets the default minimum of injections that must be successfully applied per injector
Sets the default injector group
Registers injection points for this configuration
Sets the maximum allowed number of opcodes that can be shifted in @At annotations. This is hard capped at 5
Overwrite options
Sets whether the visibility of overwritten methods should be conformed to the target class
Sets whether overwriting methods must explicitly be declared through @Overwrite annotations