A B C D E F G I M N Q R S T U 
All Classes All Packages

A

addRenderer(int, NodeRenderer<O>) - Method in class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializerOptions
Creates a instance of MinecraftSerializerOptions with the given renderer added at the given index, keep in mind a default renderer is always present.
addRenderer(NodeRenderer<O>) - Method in class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializerOptions
Creates a instance of MinecraftSerializerOptions with the given renderer added.
appendChannelMention(Component, String) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
Renders a channel mention and appends it to the provided Component.
appendChannelMention(Component, String) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
 
appendEmoteMention(Component, String, String) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
Renders a emote mention and appends it to the provided Component.
appendEmoteMention(Component, String, String) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
 
appendQuote(Component, Component) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
Adds the required formatting for quotes to the provided Component.
appendQuote(Component, Component) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
 
appendRoleMention(Component, String) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
Renders a role mention and appends it to the provided Component.
appendRoleMention(Component, String) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
 
appendSpoiler(Component, Component) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
Renders the spoiler and appends it to the provided Component.
appendSpoiler(Component, Component) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
 
appendUserMention(Component, String) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
Renders a user mention and appends it to the provided Component.
appendUserMention(Component, String) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
 

B

bold(Component) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
Renders the provided Component as bold.
bold(Component) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
 

C

clone() - Method in class dev.vankka.mcdiscordreserializer.text.Text
 
codeBlock(Component) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
Renders the provided Component as a code block.
codeBlock(Component) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
 
codeString(Component) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
Renders the provided Component as a code string.
codeString(Component) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
 
createAllRulesForDiscord(boolean) - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates a set of rules for parsing Discord messages.
createChannelMentionRule() - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates a Rule for Discord's channel mentions.
createCodeBlockRule() - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates a Rule for Discord's code blocks.
createCodeStringRule() - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates a Rule for Discord's code strings.
createDiscordMarkdownRules() - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates all rules for Discord mentions and styles.
createEmoteMentionRule() - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates a Rule for Discord's emote mentions.
createMentionRules() - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates all the mention rules.
createQuoteRule() - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates a Rule for Discord's quotes.
createRoleMentionRule() - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates a Rule for Discord's role mentions.
createSpecialTextRule() - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates a special text rule for Discord, required only if using quotes.
createSpoilerRule() - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates a Rule for Discord's spoilers.
createStyleRules() - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates all the style rules.
createUserMentionRule() - Static method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules
Creates a Rule for Discord's user mentions.

D

DefaultDiscordEscapingRenderer - Class in dev.vankka.mcdiscordreserializer.renderer.implementation
The default implementation for escaping Discord markdown.
DefaultDiscordEscapingRenderer() - Constructor for class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultDiscordEscapingRenderer
Creates a new instance of the DefaultDiscordEscapingRenderer unless you're extending the class you shouldn't use this.
DefaultMinecraftRenderer - Class in dev.vankka.mcdiscordreserializer.renderer.implementation
The default implementation for the MinecraftRenderer.
DefaultMinecraftRenderer() - Constructor for class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
Creates a new instance of the DefaultMinecraftRenderer unless you're extending the class you shouldn't use this.
defaults() - Static method in class dev.vankka.mcdiscordreserializer.discord.DiscordSerializerOptions
Creates the default DiscordSerializerOptions.
defaults() - Static method in class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializerOptions
Creates the default MinecraftSerializerOptions for serialization.
dev.vankka.mcdiscordreserializer.discord - package dev.vankka.mcdiscordreserializer.discord
Discord reserialization package for MCDiscordReserializer.
dev.vankka.mcdiscordreserializer.minecraft - package dev.vankka.mcdiscordreserializer.minecraft
Minecraft reserialization package for MCDiscordReserializer.
dev.vankka.mcdiscordreserializer.renderer - package dev.vankka.mcdiscordreserializer.renderer
Rendering interfaces for MCDiscordReserializer.
dev.vankka.mcdiscordreserializer.renderer.implementation - package dev.vankka.mcdiscordreserializer.renderer.implementation
Rendering implementations for MCDiscordReserializer.
dev.vankka.mcdiscordreserializer.rules - package dev.vankka.mcdiscordreserializer.rules
Extra rules for the MinecraftSerializer.
dev.vankka.mcdiscordreserializer.text - package dev.vankka.mcdiscordreserializer.text
Textual units package for MCDiscordReserializer.
DiscordMarkdownRules - Class in dev.vankka.mcdiscordreserializer.rules
Markdown rules for Discord formatting.
DiscordMarkdownRules.QuoteState - Class in dev.vankka.mcdiscordreserializer.rules
A state for quotes, used to not recursively parse quotes.
DiscordSerializer - Class in dev.vankka.mcdiscordreserializer.discord
DiscordSerializer, for serializing from Minecraft Components to Discord messages.
DiscordSerializer() - Constructor for class dev.vankka.mcdiscordreserializer.discord.DiscordSerializer
Constructor for creating a serializer, which DiscordSerializerOptions.defaults() as defaults.
DiscordSerializer(DiscordSerializerOptions) - Constructor for class dev.vankka.mcdiscordreserializer.discord.DiscordSerializer
Constructor for creating a serializer, with the specified DiscordSerializerOptions as defaults.
DiscordSerializer(Function<KeybindComponent, String>, Function<TranslatableComponent, String>) - Constructor for class dev.vankka.mcdiscordreserializer.discord.DiscordSerializer
Deprecated.
Use DiscordSerializer(DiscordSerializerOptions) DiscordSerializerOptions#withKeybindProvider(Function) DiscordSerializerOptions#withTranslationProvider(Function)
DiscordSerializerOptions - Class in dev.vankka.mcdiscordreserializer.discord
Options for DiscordSerializers.
DiscordSerializerOptions() - Constructor for class dev.vankka.mcdiscordreserializer.discord.DiscordSerializerOptions
 

