Package com.andrei1058.spigot.sidebar
Class TabHeaderFooter
java.lang.Object
com.andrei1058.spigot.sidebar.TabHeaderFooter
-
Constructor Summary
ConstructorDescriptionTabHeaderFooter
(LinkedList<SidebarLine> header, LinkedList<SidebarLine> footer, @Nullable Collection<PlaceholderProvider> placeholders) Create a new tab context. -
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<PlaceholderProvider>
void
setFooter
(@NotNull LinkedList<SidebarLine> footer) void
setHeader
(@NotNull LinkedList<SidebarLine> header) void
setPlaceholders
(@Nullable Collection<PlaceholderProvider> placeholders)
-
Constructor Details
-
TabHeaderFooter
public TabHeaderFooter(LinkedList<SidebarLine> header, LinkedList<SidebarLine> footer, @Nullable @Nullable Collection<PlaceholderProvider> placeholders) Create a new tab context.- Parameters:
header
- lines.footer
- lines.placeholders
- internal placeholders. Papi is automatically fetched.
-
-
Method Details
-
getPlaceholders
-
getHeader
-
setPlaceholders
-
setHeader
-