Class ChestMenuUtils
- java.lang.Object
-
- io.github.thebusybiscuit.slimefun4.utils.ChestMenuUtils
-
public final class ChestMenuUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
drawBackground(me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu menu, int... slots)
static ItemStack
getBackButton(Player p, String... lore)
static ItemStack
getBackground()
static me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu.MenuClickHandler
getEmptyClickHandler()
static ItemStack
getMenuButton(Player p)
static ItemStack
getNextButton(Player p, int page, int pages)
static ItemStack
getPreviousButton(Player p, int page, int pages)
static String
getProgressBar(int time, int total)
static ItemStack
getSearchButton(Player p)
static ItemStack
getWikiButton()
static void
updateProgressbar(me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu menu, int slot, int timeLeft, int time, ItemStack indicator)
-
-
-
Method Detail
-
getBackground
public static ItemStack getBackground()
-
getEmptyClickHandler
public static me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu.MenuClickHandler getEmptyClickHandler()
-
getWikiButton
public static ItemStack getWikiButton()
-
drawBackground
public static void drawBackground(me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu menu, int... slots)
-
updateProgressbar
public static void updateProgressbar(me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu menu, int slot, int timeLeft, int time, ItemStack indicator)
-
getProgressBar
public static String getProgressBar(int time, int total)
-
-