mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-22 02:25:48 +01:00
Created Mixin support (markdown)
parent
606989f505
commit
8244882eeb
23
Mixin-support.md
Normal file
23
Mixin-support.md
Normal file
@ -0,0 +1,23 @@
|
||||
# Base set-up for Minestom extensions
|
||||
In your extension.json file, add this line:
|
||||
```
|
||||
"mixinConfig": "mixins.testextension.json"
|
||||
```
|
||||
Replace `mixins.testextension.json` with the name of the JSON configuration file for Mixin.
|
||||
|
||||
Example of Mixin configuration for Minestom (`mixins.testextension.json`):
|
||||
```
|
||||
{
|
||||
"required": true,
|
||||
"minVersion": "0.8",
|
||||
"package": "testextension.mixins",
|
||||
"target": "@env(DEFAULT)",
|
||||
"compatibilityLevel": "JAVA_11",
|
||||
"mixins": [
|
||||
"InstanceContainerMixin",
|
||||
"DynamicChunkMixin"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
For more information, check the Mixin wiki and documentation: [Wiki](https://github.com/SpongePowered/Mixin/wiki) and [Documentation](https://docs.spongepowered.org/stable/fr/contributing/implementation/mixins.html)
|
Loading…
Reference in New Issue
Block a user