From de592c05412267a79cf4acdd73db00feac5fbe21 Mon Sep 17 00:00:00 2001 From: "Daniel V." Date: Tue, 27 Aug 2024 19:20:56 -0400 Subject: [PATCH] Add Javadoc link. --- Core/src/net/tnemc/menu/core/MenuHandler.java | 9 +++++++++ README.md | 2 +- pom.xml | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Core/src/net/tnemc/menu/core/MenuHandler.java b/Core/src/net/tnemc/menu/core/MenuHandler.java index 7cfb240..591436c 100644 --- a/Core/src/net/tnemc/menu/core/MenuHandler.java +++ b/Core/src/net/tnemc/menu/core/MenuHandler.java @@ -28,7 +28,16 @@ */ public interface MenuHandler { + /** + * Used to register the listeners automatically without having to manually register each TNML Listener. + */ void registerListeners(); + /** + * This method is used to get an empty {@link AbstractItemStack item stack} object for the platform + * to help build a new item stack for an icon. + * + * @return an instance of AbstractItemStack representing an in-progress item builder for the platform. + */ AbstractItemStack stackBuilder(); } \ No newline at end of file diff --git a/README.md b/README.md index b16b0ec..a45bba8 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ there too. [Wiki](https://github.com/TheNewEconomy/TNML/wiki/) -[JavaDoc]() - coming soon +[JavaDoc](https://tnemc.net/jd/tnml) ## Maven The New Menu Library uses maven for dependency management. diff --git a/pom.xml b/pom.xml index 014d696..72463e4 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ Bukkit Paper Folia - Sponge7 + Sponge8 Examples