public final class GuiFiller extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
fill(@NotNull GuiItem guiItem)
Sets an GuiItem to fill up the entire inventory where there is no other item
|
void |
fill(@NotNull List<GuiItem> guiItems)
Fill empty slots with Multiple GuiItems, goes through list and starts again
|
void |
fillBetweenPoints(int rowFrom,
int colFrom,
int rowTo,
int colTo,
@NotNull GuiItem guiItem)
Fills rectangle from points within the GUI
|
void |
fillBetweenPoints(int rowFrom,
int colFrom,
int rowTo,
int colTo,
@NotNull List<GuiItem> guiItems)
Fills rectangle from points within the GUI
|
void |
fillBorder(@NotNull GuiItem guiItem)
Fills the outside section of the GUI with a GuiItem
|
void |
fillBorder(@NotNull List<GuiItem> guiItems)
Fill empty slots with Multiple GuiItems, goes through list and starts again
|
void |
fillBottom(@NotNull GuiItem guiItem)
Fills bottom portion of the GUI
|
void |
fillBottom(@NotNull List<GuiItem> guiItems)
Fills bottom portion of the GUI with alternation
|
void |
fillTop(@NotNull GuiItem guiItem)
Fills top portion of the GUI
|
void |
fillTop(@NotNull List<GuiItem> guiItems)
Fills top portion of the GUI with alternation
|
public GuiFiller(BaseGui gui)
public void fillTop(@NotNull
@NotNull GuiItem guiItem)
guiItem - GuiItempublic void fillTop(@NotNull
@NotNull List<GuiItem> guiItems)
guiItems - List of GuiItemspublic void fillBottom(@NotNull
@NotNull GuiItem guiItem)
guiItem - GuiItempublic void fillBottom(@NotNull
@NotNull List<GuiItem> guiItems)
guiItems - GuiItempublic void fillBorder(@NotNull
@NotNull GuiItem guiItem)
guiItem - GuiItempublic void fillBorder(@NotNull
@NotNull List<GuiItem> guiItems)
guiItems - GuiItempublic void fillBetweenPoints(int rowFrom,
int colFrom,
int rowTo,
int colTo,
@NotNull
@NotNull GuiItem guiItem)
rowFrom - Row point 1colFrom - Col point 1rowTo - Row point 2colTo - Col point 2guiItem - Item to fill withpublic void fillBetweenPoints(int rowFrom,
int colFrom,
int rowTo,
int colTo,
@NotNull
@NotNull List<GuiItem> guiItems)
rowFrom - Row point 1colFrom - Col point 1rowTo - Row point 2colTo - Col point 2guiItems - Item to fill withpublic void fill(@NotNull
@NotNull GuiItem guiItem)
guiItem - The item to use as fillCopyright © 2020. All rights reserved.