A B C D F G H I L M N P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addLine(Component) - Method in class dev.majek.chattools.Pagination
-
Add a line to this pagination.
- addLines(List<Component>) - Method in class dev.majek.chattools.Pagination
-
Add lines to this pagination.
- addLines(Component...) - Method in class dev.majek.chattools.Pagination
-
Add lines to this pagination.
- advancedTransformations(boolean) - Method in interface dev.majek.chattools.MiniMessageWrapper.Builder
-
Whether to parse advanced
TransformationTypes on the final string to be parsed.
B
- build() - Method in interface dev.majek.chattools.MiniMessageWrapper.Builder
-
Build the
MiniMessageWrapperready to parse. - builder() - Static method in interface dev.majek.chattools.MiniMessageWrapper
-
Creates a new
MiniMessageWrapper.Builder.
C
- cutComponent(Component) - Method in class dev.majek.chattools.TextComponentCutter
-
Cut a component into a list of components of the correct length.
D
- dev.majek.chattools - package dev.majek.chattools
F
- footer() - Method in class dev.majek.chattools.Pagination
-
Get the footer for this pagination.
- footer(Component) - Method in class dev.majek.chattools.Pagination
-
Set the footer.
G
- gradients(boolean) - Method in interface dev.majek.chattools.MiniMessageWrapper.Builder
-
Whether gradients on the final string should be parsed.
H
- header() - Method in class dev.majek.chattools.Pagination
-
Get the header for this pagination.
- hexColors(boolean) - Method in interface dev.majek.chattools.MiniMessageWrapper.Builder
-
Whether hex colors on the final string should be parsed.
- hoverTextColor() - Method in class dev.majek.chattools.Pagination
-
Get the text color that will be used for hover text.
- hoverTextColor(TextColor) - Method in class dev.majek.chattools.Pagination
-
Set the text color that will be used for hover text.
I
- invalidButtonColor() - Method in class dev.majek.chattools.Pagination
-
Get the text color that will be used for invalid buttons.
- invalidButtonColor(TextColor) - Method in class dev.majek.chattools.Pagination
-
Set the text color that will be used for invalid buttons.
- InvalidPageException() - Constructor for exception dev.majek.chattools.Pagination.InvalidPageException
L
- legacy() - Static method in interface dev.majek.chattools.MiniMessageWrapper
-
Gets a simple instance with legacy code support.
- legacyColors(boolean) - Method in interface dev.majek.chattools.MiniMessageWrapper.Builder
-
Whether legacy color codes on the final string should be parsed.
- lines() - Method in class dev.majek.chattools.Pagination
-
Get a list of all lines for the pagination.
- linesPerPage() - Method in class dev.majek.chattools.Pagination
-
Get the number of lines per page, not counting the header or footer.
- linesPerPage(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in class dev.majek.chattools.Pagination
-
Set the number of lines per page, not counting the header or footer.
M
- maxChatWidth() - Method in class dev.majek.chattools.Pagination
-
Get the maximum amount of characters allowed per line.
- maxChatWidth(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Method in class dev.majek.chattools.Pagination
-
Set the maximum amount of characters allowed per line.
- MiniMessageWrapper - Interface in dev.majek.chattools
-
A wrapper for
MiniMessageto add a few more methods for more customization. - MiniMessageWrapper.Builder - Interface in dev.majek.chattools
-
A builder for
MiniMessageWrapper. - mmParse(String) - Method in interface dev.majek.chattools.MiniMessageWrapper
-
Parse a string into a
ComponentusingMiniMessage. - mmString(String) - Method in interface dev.majek.chattools.MiniMessageWrapper
-
Get the modified string.
N
- nextPageButton() - Method in class dev.majek.chattools.Pagination
-
Get the component that will be used as a button for traveling to the next page.
- nextPageButton(Component) - Method in class dev.majek.chattools.Pagination
-
Set the component that will be used as a button for traveling to the next page.
- numPages() - Method in class dev.majek.chattools.Pagination
-
Get the number of pages for this pagination.
P
- pageCounterColor() - Method in class dev.majek.chattools.Pagination
-
Get the text color that will be used for the page counter.
- pageCounterColor(TextColor) - Method in class dev.majek.chattools.Pagination
-
Set the text color that will be used for the page counter.
- Pagination - Class in dev.majek.chattools
-
Easily manage multiple pages of components.
- Pagination(Component, String) - Constructor for class dev.majek.chattools.Pagination
-
Create a new pagination.
- Pagination.InvalidPageException - Exception in dev.majek.chattools
-
Thrown if an invalid page is provided in
Pagination.render(int). - placeholderResolver(PlaceholderResolver) - Method in interface dev.majek.chattools.MiniMessageWrapper.Builder
-
Set the
PlaceholderResolverfor theMiniMessageinstance. - preventLuminanceBelow(int) - Method in interface dev.majek.chattools.MiniMessageWrapper.Builder
-
Prevent hex colors that have a luminance below a certain threshold.
- prevPageButton() - Method in class dev.majek.chattools.Pagination
-
Get the component that will be used as a button for traveling to the previous page.
- prevPageButton(Component) - Method in class dev.majek.chattools.Pagination
-
Set the component that will be used as a button for traveling to the previous page.
R
- removeColors(boolean, NamedTextColor...) - Method in interface dev.majek.chattools.MiniMessageWrapper.Builder
-
The
NamedTextColors that should not be parsed. - removeTextDecorations(TextDecoration...) - Method in interface dev.majek.chattools.MiniMessageWrapper.Builder
-
The
TextDecorations that should not be parsed. - render(@org.jetbrains.annotations.Range(from=1L, to=2147483647L) int) - Method in class dev.majek.chattools.Pagination
-
Render a page.
S
- sendPage(@org.jetbrains.annotations.Range(from=1L, to=2147483647L) int, Audience) - Method in class dev.majek.chattools.Pagination
-
Send a rendered page to an audience.
- standard() - Static method in interface dev.majek.chattools.MiniMessageWrapper
-
Gets a simple instance.
- standardColors(boolean) - Method in interface dev.majek.chattools.MiniMessageWrapper.Builder
-
Whether all standard color codes on the final string should be parsed.
T
- TextComponentCutter - Class in dev.majek.chattools
-
Cut components into a list based on a specified max length.
- TextComponentCutter(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int) - Constructor for class dev.majek.chattools.TextComponentCutter
-
Create a new component cutter.
- toBuilder() - Method in interface dev.majek.chattools.MiniMessageWrapper
-
Create a
MiniMessageWrapper.Builderto modify options.
V
- validButtonColor() - Method in class dev.majek.chattools.Pagination
-
Get the text color that will be used for valid buttons.
- validButtonColor(TextColor) - Method in class dev.majek.chattools.Pagination
-
Set the text color that will be used for valid buttons.
All Classes All Packages