Interface Fillable

All Known Implementing Classes:
StaticPane

public interface Fillable
An interface for panes that can be fillable.
Since:
1.0.8

Created at 18.01.2021

Author:
Despical
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fillBorder(@NotNull GuiItem guiItem)
    Fills inventory borders with given gui item.
    void
    fillHorizontallyWith(@NotNull GuiItem guiItem, int line)
    Fills specified row line horizontally with given gui item.
    void
    fillProgressBorder(@NotNull GuiItem full, @NotNull GuiItem empty, int progress)
    Fills inventory borders with given gui item.
    void
    fillVerticallyWith(@NotNull GuiItem guiItem, int line)
    Fills specified row line vertically with given gui item.
  • Method Details

    • fillHorizontallyWith

      void fillHorizontallyWith(@NotNull @NotNull GuiItem guiItem, int line)
      Fills specified row line horizontally with given gui item.
      Parameters:
      guiItem - to fill the empty space with
      line - to fill with guiItem
      Since:
      1.0.5
    • fillVerticallyWith

      void fillVerticallyWith(@NotNull @NotNull GuiItem guiItem, int line)
      Fills specified row line vertically with given gui item.
      Parameters:
      guiItem - to fill the empty space with
      line - to fill with given gui item
      Since:
      1.0.8
    • fillBorder

      void fillBorder(@NotNull @NotNull GuiItem guiItem)
      Fills inventory borders with given gui item.
      Parameters:
      guiItem - to fill the empty space with
      Since:
      1.0.8
    • fillProgressBorder

      void fillProgressBorder(@NotNull @NotNull GuiItem full, @NotNull @NotNull GuiItem empty, int progress)
      Fills inventory borders with given gui item.
      Parameters:
      full - to fill the progressed space with
      empty - to fill the empty space with
      progress - percentage of items to fill
      Since:
      1.1.0