Update outdated content (#138)
* Change the footer link * Add hyperlink at geyserintegratedpack.md * Update api version * Update links at extensions.md * Update version
This commit is contained in:
1 parent
9525858608
commit
1d27d4d21a
4 files changed
+8
-8
No files matched your search
@@ -41,7 +41,7 @@ To update extensions, use the `update` folder within the extensions directory as
|
||||
|
||||
## Creating Geyser Extensions {#creating-geyser-extensions}
|
||||
|
||||
The easiest way to create an extension would be utilizing [this official template](https://github.com/GeyserMC/GeyserExampleExtension/).
|
||||
The easiest way to create an extension would be utilizing [this official template](https://github.com/GeyserMC/GeyserExtensionTemplate/).
|
||||
Simply create a new repository from the template, customize the `extension.yml` & `settings.gradle` files, and get started making the extension.
|
||||
|
||||
Geyser recognizes extensions when they have a file called `extension.yml` in the jars `resources` folder.
|
||||
@@ -71,7 +71,7 @@ Explanations for the individual fields:
|
||||
|
||||
## Creating the main class {#creating-the-main-class}
|
||||
|
||||
The main class, the entrypoint for the extension, needs to [implement the **Extension** interface provided by Geyser](https://github.com/GeyserMC/GeyserExampleExtension/blob/master/src/main/java/org/geyser/extension/exampleid/ExampleExtension.java#L12).
|
||||
The main class, the entrypoint for the extension, needs to [implement the **Extension** interface provided by Geyser](https://github.com/GeyserMC/GeyserExtensionTemplate/blob/master/src/main/java/org/geyser/extension/exampleid/ExampleExtension.java#L15).
|
||||
That way, Geyser recognizes the extension, and gives you access to important methods - such as `logger()`, to get your extensions logger.
|
||||
To see all the methods provided by that interface, see [here](https://github.com/GeyserMC/Geyser/blob/master/api/src/main/java/org/geysermc/geyser/api/extension/Extension.java).
|
||||
|
||||
|
||||
Reference in new issue
Block a user