Package net.tnemc.menu.folia
Class FoliaMenuHandler
java.lang.Object
net.tnemc.menu.folia.FoliaMenuHandler
- All Implemented Interfaces:
MenuHandler
FoliaMenuHandler
- Since:
- 1.5.0.0
- Author:
- creatorfromhell
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFoliaMenuHandler
(org.bukkit.plugin.java.JavaPlugin plugin, boolean registerListeners) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Used to register the listeners automatically without having to manually register each TNML Listener.net.tnemc.item.AbstractItemStack<?>
This method is used to get an emptyitem stack
object for the platform to help build a new item stack for an icon.
-
Field Details
-
plugin
private final org.bukkit.plugin.java.JavaPlugin plugin
-
-
Constructor Details
-
FoliaMenuHandler
public FoliaMenuHandler(org.bukkit.plugin.java.JavaPlugin plugin, boolean registerListeners)
-
-
Method Details
-
registerListeners
public void registerListeners()Description copied from interface:MenuHandler
Used to register the listeners automatically without having to manually register each TNML Listener.- Specified by:
registerListeners
in interfaceMenuHandler
-
stackBuilder
public net.tnemc.item.AbstractItemStack<?> stackBuilder()Description copied from interface:MenuHandler
This method is used to get an emptyitem stack
object for the platform to help build a new item stack for an icon.- Specified by:
stackBuilder
in interfaceMenuHandler
- Returns:
- an instance of AbstractItemStack representing an in-progress item builder for the platform.
-
getManager
-