E

escapeDefaults() - Static method in class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializerOptions
Creates the default MinecraftSerializerOptions for escaping markdown.
escapeMarkdown(String) - Method in class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializer
Escapes the given Discord message of Discord markdown.
escapeMarkdown(String, MinecraftSerializerOptions<String>) - Method in class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializer
Escapes the given Discord message of Discord markdown.

F

formattingMatches(Text) - Method in class dev.vankka.mcdiscordreserializer.text.Text
Checks if the formatting matches between this and another Text object.

G

getKeybindProvider() - Method in class dev.vankka.mcdiscordreserializer.discord.DiscordSerializer
Deprecated.
Use #getDefaultOptions() DiscordSerializerOptions#getKeybindProvider()
getRenderers() - Method in class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializerOptions
Returns the renderers for this options instance.
getTranslationProvider() - Method in class dev.vankka.mcdiscordreserializer.discord.DiscordSerializer
Deprecated.
Use #getDefaultOptions() DiscordSerializerOptions#getTranslationProvider()

I

INSTANCE - Static variable in class dev.vankka.mcdiscordreserializer.discord.DiscordSerializer
Default instance of the DiscordSerializer, incase that's all you need.
INSTANCE - Static variable in class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializer
Default instance of the MinecraftSerializer, incase that's all you need.
INSTANCE - Static variable in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultDiscordEscapingRenderer
INSTANCE - Static variable in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
The instance of DefaultMinecraftRenderer.
italics(Component) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
Renders the provided Component as italics.
italics(Component) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
 

M

MinecraftNodeRenderer - Interface in dev.vankka.mcdiscordreserializer.renderer
Interface for rendering Nodes into Minecraft Components.
MinecraftRenderer - Interface in dev.vankka.mcdiscordreserializer.renderer
Interface for rendering formatting Nodes into Minecraft Components for standard TextStyles.
MinecraftSerializer - Class in dev.vankka.mcdiscordreserializer.minecraft
MinecraftSerializer, for serializing from Discord messages to Minecraft Components.
MinecraftSerializer() - Constructor for class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializer
Constructor for creating a serializer, with MinecraftSerializerOptions.defaults() and MinecraftSerializerOptions.escapeDefaults() as defaults.
MinecraftSerializer(MinecraftSerializerOptions<Component>, MinecraftSerializerOptions<String>) - Constructor for class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializer
Constructor for creating a serializer, with the specified MinecraftSerializerOptions as defaults.
MinecraftSerializerOptions<O> - Class in dev.vankka.mcdiscordreserializer.minecraft
Options for MinecraftSerializers.
MinecraftSerializerOptions() - Constructor for class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializerOptions
 

