Minestom wiki
Search…
Mixin support

Base set-up for Minestom extensions

In your extension.json file, add this line:
1
"mixinConfig": "mixins.testextension.json"
Copied!
Replace mixins.testextension.json with the name of the JSON configuration file for Mixin.
Example of Mixin configuration for Minestom (mixins.testextension.json):
1
{
2
"required": true,
3
"minVersion": "0.8.4",
4
"package": "testextension.mixins",
5
"target": "@env(DEFAULT)",
6
"compatibilityLevel": "JAVA_17",
7
"mixins": [
8
"InstanceContainerMixin",
9
"DynamicChunkMixin"
10
]
11
}
Copied!
For more information, check the Mixin wiki and documentation: Wiki and Documentation
Last modified 29d ago
Copy link