mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-01 00:10:19 +01:00
Updated Extensions (markdown)
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user