add entrypoints to extensions
This commit is contained in:
parent
6af973a63d
commit
d7d8182c74
1
exts/client.md
Normal file
1
exts/client.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# ClientExtension
|
1
exts/main.md
Normal file
1
exts/main.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# MainInitializer
|
1
exts/server.md
Normal file
1
exts/server.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# ServerExtension
|
|
@ -30,10 +30,13 @@ The Mod inline table contains information referencing a mod other than your own.
|
||||||
- `link`: a link to the download page of the mod. Mods from certain sites may be able to be handled specially by frog loader. Optional.
|
- `link`: a link to the download page of the mod. Mods from certain sites may be able to be handled specially by frog loader. Optional.
|
||||||
|
|
||||||
#### `[frog.extensions]`
|
#### `[frog.extensions]`
|
||||||
The `[frog.extensions]` table contains information on definitions that modify the behavior of the loader or game. It can contain the following fields, all of which are optional:
|
The `[frog.extensions]` table contains information on definitions that modify the behavior of the loader or game. It can contain the following fields:
|
||||||
- `mixin`: reference to a `.mixins.json` file contained within the `src/resources` folder. See [Mixin](/exts/mixin).
|
- `mixin`: reference to a `.mixins.json` file contained within the `src/resources` folder. See [Mixin](/exts/mixin).
|
||||||
- `accesswidener`: reference to a `.accesswidener` file contained within the `src/resources` folder. See [AccessWidener](/exts/aw).
|
- `accesswidener`: reference to a `.accesswidener` file contained within the `src/resources` folder. See [AccessWidener](/exts/aw).
|
||||||
- `prelaunch`: reference to a PreLaunch class on the classpath, separated by forward slashes. See [PreLaunch](/exts/prelaunch).
|
- `prelaunch`: reference to a PreLaunch class on the classpath, separated by forward slashes. See [PreLaunch](/exts/prelaunch).
|
||||||
|
- `init`: reference to a MainExtension entrypoint on the classpath, separated by forward slashes. See [MainExtension](/exts/main).
|
||||||
|
- `client`: reference to a ClientExtension entrypoint on the classpath, separated by forward slashes. See [ClientExtension](/exts/client).
|
||||||
|
- `server`: reference to a ServerExtension entrypoint on the classpath, separated by forward slashes. See [ServerExtension](/exts/server).
|
||||||
|
|
||||||
#### Internal Keys
|
#### Internal Keys
|
||||||
The `included_jars` and `phytotelma.generated` keys are inserted by the [Phytotelma](/contributing/tools#phytotelma) tool and should not be edited manually.
|
The `included_jars` and `phytotelma.generated` keys are inserted by the [Phytotelma](/contributing/tools#phytotelma) tool and should not be edited manually.
|
||||||
|
|
Loading…
Reference in a new issue