public abstract class BaseInventoryMenu<B extends me.hsgamer.hscore.bukkit.gui.button.ButtonMap> extends Menu
config, stringReplacers, variableManager| Modifier | Constructor and Description |
|---|---|
protected |
BaseInventoryMenu(me.hsgamer.hscore.config.Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.bukkit.entity.Player player)
Close the menu
|
void |
closeAll()
Close/Clear all inventories of the type
|
boolean |
create(org.bukkit.entity.Player player,
String[] args,
boolean bypass)
Called when opening the menu for the player
|
protected abstract B |
createButtonMap(me.hsgamer.hscore.config.Config config) |
B |
getButtonMap() |
me.hsgamer.hscore.bukkit.gui.GUIHolder |
getGUIHolder() |
protected void |
refreshButtonMapOnCreate(B buttonMap,
UUID uuid) |
void |
update(org.bukkit.entity.Player player)
Called when updating the menu
|
canBeReplaced, getConfig, getName, getParentMenu, getStringReplacers, getVariableManager, replace, setParentMenuprotected BaseInventoryMenu(me.hsgamer.hscore.config.Config config)
public boolean create(org.bukkit.entity.Player player,
String[] args,
boolean bypass)
Menupublic void update(org.bukkit.entity.Player player)
Menupublic void close(org.bukkit.entity.Player player)
Menupublic void closeAll()
Menuprotected abstract B createButtonMap(me.hsgamer.hscore.config.Config config)
public B getButtonMap()
public me.hsgamer.hscore.bukkit.gui.GUIHolder getGUIHolder()
Copyright © 2023. All rights reserved.