Package net.tnemc.menu.sponge8
Class Sponge8MenuHandler
java.lang.Object
net.tnemc.menu.sponge8.Sponge8MenuHandler
- All Implemented Interfaces:
MenuHandler
SpongeMenuHandler
- Since:
- 1.5.0.0
- Author:
- creatorfromhell
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.spongepowered.plugin.PluginContainer
-
Constructor Summary
ConstructorDescriptionSponge8MenuHandler
(org.spongepowered.plugin.PluginContainer container, 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
-
container
protected final org.spongepowered.plugin.PluginContainer container
-
-
Constructor Details
-
Sponge8MenuHandler
public Sponge8MenuHandler(org.spongepowered.plugin.PluginContainer container, 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
-