Class PaperMenuHandler

java.lang.Object
net.tnemc.menu.paper.PaperMenuHandler
All Implemented Interfaces:
MenuHandler

public class PaperMenuHandler extends Object implements MenuHandler
PaperMenuHandler
Since:
1.5.0.0
Author:
creatorfromhell
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.bukkit.plugin.java.JavaPlugin
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PaperMenuHandler(org.bukkit.plugin.java.JavaPlugin plugin, boolean registerListeners)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    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 empty item stack object for the platform to help build a new item stack for an icon.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • plugin

      private final org.bukkit.plugin.java.JavaPlugin plugin
  • Constructor Details

    • PaperMenuHandler

      public PaperMenuHandler(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 interface MenuHandler
    • stackBuilder

      public net.tnemc.item.AbstractItemStack<?> stackBuilder()
      Description copied from interface: MenuHandler
      This method is used to get an empty item stack object for the platform to help build a new item stack for an icon.
      Specified by:
      stackBuilder in interface MenuHandler
      Returns:
      an instance of AbstractItemStack representing an in-progress item builder for the platform.
    • getManager

      public MenuManager getManager()