Index

A B C D E F G H I L M P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

ADVANCED_FORMATTING - Enum constant in enum de.themoep.minedown.MineDownParser.Option
Translate advanced MineDown formatting (e.g.
applyFormat(BaseComponent, Collection<ChatColor>) - Static method in class de.themoep.minedown.Util
Apply a collection of colors/formats to a component
applyFormat(ComponentBuilder, Map<ChatColor, Boolean>) - Static method in class de.themoep.minedown.Util
Apply a collection of colors/formats to a component builder
applyFormat(ComponentBuilder, Set<ChatColor>) - Static method in class de.themoep.minedown.Util
autoAddUrlPrefix() - Method in class de.themoep.minedown.MineDownParser
Get whether or not to automatically add http to values of open_url when there doesn't exist any?
autoAddUrlPrefix(boolean) - Method in class de.themoep.minedown.MineDown
Automatically add http to values of open_url when there doesn't exist any? (Default: true)
autoAddUrlPrefix(boolean) - Method in class de.themoep.minedown.MineDownParser
Set whether or not to automatically add http to values of open_url when there doesn't exist any?

B

backwardsCompatibility() - Method in class de.themoep.minedown.MineDownParser
Get whether the parser should try to detect if RGB/font support is available
backwardsCompatibility(boolean) - Method in class de.themoep.minedown.MineDownParser
Set whether the parser should try to detect if RGB/font support is available
baseComponents() - Method in class de.themoep.minedown.MineDown
 
builder() - Method in class de.themoep.minedown.MineDownParser
 
builder(ComponentBuilder) - Method in class de.themoep.minedown.MineDownParser
 

C

clickEvent() - Method in class de.themoep.minedown.MineDownParser
 
clickEvent(ClickEvent) - Method in class de.themoep.minedown.MineDownParser
 
COLOR_PREFIX - Static variable in class de.themoep.minedown.MineDown
 
colorChar() - Method in class de.themoep.minedown.MineDownParser
Get The character to use as a special color code.
colorChar() - Method in class de.themoep.minedown.MineDownStringifier
Get the character to use as a special color code.
colorChar(char) - Method in class de.themoep.minedown.MineDown
Set a special character to replace color codes by if translating legacy colors is enabled.
colorChar(char) - Method in class de.themoep.minedown.MineDownParser
Set the character to use as a special color code.
colorChar(char) - Method in class de.themoep.minedown.MineDownStringifier
Set the character to use as a special color code.
colorInEventDefinition() - Method in class de.themoep.minedown.MineDownStringifier
Get whether or not to put colors in event definitions or use inline color definitions
colorInEventDefinition(boolean) - Method in class de.themoep.minedown.MineDownStringifier
Set whether or not to put colors in event definitions or use inline color definitions
colors() - Method in class de.themoep.minedown.MineDownParser
 
colors(List<Map.Entry<ChatColor, Boolean>>) - Method in class de.themoep.minedown.MineDownParser
 
componentReplacements() - Method in class de.themoep.minedown.Replacer
Get the map of placeholders with their component array replacements
copy() - Method in class de.themoep.minedown.MineDown
Copy all MineDown settings to a new instance
copy() - Method in class de.themoep.minedown.MineDownParser
Copy all the parser's setting to a new instance
copy() - Method in class de.themoep.minedown.MineDownStringifier
Copy all the parser's setting to a new instance
copy() - Method in class de.themoep.minedown.Replacer
Create a copy of this Replacer
copy(boolean) - Method in class de.themoep.minedown.MineDownParser
Copy all the parser's setting to a new instance
copy(MineDown) - Method in class de.themoep.minedown.MineDown
Copy all MineDown settings from another one
copy(MineDownParser) - Method in class de.themoep.minedown.MineDownParser
Copy all the parser's settings from another parser.
copy(MineDownParser, boolean) - Method in class de.themoep.minedown.MineDownParser
Copy all the parser's settings from another parser.
copy(MineDownStringifier) - Method in class de.themoep.minedown.MineDownStringifier
Copy all the parser's settings from another parser
copy(Replacer) - Method in class de.themoep.minedown.Replacer
Copy all the values of another Replacer
createGradient(int, List<ChatColor>, boolean) - Static method in class de.themoep.minedown.Util
createGradient(long, List<ChatColor>, boolean) - Static method in class de.themoep.minedown.Util
Generate a gradient with certain colors
createRainbow(int, int, boolean) - Static method in class de.themoep.minedown.Util
createRainbow(long, int, boolean) - Static method in class de.themoep.minedown.Util
Generate a rainbow with a certain length and phase

D

de.themoep.minedown - package de.themoep.minedown
 
disable(MineDownParser.Option) - Method in class de.themoep.minedown.MineDown
Disable an option.
disable(MineDownParser.Option) - Method in class de.themoep.minedown.MineDownParser
Disable an option.
distance(Color, Color) - Static method in class de.themoep.minedown.Util
Get the distance between two colors

E

enable(MineDownParser.Option) - Method in class de.themoep.minedown.MineDown
Enable an option.
enable(MineDownParser.Option) - Method in class de.themoep.minedown.MineDownParser
Enable an option.
enabledOptions() - Method in class de.themoep.minedown.MineDownParser
Get all enabled options that will be used when parsing
enabledOptions(Set<MineDownParser.Option>) - Method in class de.themoep.minedown.MineDownParser
Set all enabled options that will be used when parsing at once, replaces any existing options
escape(String) - Static method in class de.themoep.minedown.MineDown
Escape all MineDown formatting in a string.
escape(String) - Method in class de.themoep.minedown.MineDownParser
Escape formatting in the string depending on this parser's options.
Events - Search tag in class de.themoep.minedown.MineDown
Section

F

filter(MineDownParser.Option) - Method in class de.themoep.minedown.MineDown
Filter an option.
filter(MineDownParser.Option) - Method in class de.themoep.minedown.MineDownParser
Filter an option.
filteredOptions() - Method in class de.themoep.minedown.MineDownParser
Get all filtered options that will be parsed and then removed from the string
filteredOptions(Set<MineDownParser.Option>) - Method in class de.themoep.minedown.MineDownParser
Set all filtered options that will be parsed and then removed from the string at once, replaces any existing options
font() - Method in class de.themoep.minedown.MineDownParser
 
FONT_PREFIX - Static variable in class de.themoep.minedown.MineDown
 
format() - Method in class de.themoep.minedown.MineDownParser
 
format(Map<ChatColor, Boolean>) - Method in class de.themoep.minedown.MineDownParser
 
FORMAT_PREFIX - Static variable in class de.themoep.minedown.MineDown
 
formattingInEventDefinition() - Method in class de.themoep.minedown.MineDownStringifier
Get whether or not to put formatting in event definitions or use inline formatting definitions
formattingInEventDefinition(boolean) - Method in class de.themoep.minedown.MineDownStringifier
Set whether or not to put formatting in event definitions or use inline formatting definitions
formattingIsLegacy() - Method in class de.themoep.minedown.MineDownParser
 
formattingIsLegacy(boolean) - Method in class de.themoep.minedown.MineDownParser
 

G

getClosestLegacy(Color) - Static method in class de.themoep.minedown.Util
Get the legacy color closest to a certain RGB color
getFormatFromChar(char) - Static method in class de.themoep.minedown.MineDown
Get the ChatColor format from a MineDown string
getFormats(BaseComponent, boolean) - Static method in class de.themoep.minedown.Util
Get a set of ChatColor formats all formats that a component includes
getFormatString(ChatColor) - Static method in class de.themoep.minedown.MineDown
Get the string that represents the format in MineDown
getMethod(Class<?>, String, Class<?>...) - Static method in class de.themoep.minedown.Util
Get a method from a class if it exists.
getUnescapedEndIndex(String, char, char, int) - Static method in class de.themoep.minedown.Util
Gets the proper end index of a certain definition on the same depth while ignoring escaped chars.

H

hasClass(String) - Static method in class de.themoep.minedown.Util
Check if a certain class exists.
hasMethod(Class<?>, String, Class<?>...) - Static method in class de.themoep.minedown.Util
Check if a class has a certain method.
HOVER_PREFIX - Static variable in class de.themoep.minedown.MineDown
 
hoverEvent() - Method in class de.themoep.minedown.MineDownParser
 
hoverEvent(HoverEvent) - Method in class de.themoep.minedown.MineDownParser
 
hoverTextWidth() - Method in class de.themoep.minedown.MineDownParser
Get the max width the hover text should have.
hoverTextWidth(int) - Method in class de.themoep.minedown.MineDown
Set the max width the hover text should have.
hoverTextWidth(int) - Method in class de.themoep.minedown.MineDownParser
Set the max width the hover text should have.

I

ignorePlaceholderCase() - Method in class de.themoep.minedown.MineDown
Get whether or not the case of the placeholder should be ignored when replacing
ignorePlaceholderCase() - Method in class de.themoep.minedown.Replacer
Replace the placeholder no matter what the case of it is
ignorePlaceholderCase(boolean) - Method in class de.themoep.minedown.MineDown
Set whether or not the case of the placeholder should be ignored when replacing
ignorePlaceholderCase(boolean) - Method in class de.themoep.minedown.Replacer
Set whether or not the placeholder should be replaced no matter what the case of it is
indexOfNotEscaped(String, String) - Static method in class de.themoep.minedown.Util
Get the index of the first occurrences of a not escaped character
indexOfNotEscaped(String, String, int) - Static method in class de.themoep.minedown.Util
Get the index of the first occurrences of a not escaped character
insertion() - Method in class de.themoep.minedown.MineDownParser
 
INSERTION_PREFIX - Static variable in class de.themoep.minedown.MineDown
 
isDouble(String, int) - Static method in class de.themoep.minedown.Util
Check whether or not a character at a certain index of a string repeats itself
isEnabled(MineDownParser.Option) - Method in class de.themoep.minedown.MineDownParser
Check whether or not an option is enabled
isEscaped(String, int) - Static method in class de.themoep.minedown.Util
Check if a character at a certain index is escaped
isFiltered(MineDownParser.Option) - Method in class de.themoep.minedown.MineDownParser
Check whether or not an option is filtered
isFormat(ChatColor) - Static method in class de.themoep.minedown.Util
Check whether a certain ChatColor is formatting or not

L

LEGACY_COLORS - Enum constant in enum de.themoep.minedown.MineDownParser.Option
Whether or not to translate legacy color codes (Default: true)
lenient() - Method in class de.themoep.minedown.MineDownParser
Get whether to accept malformed strings or not
lenient(boolean) - Method in class de.themoep.minedown.MineDownParser
Set whether to accept malformed strings or not

M

message() - Method in class de.themoep.minedown.MineDown
Get the set message that is to be parsed
message(String) - Method in class de.themoep.minedown.MineDown
Set the message that is to be parsed
MineDown - Search tag in class de.themoep.minedown.MineDown
Section
MineDown - Class in de.themoep.minedown
MineDown
MineDown(String) - Constructor for class de.themoep.minedown.MineDown
Create a new MineDown builder with a certain message
MineDownParser - Class in de.themoep.minedown
 
MineDownParser() - Constructor for class de.themoep.minedown.MineDownParser
 
MineDownParser.Option - Enum in de.themoep.minedown
 
MineDownStringifier - Class in de.themoep.minedown
 
MineDownStringifier() - Constructor for class de.themoep.minedown.MineDownStringifier
 

P

parse(String) - Method in class de.themoep.minedown.MineDownParser
Create a ComponentBuilder by parsing a MineDown message
parse(String, String...) - Static method in class de.themoep.minedown.MineDown
Parse a MineDown string to components
parseEvent(String, String) - Method in class de.themoep.minedown.MineDownParser
Parse a MineDown event string
parser() - Method in class de.themoep.minedown.MineDown
Get the parser instance that is currently used
placeholderIndicator(String) - Method in class de.themoep.minedown.MineDown
Set the placeholder indicator for both prefix and suffix
placeholderIndicator(String) - Method in class de.themoep.minedown.Replacer
Set the placeholder indicator for both prefix and suffix
placeholderPrefix() - Method in class de.themoep.minedown.MineDown
Get the placeholder indicator's prefix character
placeholderPrefix() - Method in class de.themoep.minedown.Replacer
Get the placeholder indicator's prefix string
placeholderPrefix(String) - Method in class de.themoep.minedown.MineDown
Set the placeholder indicator's prefix character
placeholderPrefix(String) - Method in class de.themoep.minedown.Replacer
Set the placeholder indicator's prefix string
placeholderSuffix() - Method in class de.themoep.minedown.MineDown
Get the placeholder indicator's suffix character
placeholderSuffix() - Method in class de.themoep.minedown.Replacer
Get the placeholder indicator's suffix string
placeholderSuffix(String) - Method in class de.themoep.minedown.MineDown
Set the placeholder indicator's suffix character
placeholderSuffix(String) - Method in class de.themoep.minedown.Replacer
Set the placeholder indicator's suffix string
preferSimpleEvents() - Method in class de.themoep.minedown.MineDownStringifier
Get whether or not to use simple event definitions or specific ones (Default: true)
preferSimpleEvents(boolean) - Method in class de.themoep.minedown.MineDownStringifier
Set whether or not to use simple event definitions or specific ones

R

rainbowPhase() - Method in class de.themoep.minedown.MineDownParser
 
rainbowPhase(Integer) - Method in class de.themoep.minedown.MineDownParser
 
replace(String...) - Method in class de.themoep.minedown.MineDown
Add an array with placeholders and values that should get replaced in the message
replace(String...) - Method in class de.themoep.minedown.Replacer
Add an array with placeholders and values that should get replaced in the message
replace(String, BaseComponent...) - Method in class de.themoep.minedown.MineDown
Add a placeholder to component mapping that should get replaced in the message
replace(String, BaseComponent...) - Method in class de.themoep.minedown.Replacer
Add a placeholder to component mapping that should get replaced in the message
replace(Map<String, ?>) - Method in class de.themoep.minedown.MineDown
Add a map with placeholders and values that should get replaced in the message
replace(Map<String, ?>) - Method in class de.themoep.minedown.Replacer
Add a map with placeholders and values that should get replaced in the message
replaceFirst() - Method in class de.themoep.minedown.MineDown
Get whether or not replacements should be replaced before or after the components are created.
replaceFirst(boolean) - Method in class de.themoep.minedown.MineDown
Set whether or not replacements should be replaced before or after the components are created.
replaceIn(String) - Method in class de.themoep.minedown.Replacer
Replace the placeholders in a string.
replaceIn(String, String...) - Static method in class de.themoep.minedown.Replacer
Replace certain placeholders with values in string.
replaceIn(List<BaseComponent>) - Method in class de.themoep.minedown.Replacer
Replace the placeholders in a component list
replaceIn(BaseComponent...) - Method in class de.themoep.minedown.Replacer
Replace the placeholders in a component array
replaceIn(BaseComponent[], String...) - Static method in class de.themoep.minedown.Replacer
Replace certain placeholders with values in a component array.
replaceIn(BaseComponent[], String, BaseComponent...) - Static method in class de.themoep.minedown.Replacer
Replace a certain placeholder with a component array in a component array.
replacements() - Method in class de.themoep.minedown.Replacer
Get the map of placeholders with their string replacements
replacer() - Method in class de.themoep.minedown.MineDown
Get the replacer instance that is currently used
Replacer - Class in de.themoep.minedown
This class offers the ability to replace placeholders with values in strings and components.
Replacer() - Constructor for class de.themoep.minedown.Replacer
 
reset() - Method in class de.themoep.minedown.MineDownParser
Reset the parser state to the start
rgbColorsToLegacy(BaseComponent[]) - Static method in class de.themoep.minedown.Util
Utility method to remove RGB colors from components.

S

SIMPLE_FORMATTING - Enum constant in enum de.themoep.minedown.MineDownParser.Option
Translate simple, in-line MineDown formatting in strings? (Default: true)
stringify(BaseComponent[]) - Static method in class de.themoep.minedown.MineDown
Convert components to a MineDown string
stringify(BaseComponent...) - Method in class de.themoep.minedown.MineDownStringifier
Create a MineDown string from a component message

T

toComponent() - Method in class de.themoep.minedown.MineDown
Parse and convert the message to the component
translateLegacyColors() - Method in class de.themoep.minedown.MineDownParser
Deprecated.
translateLegacyColors(boolean) - Method in class de.themoep.minedown.MineDown
translateLegacyColors(boolean) - Method in class de.themoep.minedown.MineDownParser

U

unfilter(MineDownParser.Option) - Method in class de.themoep.minedown.MineDown
Unfilter an option.
unfilter(MineDownParser.Option) - Method in class de.themoep.minedown.MineDownParser
Unfilter an option.
URL_PATTERN - Static variable in class de.themoep.minedown.MineDownParser
 
urlDetection() - Method in class de.themoep.minedown.MineDownParser
Get whether or not urls in strings are detected and get events added to them?
urlDetection(boolean) - Method in class de.themoep.minedown.MineDown
Detect urls in strings and add events to them? (Default: true)
urlDetection(boolean) - Method in class de.themoep.minedown.MineDownParser
Set whether or not to detect urls in strings and add events to them?
urlHoverText() - Method in class de.themoep.minedown.MineDownParser
Get the text to display when hovering over an URL.
urlHoverText(String) - Method in class de.themoep.minedown.MineDown
The text to display when hovering over an URL
urlHoverText(String) - Method in class de.themoep.minedown.MineDownParser
Set the text to display when hovering over an URL.
useLegacyColors() - Method in class de.themoep.minedown.MineDownStringifier
Get whether or not to use legacy color codes
useLegacyColors(boolean) - Method in class de.themoep.minedown.MineDownStringifier
Set whether or not to use legacy color codes
useLegacyFormatting() - Method in class de.themoep.minedown.MineDownStringifier
Get whether or not to translate legacy formatting codes over MineDown ones
useLegacyFormatting(boolean) - Method in class de.themoep.minedown.MineDownStringifier
Set whether or not to translate legacy formatting codes over MineDown ones
Util - Class in de.themoep.minedown
 
Util() - Constructor for class de.themoep.minedown.Util
 

V

validate(boolean, String) - Static method in class de.themoep.minedown.Util
Utility method to throw an IllegalArgumentException if the value is false
value() - Method in class de.themoep.minedown.MineDownParser
 
value(StringBuilder) - Method in class de.themoep.minedown.MineDownParser
 
valueOf(String) - Static method in enum de.themoep.minedown.MineDownParser.Option
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.themoep.minedown.MineDownParser.Option
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrap(String, int) - Static method in class de.themoep.minedown.Util
Wrap a string if it is longer than the line length and contains no new line.
A B C D E F G H I L M P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values