add entrypoints to extensions

This commit is contained in:
lilly 2024-06-10 14:23:04 -05:00
parent 6af973a63d
commit d7d8182c74
Signed by: MaeMachineBroke
GPG key ID: B54591A4805E9CC8
4 changed files with 7 additions and 1 deletions

1
exts/client.md Normal file
View file

@ -0,0 +1 @@
# ClientExtension

1
exts/main.md Normal file
View file

@ -0,0 +1 @@
# MainInitializer

1
exts/server.md Normal file
View file

@ -0,0 +1 @@
# ServerExtension

View file

@ -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.
#### `[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).
- `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).
- `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
The `included_jars` and `phytotelma.generated` keys are inserted by the [Phytotelma](/contributing/tools#phytotelma) tool and should not be edited manually.