Updated Extensions (markdown)

Lukas Mansour 2020-10-24 10:42:08 +02:00
parent 12d425feb0
commit db1bcd8192

@ -23,7 +23,7 @@ Then, create a `extension.json` at the root of the resources folder (`src/main/r
```json
{
"entrypoint": "testextension.TestExtension",
"name": "Test extension",
"name": "TestExtension",
"codeModifiers": [
"testextension.TestModifier"
],
@ -31,7 +31,7 @@ Then, create a `extension.json` at the root of the resources folder (`src/main/r
}
```
* `entrypoint`: Fully qualified name of your extension class
* `name`: Name to use to represent the extension to users
* `name`: Name to use to represent the extension to users. Must match regex ```[A-Za-z]+```
* `codeModifiers (optional)`: List of code modifier fully qualified-named classes to modify Minestom classes at launch time
* `mixinConfig (optional)`: Name of a JSON file for support of Mixin injection