Class GuiFiller
java.lang.Object
dev.triumphteam.gui.components.util.GuiFiller
TODO fix comments
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSets an GuiItem to fill up the entire inventory where there is no other itemvoidFill empty slots with Multiple GuiItems, goes through list and starts againvoidfillBetweenPoints(int rowFrom, int colFrom, int rowTo, int colTo, @NotNull GuiItem guiItem) Fills rectangle from points within the GUIvoidfillBetweenPoints(int rowFrom, int colFrom, int rowTo, int colTo, @NotNull List<GuiItem> guiItems) Fills rectangle from points within the GUIvoidfillBorder(@NotNull GuiItem guiItem) Fills the outside section of the GUI with a GuiItemvoidfillBorder(@NotNull List<GuiItem> guiItems) Fill empty slots with Multiple GuiItems, goes through list and starts againvoidfillBottom(@NotNull GuiItem guiItem) Fills bottom portion of the GUIvoidfillBottom(@NotNull List<GuiItem> guiItems) Fills bottom portion of the GUI with alternationvoidFills top portion of the GUIvoidFills top portion of the GUI with alternation
-
Constructor Details
-
GuiFiller
-
-
Method Details
-
fillTop
Fills top portion of the GUI- Parameters:
guiItem- GuiItem
-
fillTop
Fills top portion of the GUI with alternation- Parameters:
guiItems- List of GuiItems
-
fillBottom
Fills bottom portion of the GUI- Parameters:
guiItem- GuiItem
-
fillBottom
Fills bottom portion of the GUI with alternation- Parameters:
guiItems- GuiItem
-
fillBorder
Fills the outside section of the GUI with a GuiItem- Parameters:
guiItem- GuiItem
-
fillBorder
Fill empty slots with Multiple GuiItems, goes through list and starts again- Parameters:
guiItems- GuiItem
-
fillBetweenPoints
public void fillBetweenPoints(int rowFrom, int colFrom, int rowTo, int colTo, @NotNull @NotNull GuiItem guiItem) Fills rectangle from points within the GUI- Parameters:
rowFrom- Row point 1colFrom- Col point 1rowTo- Row point 2colTo- Col point 2guiItem- Item to fill with
-
fillBetweenPoints
public void fillBetweenPoints(int rowFrom, int colFrom, int rowTo, int colTo, @NotNull @NotNull List<GuiItem> guiItems) Fills rectangle from points within the GUI- Parameters:
rowFrom- Row point 1colFrom- Col point 1rowTo- Row point 2colTo- Col point 2guiItems- Item to fill with
-
fill
Sets an GuiItem to fill up the entire inventory where there is no other item- Parameters:
guiItem- The item to use as fill
-
fill
Fill empty slots with Multiple GuiItems, goes through list and starts again- Parameters:
guiItems- GuiItem
-