Constructor and Description |
---|
InternalUIHandler(SubPlugin plugin)
Creates a new Internal GUI Listener
|
Modifier and Type | Method and Description |
---|---|
void |
clean(org.bukkit.event.player.PlayerQuitEvent event)
Clean Renderers
|
void |
click(org.bukkit.event.inventory.InventoryClickEvent event)
Click Listener
|
void |
close(org.bukkit.event.inventory.InventoryCloseEvent event)
GUI Close Listener
|
void |
disable()
Disable Listener
|
InternalUIRenderer |
getRenderer(org.bukkit.entity.Player player)
Grabs the current Renderer for the player
|
void |
input(org.bukkit.event.player.PlayerChatEvent event)
Input Listener
|
void |
input(org.bukkit.event.player.PlayerCommandPreprocessEvent event)
Input Listener
|
public InternalUIHandler(SubPlugin plugin)
plugin
- Eventpublic InternalUIRenderer getRenderer(org.bukkit.entity.Player player)
UIHandler
getRenderer
in interface UIHandler
player
- Playerpublic void disable()
UIHandler
public void click(org.bukkit.event.inventory.InventoryClickEvent event)
UIHandler
public void input(org.bukkit.event.player.PlayerChatEvent event)
event
- Eventpublic void input(org.bukkit.event.player.PlayerCommandPreprocessEvent event)
event
- Eventpublic void close(org.bukkit.event.inventory.InventoryCloseEvent event)
event
- Eventpublic void clean(org.bukkit.event.player.PlayerQuitEvent event)
event
- Event