From e95877d7dbefa99c25523c1ee8ab0e02c31be358 Mon Sep 17 00:00:00 2001 From: qscbm187531 <1309635304@qq.com> Date: Sat, 16 Sep 2023 13:52:46 +0800 Subject: [PATCH] Update extensions.md (#202) --- _docs/geyser/extensions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/geyser/extensions.md b/_docs/geyser/extensions.md index 4877898..56ed2f0 100644 --- a/_docs/geyser/extensions.md +++ b/_docs/geyser/extensions.md @@ -46,7 +46,7 @@ Explanations for the individual fields: ### 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/47614575a69bddecb241676215f3c9f9113db304/src/main/java/org/geyser/extension/exampleid/ExampleExtension.java#L10). +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). 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).