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 TypeMethodDescriptionvoidfillBorder(@NotNull GuiItem guiItem) Fills inventory borders with given gui item.voidfillHorizontallyWith(@NotNull GuiItem guiItem, int line) Fills specified row line horizontally with given gui item.voidfillProgressBorder(@NotNull GuiItem full, @NotNull GuiItem empty, int progress) Fills inventory borders with given gui item.voidfillVerticallyWith(@NotNull GuiItem guiItem, int line) Fills specified row line vertically with given gui item.
-
Method Details
-
fillHorizontallyWith
Fills specified row line horizontally with given gui item.- Parameters:
guiItem- to fill the empty space withline- to fill withguiItem- Since:
- 1.0.5
-
fillVerticallyWith
Fills specified row line vertically with given gui item.- Parameters:
guiItem- to fill the empty space withline- to fill with given gui item- Since:
- 1.0.8
-
fillBorder
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 withempty- to fill the empty space withprogress- percentage of items to fill- Since:
- 1.1.0
-