N

newQuoteState(boolean) - Method in class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules.QuoteState
Sets a new status for this quote state.
NodeRenderer<O> - Interface in dev.vankka.mcdiscordreserializer.renderer
Interface for rendering Nodes into the given type.

Q

QuoteState(boolean) - Constructor for class dev.vankka.mcdiscordreserializer.rules.DiscordMarkdownRules.QuoteState

R

removeRenderer(NodeRenderer<O>) - Method in class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializerOptions
Creates a instance of MinecraftSerializerOptions without the given renderer.
render(String, Node<Object>, MinecraftSerializerOptions<String>, Function<Node<Object>, String>) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultDiscordEscapingRenderer
 
render(Component, Node<Object>, MinecraftSerializerOptions<Component>, Function<Node<Object>, Component>) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftNodeRenderer
Renders the given Node onto the provided Component using the given MinecraftSerializerOptions.
render(Component, Node<Object>, MinecraftSerializerOptions<Component>, Function<Node<Object>, Component>) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
 
render(O, Node<Object>, MinecraftSerializerOptions<O>, Function<Node<Object>, O>) - Method in interface dev.vankka.mcdiscordreserializer.renderer.NodeRenderer
Renders the given Node onto the provided input using the given MinecraftSerializerOptions.
renderAfterChildren(String, Node<Object>, MinecraftSerializerOptions<String>, Function<Node<Object>, String>) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultDiscordEscapingRenderer
 
renderAfterChildren(O, Node<Object>, MinecraftSerializerOptions<O>, Function<Node<Object>, O>) - Method in interface dev.vankka.mcdiscordreserializer.renderer.NodeRenderer
Renders a given Node after children for it have been processed.

S

serialize(String) - Method in class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializer
Serializes Discord formatting (markdown) to a Minecraft Component using this serializer's default options.
Use MinecraftSerializer.serialize(String, MinecraftSerializerOptions) to fine tune the serialization options.
serialize(String, MinecraftSerializerOptions<Component>) - Method in class dev.vankka.mcdiscordreserializer.minecraft.MinecraftSerializer
Serializes Discord formatting (markdown) to a Minecraft Component.
serialize(Component) - Method in class dev.vankka.mcdiscordreserializer.discord.DiscordSerializer
Serializes a Component to Discord formatting (markdown) with this serializer's default options.
Use DiscordSerializer.serialize(Component, DiscordSerializerOptions) to fine tune the serialization options.
serialize(Component, boolean) - Method in class dev.vankka.mcdiscordreserializer.discord.DiscordSerializer
Deprecated.
Use DiscordSerializer.serialize(Component, DiscordSerializerOptions) DiscordSerializerOptions#withEmbedLinks(boolean)
serialize(Component, DiscordSerializerOptions) - Method in class dev.vankka.mcdiscordreserializer.discord.DiscordSerializer
Serializes Component (from a chat message) to Discord formatting (markdown).
setKeybindProvider(Function<KeybindComponent, String>) - Method in class dev.vankka.mcdiscordreserializer.discord.DiscordSerializer
Deprecated.
Use #setDefaultOptions(DiscordSerializerOptions) DiscordSerializerOptions#withKeybindProvider(Function)
setTranslationProvider(Function<TranslatableComponent, String>) - Method in class dev.vankka.mcdiscordreserializer.discord.DiscordSerializer
Deprecated.
Use #setDefaultOptions(DiscordSerializerOptions) DiscordSerializerOptions#withTranslationProvider(Function)
strikethrough(Component) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
Renders the provided Component as strikethrough.
strikethrough(Component) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
 

T

Text - Class in dev.vankka.mcdiscordreserializer.text
Text class, for defining segments of text with formatting rules.
Text() - Constructor for class dev.vankka.mcdiscordreserializer.text.Text
 

U

underline(Component) - Method in interface dev.vankka.mcdiscordreserializer.renderer.MinecraftRenderer
Renders the provided Component as underlined.
underline(Component) - Method in class dev.vankka.mcdiscordreserializer.renderer.implementation.DefaultMinecraftRenderer
 
A B C D E F G I M N Q R S T U 
All Classes All Packages