Class ChestMenuUtils



  • public final class ChestMenuUtils
    extends Object
    • Method Detail

      • getBackground

        public static ItemStack getBackground​()
      • getEmptyClickHandler

        public static me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu.MenuClickHandler getEmptyClickHandler​()
      • getWikiButton

        public static ItemStack getWikiButton​()
      • getPreviousButton

        public static ItemStack getPreviousButton​(Player p,
                                                  int page,
                                                  int pages)
      • getNextButton

        public static ItemStack getNextButton​(Player p,
                                              int page,
                                              int pages)
      • 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)