Class ChestMenuUtils

java.lang.Object
io.github.thebusybiscuit.slimefun4.utils.ChestMenuUtils

public final class ChestMenuUtils extends Object
  • Method Details

    • getBackground

      @Nonnull public static ItemStack getBackground()
    • getNoPermissionItem

      @Nonnull public static ItemStack getNoPermissionItem()
    • getNotResearchedItem

      @Nonnull public static ItemStack getNotResearchedItem()
    • getInputSlotTexture

      @Nonnull public static ItemStack getInputSlotTexture()
    • getOutputSlotTexture

      @Nonnull public static ItemStack getOutputSlotTexture()
    • getEmptyClickHandler

      @Nonnull public static ChestMenu.MenuClickHandler getEmptyClickHandler()
    • getDefaultOutputHandler

      @Nonnull public static ChestMenu.AdvancedMenuClickHandler getDefaultOutputHandler()
    • getBackButton

      @Nonnull public static ItemStack getBackButton(@Nonnull Player p, String... lore)
    • getMenuButton

      @Nonnull public static ItemStack getMenuButton(@Nonnull Player p)
    • getSearchButton

      @Nonnull public static ItemStack getSearchButton(@Nonnull Player p)
    • getWikiButton

      @Nonnull public static ItemStack getWikiButton()
    • getPreviousButton

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

      @Nonnull public static ItemStack getNextButton(@Nonnull Player p, int page, int pages)
    • drawBackground

      public static void drawBackground(@Nonnull ChestMenu menu, int... slots)
    • updateProgressbar

      public static void updateProgressbar(@Nonnull ChestMenu menu, int slot, int timeLeft, int time, @Nonnull ItemStack indicator)
    • getProgressBar

      @Nonnull public static String getProgressBar(int time, int total)