Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W Y 

A

achievement(String) - Static method in class net.lenni0451.mcstructs.text.events.hover.HoverEvent
 
ACHIEVEMENT - Static variable in class net.lenni0451.mcstructs.text.serializer.legacy.HoverEventSerializer
 
AchievementHoverEvent - Class in net.lenni0451.mcstructs.text.events.hover.impl
The implementation for text hover events.
AchievementHoverEvent(String) - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.AchievementHoverEvent
 
action - Variable in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
action - Variable in class net.lenni0451.mcstructs.text.events.hover.HoverEvent
 
add(EventSerializer<R, ? extends R, A, IO>) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.SerializerMap.Builder
 
addTranslation(String, String) - Method in class net.lenni0451.mcstructs.text.translation.BasicTranslator
 
adventure() - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Create a new AdventureRgbStringFormat.
The color character is set to '&'.
adventure(char) - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Create a new AdventureRgbStringFormat with the given color character.
AdventureRgbStringFormat - Class in net.lenni0451.mcstructs.text.stringformat.matcher
A StringFormat implementation for the Adventure RGB format.
Example: §#FF0000
AdventureRgbStringFormat(char) - Constructor for class net.lenni0451.mcstructs.text.stringformat.matcher.AdventureRgbStringFormat
 
ALL - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
All text formattings and colors.
ansi() - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Create a new AnsiStringFormat with true color enabled.
ansi(boolean) - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Create a new AnsiStringFormat with the given true color parameter.
AnsiStringFormat - Class in net.lenni0451.mcstructs.text.stringformat.matcher
A StringFormat implementation for the ANSI format.
Generally used in terminals and consoles.
AnsiStringFormat(boolean) - Constructor for class net.lenni0451.mcstructs.text.stringformat.matcher.AnsiStringFormat
 
append(String...) - Method in class net.lenni0451.mcstructs.text.TextComponent
Append multiple strings to this component.
append(TextComponent) - Method in class net.lenni0451.mcstructs.text.TextComponent
Append a component to this component.
append(TextComponent...) - Method in class net.lenni0451.mcstructs.text.TextComponent
Append multiple components to this component.
append(Iterable<TextComponent>) - Method in class net.lenni0451.mcstructs.text.TextComponent
 
apply(I) - Method in interface net.lenni0451.mcstructs.text.serializer.legacy.EventSerializer.BasicIOFunction
 
apply(SNbt<?>, I) - Method in interface net.lenni0451.mcstructs.text.serializer.legacy.EventSerializer.BasicIOFunction
 
apply(SNbt<?>, I) - Method in interface net.lenni0451.mcstructs.text.serializer.legacy.EventSerializer.IOFunction
 
AQUA - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
ARGB_COLOR - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.ExtraCodecs_v1_21_4
 
ARGB_COLOR - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.ExtraCodecs_v1_21_5
 
ARGB_COLOR - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.ExtraCodecs_v1_21_6
 
ARGB_COLOR - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.ExtraCodecs_v1_21_9
 
asInt() - Method in class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent
 
asLegacy() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
asLegacy() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
asLegacyFormatString() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
asLegacyFormatString() - Method in class net.lenni0451.mcstructs.text.TextComponent
 
asModern() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
asModern() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
asSerializer() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
 
asSingleString() - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
 
asSingleString() - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
 
asSingleString() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent
 
asSingleString() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
 
asSingleString() - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
 
asSingleString() - Method in class net.lenni0451.mcstructs.text.components.StringComponent
 
asSingleString() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
asSingleString() - Method in class net.lenni0451.mcstructs.text.TextComponent
 
asString() - Method in class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent
 
asString() - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
 
asUnformattedString() - Method in class net.lenni0451.mcstructs.text.TextComponent
 
asUri() - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
 
AtlasSprite(Identifier) - Constructor for class net.lenni0451.mcstructs.text.components.ObjectComponent.AtlasSprite
 
atlasSprite(Identifier) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
atlasSprite(Identifier, Identifier) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
AtlasSpriteFont - Class in net.lenni0451.mcstructs.text.font
 
AtlasSpriteFont() - Constructor for class net.lenni0451.mcstructs.text.font.AtlasSpriteFont
 

B

BasicTranslator - Class in net.lenni0451.mcstructs.text.translation
 
BasicTranslator() - Constructor for class net.lenni0451.mcstructs.text.translation.BasicTranslator
 
BasicTranslator(Map<String, String>) - Constructor for class net.lenni0451.mcstructs.text.translation.BasicTranslator
 
BLACK - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
blockNbt(String, boolean, String) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
blockNbt(String, boolean, TextComponent, String) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
BlockNbtSource - Class in net.lenni0451.mcstructs.text.components.nbt
 
BlockNbtSource(String) - Constructor for class net.lenni0451.mcstructs.text.components.nbt.BlockNbtSource
 
BLUE - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
BOLD - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
build(Object...) - Static method in class net.lenni0451.mcstructs.text.utils.TextComponentBuilder
Build a new text component from the given parts.
Special types:
- null: End the current component and start a new one
- TextFormatting: Add a new formatting to the current style
- Color: Add a new rgb color to the current style
- ClickEvent: Add a new click event to the current style
- HoverEvent: Add a new hover event to the current style
- Style: Set the current style

All other objects will be converted to a string and added to the current component.
The order of the parts is important:
First you have to add the text and then the formattings and events.

Example:
build("Hello", Formatting.RED, " World", Formatting.GREEN)
This results in a component with "Hello" in red and " World" in green.
Builder(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.legacy.SerializerMap.Builder
 
bungee() - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Create a new BungeeRgbStringFormat.
The color character is set to '&'.
bungee(char) - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Create a new BungeeRgbStringFormat with the given color character.
BungeeRgbStringFormat - Class in net.lenni0451.mcstructs.text.stringformat.matcher
A StringFormat implementation for the Bungee RGB format.
Example: §x§F§F§0§0§0§0
BungeeRgbStringFormat(char) - Constructor for class net.lenni0451.mcstructs.text.stringformat.matcher.BungeeRgbStringFormat
 
byName(String) - Static method in enum net.lenni0451.mcstructs.text.events.click.ClickEventAction
 
byName(String, boolean) - Static method in enum net.lenni0451.mcstructs.text.events.click.ClickEventAction
 
byName(String, BiPredicate<String, String>) - Static method in enum net.lenni0451.mcstructs.text.events.click.ClickEventAction
 
byName(String) - Static method in enum net.lenni0451.mcstructs.text.events.hover.HoverEventAction
 
byName(String, boolean) - Static method in enum net.lenni0451.mcstructs.text.events.hover.HoverEventAction
 
byName(String, BiPredicate<String, String>) - Static method in enum net.lenni0451.mcstructs.text.events.hover.HoverEventAction
 

C

canRead(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.PrioritizingStringFormat
 
canRead(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Check if the reader can read the color character of this format.
It is recommended to check this before calling StringFormat.matches(TextStringReader).
canRead() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
canRead(int) - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
canWrite(TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.AdventureRgbStringFormat
 
canWrite(TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.AnsiStringFormat
 
canWrite(TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.BungeeRgbStringFormat
 
canWrite(TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.PrioritizingStringFormat
 
canWrite(TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.VanillaStringFormat
 
canWrite(TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.VoidVanillaStringFormat
 
canWrite(TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Check if this format can write the given text formatting.
CHANGE_PAGE - Static variable in class net.lenni0451.mcstructs.text.serializer.legacy.ClickEventSerializer
 
CHANGE_PAGE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.ClickEventCodec
 
CHANGE_PAGE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.ClickEventCodec
 
CHANGE_PAGE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.ClickEventCodec
 
CHANGE_PAGE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.ClickEventCodec
 
CHANGE_PAGE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.ClickEventCodec
 
CHANGE_PAGE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.ClickEventCodec
 
CHANGE_PAGE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.ClickEventCodec
 
changePage(int) - Static method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
ChangePageClickEvent - Class in net.lenni0451.mcstructs.text.events.click.types
 
ChangePageClickEvent(String) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent
 
ChangePageClickEvent(int) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent
 
ChangePageClickEvent.IntHolder - Class in net.lenni0451.mcstructs.text.events.click.types
 
ChangePageClickEvent.PageHolder - Interface in net.lenni0451.mcstructs.text.events.click.types
 
ChangePageClickEvent.StringHolder - Class in net.lenni0451.mcstructs.text.events.click.types
 
CHAT_STRING - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.ExtraCodecs_v1_21_5
 
CHAT_STRING - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.ExtraCodecs_v1_21_6
 
CHAT_STRING - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.ExtraCodecs_v1_21_9
 
checkStartingType(String, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyGson
 
ClickEvent - Class in net.lenni0451.mcstructs.text.events.click
The abstract class for click events.
ClickEvent(ClickEventAction) - Constructor for class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
ClickEventAction - Enum in net.lenni0451.mcstructs.text.events.click
The click event actions.
Click events have been added in Minecraft 1.7.
ClickEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.ClickEventCodec
 
ClickEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.ClickEventCodec
 
ClickEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.ClickEventCodec
 
ClickEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.ClickEventCodec
 
ClickEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.ClickEventCodec
 
ClickEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.ClickEventCodec
 
ClickEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.ClickEventCodec
 
ClickEventSerializer<T extends ClickEvent> - Class in net.lenni0451.mcstructs.text.serializer.legacy
 
ClickEventSerializer(Predicate<ClickEvent>, EventSerializer.IOFunction<T, String>, ClickEventAction, EventSerializer.IOFunction<String, T>) - Constructor for class net.lenni0451.mcstructs.text.serializer.legacy.ClickEventSerializer
 
clickEventSerializer - Variable in class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializersBase
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.ClickEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.TextFormattingCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.ClickEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.TextFormattingCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.ClickEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.TextFormattingCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.ClickEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.TextFormattingCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.ClickEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.HoverEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.TextFormattingCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.ClickEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.HoverEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.TextFormattingCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.ClickEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.HoverEventCodec
 
CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.TextFormattingCodec
 
COLOR_CHAR - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
The color char used for formatting.
Using it has been deprecated since 1.16.
colorChar - Variable in class net.lenni0451.mcstructs.text.stringformat.StringFormat
 
ColorHandling - Enum in net.lenni0451.mcstructs.text.stringformat.handling
Option to modify the behavior of how colors are handled in a StringFormat.
COLORS - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
All basic text colors.
convertTo(String, StringFormat) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Convert a string from one format to another.
Some string formats may require a reset code at the end of the string.
copy() - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
 
copy() - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtSource
 
copy() - Method in class net.lenni0451.mcstructs.text.components.nbt.EntityNbtSource
 
copy() - Method in class net.lenni0451.mcstructs.text.components.nbt.StorageNbtSource
 
copy() - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
 
copy() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent
 
copy() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
 
copy() - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
 
copy() - Method in class net.lenni0451.mcstructs.text.components.StringComponent
 
copy() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
copy() - Method in class net.lenni0451.mcstructs.text.Style
 
copy() - Method in class net.lenni0451.mcstructs.text.TextComponent
 
COPY_TO_CLIPBOARD - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.ClickEventCodec
 
COPY_TO_CLIPBOARD - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.ClickEventCodec
 
COPY_TO_CLIPBOARD - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.ClickEventCodec
 
COPY_TO_CLIPBOARD - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.ClickEventCodec
 
COPY_TO_CLIPBOARD - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.ClickEventCodec
 
COPY_TO_CLIPBOARD - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.ClickEventCodec
 
COPY_TO_CLIPBOARD - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.ClickEventCodec
 
copyMetaTo(C) - Method in class net.lenni0451.mcstructs.text.TextComponent
Copy the style and siblings of this component to the given component.
copyToClipboard(String) - Static method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
CopyToClipboardClickEvent - Class in net.lenni0451.mcstructs.text.events.click.types
 
CopyToClipboardClickEvent(String) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.CopyToClipboardClickEvent
 
create(SNbt<?>) - Static method in class net.lenni0451.mcstructs.text.serializer.legacy.SerializerMap
 
createClickEventSerializer(SerializerMap.Builder<ClickEvent, ClickEventAction, String>) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializersBase
 
createClickEventSerializer(SerializerMap.Builder<ClickEvent, ClickEventAction, String>) - Method in class net.lenni0451.mcstructs.text.serializer.v1_7.EventSerializers_v1_7
 
createClickEventSerializer(SerializerMap.Builder<ClickEvent, ClickEventAction, String>) - Method in class net.lenni0451.mcstructs.text.serializer.v1_8.EventSerializers_v1_8
 
createClickEventSerializer(SerializerMap.Builder<ClickEvent, ClickEventAction, String>) - Method in class net.lenni0451.mcstructs.text.serializer.v1_9.StyleDeserializer_v1_9
 
createClickEventSerializer(SerializerMap.Builder<ClickEvent, ClickEventAction, String>) - Method in class net.lenni0451.mcstructs.text.serializer.v1_9.StyleSerializer_v1_9
 
createCodec(Codec<TextComponent>, MapCodec<Style>, T[], Function<TextComponent, T>) - Static method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
 
createHoverEventSerializer(SerializerMap.Builder<HoverEvent, HoverEventAction, TextComponent>) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializersBase
 
createHoverEventSerializer(SerializerMap.Builder<HoverEvent, HoverEventAction, TextComponent>) - Method in class net.lenni0451.mcstructs.text.serializer.v1_12.StyleDeserializer_v1_12
 
createHoverEventSerializer(SerializerMap.Builder<HoverEvent, HoverEventAction, TextComponent>) - Method in class net.lenni0451.mcstructs.text.serializer.v1_12.StyleSerializer_v1_12
 
createHoverEventSerializer(SerializerMap.Builder<HoverEvent, HoverEventAction, TextComponent>) - Method in class net.lenni0451.mcstructs.text.serializer.v1_7.EventSerializers_v1_7
 
createHoverEventSerializer(SerializerMap.Builder<HoverEvent, HoverEventAction, TextComponent>) - Method in class net.lenni0451.mcstructs.text.serializer.v1_8.EventSerializers_v1_8
 
createHoverEventSerializer(SerializerMap.Builder<HoverEvent, HoverEventAction, TextComponent>) - Method in class net.lenni0451.mcstructs.text.serializer.v1_9.StyleDeserializer_v1_9
 
createHoverEventSerializer(SerializerMap.Builder<HoverEvent, HoverEventAction, TextComponent>) - Method in class net.lenni0451.mcstructs.text.serializer.v1_9.StyleSerializer_v1_9
 
createLegacyComponentMatcher(T[], Function<T, MapCodec<? extends E>>, Function<E, T>, String) - Static method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
 
custom(Identifier, NbtTag) - Static method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
CUSTOM - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.ClickEventCodec
 
CUSTOM - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.ClickEventCodec
 
CustomClickEvent - Class in net.lenni0451.mcstructs.text.events.click.types
 
CustomClickEvent(Identifier, NbtTag) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.CustomClickEvent
 

D

DARK_AQUA - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
DARK_BLUE - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
DARK_GRAY - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
DARK_GREEN - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
DARK_PURPLE - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
DARK_RED - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
DEFAULT_ATLAS - Static variable in class net.lenni0451.mcstructs.text.components.ObjectComponent.AtlasSprite
 
deserialize(SNbt<?>, IO) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializer
 
deserialize(A, IO) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.SerializerMap
 
deserialize(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a JsonElement.
This method does not check for null values.
deserialize(NbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a NbtTag.
This method does not check for null values.
deserialize(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Deserialize a text component from a json string.
This method is used by minecraft versions 1.6 - 1.8.
It can deserialize components with comments which newer versions did not support.

Example:
{"text":/*comment*/"Hello World"}
deserialize(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Deserialize a text component from a JsonElement.
This method is used by minecraft versions 1.6 - 1.8.
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_12.TextDeserializer_v1_12
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_14.TextDeserializer_v1_14
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_15.TextDeserializer_v1_15
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventDeserializer_v1_16
 
deserialize(HoverEventAction, JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventDeserializer_v1_16
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.StyleDeserializer_v1_16
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.TextDeserializer_v1_16
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_17.TextDeserializer_v1_17
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_19_4.TextDeserializer_v1_19_4
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_6.TextDeserializer_v1_6
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_7.StyleDeserializer_v1_7
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_7.TextDeserializer_v1_7
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_8.StyleDeserializer_v1_8
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_8.TextDeserializer_v1_8
 
deserializeJson(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a json string.
deserializeJsonReader(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a json string.
A JsonReader will be used to parse the json string.
deserializeJsonTree(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a JsonElement.
deserializeLegacy(HoverEventAction, TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventDeserializer_v1_16
 
deserializeLegacy(HoverEventAction, TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.v1_18.HoverEventDeserializer_v1_18
 
deserializeLenientJson(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a json string.
A JsonReader will be used to parse the json string.
deserializeLenientReader(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Deserialize a text component from a json string.
This method is available in minecraft versions 1.9+ but not used for text components.
It can deserialize components with comments and trailing data.

Example:
{"text":/*comment*/"Hello World"}
{"text":"Hello World"}trailing data
deserializeNbt(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a nbt string.
deserializeNbtTree(NbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a NbtTag.
deserializeParser(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Deserialize a text component from a json string.
This method is used by minecraft versions 1.20.3+.
deserializeReader(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Deserialize a text component from a json string.
This method is used by minecraft versions 1.9 - 1.20.2.
It can not deserialize components with comments which older versions did support.
deserializeReader(String, boolean) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Deserialize a text component from a json string.
This method is available in minecraft versions 1.9+ but is only used with lenient being false.
DeserializerUnknownHandling - Interface in net.lenni0451.mcstructs.text.stringformat.handling
Option to modify the behavior of how unknown formatting codes are handled in a StringFormat during deserialization.
DeserializerVersion - Enum in net.lenni0451.mcstructs.text.utils
 

E

empty() - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
entity(Identifier, UUID, TextComponent) - Static method in class net.lenni0451.mcstructs.text.events.hover.HoverEvent
 
Entity() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec.Entity
 
Entity() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec.Entity
 
Entity() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec.Entity
 
Entity() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec.Entity
 
ENTITY - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.HoverEventCodec
 
ENTITY - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.HoverEventCodec
 
ENTITY - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.HoverEventCodec
 
EntityHoverEvent - Class in net.lenni0451.mcstructs.text.events.hover.impl
The implementation for entity hover events.
EntityHoverEvent(EntityHoverEvent.DataHolder) - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
EntityHoverEvent(TextComponent) - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
EntityHoverEvent(Identifier, UUID, TextComponent) - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
EntityHoverEvent.DataHolder - Interface in net.lenni0451.mcstructs.text.events.hover.impl
 
EntityHoverEvent.LegacyHolder - Class in net.lenni0451.mcstructs.text.events.hover.impl
 
EntityHoverEvent.ModernHolder - Class in net.lenni0451.mcstructs.text.events.hover.impl
 
entityNbt(String, boolean, String) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
entityNbt(String, boolean, TextComponent, String) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
EntityNbtSource - Class in net.lenni0451.mcstructs.text.components.nbt
 
EntityNbtSource(String) - Constructor for class net.lenni0451.mcstructs.text.components.nbt.EntityNbtSource
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.events.hover.HoverEvent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.Style
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.TextFormatting
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
Deprecated.
 
EventSerializer<R,T extends R,A extends java.lang.Enum<A>,IO> - Class in net.lenni0451.mcstructs.text.serializer.legacy
 
EventSerializer(Predicate<R>, EventSerializer.IOFunction<T, IO>, A, EventSerializer.IOFunction<IO, T>) - Constructor for class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializer
 
EventSerializer.BasicIOFunction<I,O> - Interface in net.lenni0451.mcstructs.text.serializer.legacy
 
EventSerializer.IOFunction<I,O> - Interface in net.lenni0451.mcstructs.text.serializer.legacy
 
EventSerializers_v1_7 - Class in net.lenni0451.mcstructs.text.serializer.v1_7
 
EventSerializers_v1_7(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_7.EventSerializers_v1_7
 
EventSerializers_v1_8 - Class in net.lenni0451.mcstructs.text.serializer.v1_8
 
EventSerializers_v1_8(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_8.EventSerializers_v1_8
 
EventSerializersBase - Class in net.lenni0451.mcstructs.text.serializer.legacy
 
EventSerializersBase(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializersBase
 
ExtraCodecs_v1_20_3 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
 
ExtraCodecs_v1_20_3() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.ExtraCodecs_v1_20_3
 
ExtraCodecs_v1_20_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
 
ExtraCodecs_v1_20_5() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.ExtraCodecs_v1_20_5
 
ExtraCodecs_v1_21_2 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
 
ExtraCodecs_v1_21_2() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.ExtraCodecs_v1_21_2
 
ExtraCodecs_v1_21_4 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
 
ExtraCodecs_v1_21_4() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_4.ExtraCodecs_v1_21_4
 
ExtraCodecs_v1_21_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_5
 
ExtraCodecs_v1_21_5() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_5.ExtraCodecs_v1_21_5
 
ExtraCodecs_v1_21_6 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_6
 
ExtraCodecs_v1_21_6() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_6.ExtraCodecs_v1_21_6
 
ExtraCodecs_v1_21_9 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_9
 
ExtraCodecs_v1_21_9() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_9.ExtraCodecs_v1_21_9
 

F

finalize(Function<R, A>) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.SerializerMap.Builder
 
fixInvalidEscapes(String) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyGson
 
FontDescription - Interface in net.lenni0451.mcstructs.text.font
 
forEach(Consumer<TextComponent>) - Method in class net.lenni0451.mcstructs.text.TextComponent
Iterate over all components and their siblings.
formatted(TextFormatting) - Method in class net.lenni0451.mcstructs.text.TextComponent
Set a formatting of the style of this component.
FORMATTINGS - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
All text style formattings.
fromString(String, ColorHandling, DeserializerUnknownHandling) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Convert a string to a TextComponent.
The color handling is used to determine if color codes should be treated as reset codes.
The unknown handling is used to determine what should happen if an unsupported formatting is encountered.
The string will be split into multiple components if multiple formatting codes are present.
Empty sections will be ignored.
fromString(String, ColorHandling, DeserializerUnknownHandling, boolean) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Convert a string to a TextComponent.
The color handling is used to determine if color codes should be treated as reset codes.
The unknown handling is used to determine what should happen if an unsupported formatting is encountered.
The string will be split into multiple components if multiple formatting codes are present.
Empty sections are ignored if ignoreEmptySections is true, otherwise they are included as empty components.
FULL_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec.Item
 

G

get() - Method in class net.lenni0451.mcstructs.text.stringformat.ResolvedFormatting
 
getAction() - Method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
getAction() - Method in class net.lenni0451.mcstructs.text.events.hover.HoverEvent
 
getAction() - Method in class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializer
 
getArgs() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
getBold() - Method in class net.lenni0451.mcstructs.text.Style
 
getBoolean(JsonElement, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Get a boolean value from a json element.
getBoolean(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Get a boolean value from a json object.
getBoolean(JsonObject, String, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Get a boolean value from a json object with a default value.
getByCode(char) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.VanillaStringFormat
 
getByCode(char) - Static method in class net.lenni0451.mcstructs.text.TextFormatting
Get a formatting by code.

Example:
TextFormatting.getByCode('c') -> TextFormatting.RED
getByName(String) - Static method in class net.lenni0451.mcstructs.text.TextFormatting
Get a formatting by name.
The name is case-insensitive.

Example:
TextFormatting.getByName("RED") -> TextFormatting.RED
getByOrdinal(int) - Static method in class net.lenni0451.mcstructs.text.TextFormatting
Get a formatting by ordinal.

Example:
TextFormatting.getByOrdinal(0) -> TextFormatting.BLACK
getCharWidth(char, float, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
Get the width of a char using the default widths.
Minecraft takes the ceil of the width.

This method reads the default char widths from the charwidths.bin resource.
The widths array will be cached after the first call.
getCharWidths() - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
Get the default char widths array.
The widths array will be cached after the first call.

This method reads the default char widths from the charwidths.bin resource.
The widths array will be cached after the first call.
getClickEvent() - Method in class net.lenni0451.mcstructs.text.Style
 
getClosestFormattingColor(int) - Static method in class net.lenni0451.mcstructs.text.TextFormatting
Get the closest formatting color to the given rgb color.
getCode() - Method in class net.lenni0451.mcstructs.text.TextFormatting
 
getCodec() - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3.TextComponentType
 
getColor() - Method in class net.lenni0451.mcstructs.text.Style
 
getColor() - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
Deprecated.
 
getCommand() - Method in class net.lenni0451.mcstructs.text.events.click.types.RunCommandClickEvent
 
getCommand() - Method in class net.lenni0451.mcstructs.text.events.click.types.SuggestCommandClickEvent
 
getComponent() - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
 
getComponentWidth(TextComponent) - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
Calculate the width of a component using the default widths.
Minecraft takes the ceil of the width.

This method reads the default char widths from the charwidths.bin resource.
The widths array will be cached after the first call.
getComponentWidth(TextComponent, float[]) - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
Calculate the width of a component using the given widths array.
Minecraft takes the ceil of the width.
getComponentWidth(TextComponent, float[], float) - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
Calculate the width of a component using the given widths array.
The bold offset is 1 for the vanilla font and 0.5 for unihex fonts.
Minecraft takes the ceil of the width.
getData() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
getData() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
getDataSource() - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
 
getDescription() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent.AtlasSprite
 
getDescription() - Method in interface net.lenni0451.mcstructs.text.components.ObjectComponent.ObjectInfo
 
getDescription() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent.PlayerSprite
 
getFallback() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
getFont() - Method in class net.lenni0451.mcstructs.text.Style
 
getFormattings() - Method in class net.lenni0451.mcstructs.text.Style
Get the formattings of this style.
The color will always be the first element in the array.
getFormattings(boolean) - Method in class net.lenni0451.mcstructs.text.Style
Get the formattings of this style.
The color will always be the first element in the array.
getGson() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
 
getHolder() - Method in class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent
 
getHolder() - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
 
getHoverEvent() - Method in class net.lenni0451.mcstructs.text.Style
 
getId() - Method in class net.lenni0451.mcstructs.text.components.nbt.StorageNbtSource
 
getIndex() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
getInsertion() - Method in class net.lenni0451.mcstructs.text.Style
 
getInt(JsonElement, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Get a int value from a json element.
getInt(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Get a int value from a json object.
getInt(JsonObject, String, int) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Get a int value from a json object with a default value.
getItalic() - Method in class net.lenni0451.mcstructs.text.Style
 
getJsonConverter() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
 
getJsonObject(JsonElement, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Get a json object value from a json element.
getJsonObject(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Get a json object value from a json object.
getKey() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
getKeybind() - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
 
getLength() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
getMark() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
getName() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
 
getName() - Method in enum net.lenni0451.mcstructs.text.events.click.ClickEventAction
 
getName() - Method in enum net.lenni0451.mcstructs.text.events.hover.HoverEventAction
 
getName() - Method in class net.lenni0451.mcstructs.text.TextFormatting
 
getNbtConverter() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
 
getObfuscated() - Method in class net.lenni0451.mcstructs.text.Style
 
getObjective() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
 
getOrdinal() - Method in class net.lenni0451.mcstructs.text.TextFormatting
Get the ordinal of the formatting.
The ordinal of rgb colors is -1.
getParent() - Method in class net.lenni0451.mcstructs.text.Style
 
getParentCodec() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
 
getPath() - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenFileClickEvent
 
getPos() - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtSource
 
getRgbValue() - Method in class net.lenni0451.mcstructs.text.TextFormatting
 
getSelector() - Method in class net.lenni0451.mcstructs.text.components.nbt.EntityNbtSource
 
getSelector() - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
 
getSeparator() - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
 
getSeparator() - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
 
getShadowColor() - Method in class net.lenni0451.mcstructs.text.Style
 
getSiblings() - Method in class net.lenni0451.mcstructs.text.TextComponent
 
getStatistic() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.AchievementHoverEvent
 
getStrikethrough() - Method in class net.lenni0451.mcstructs.text.Style
 
getString(JsonElement, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Get a string value from a json element.
getString(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Get a string value from a json object.
getString(JsonObject, String, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Get a string value from a json object with a default value.
getStyle() - Method in class net.lenni0451.mcstructs.text.TextComponent
 
getStyleAt(String, int, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
Deprecated.
getStyleAt(String, int, Function<Character, TextFormatting>) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
Deprecated.
getStyleCodec() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
 
getStyles() - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
Deprecated.
 
getText() - Method in class net.lenni0451.mcstructs.text.components.StringComponent
 
getText() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.TextHoverEvent
 
getTextCodec() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
 
getTextVerifier() - Method in class net.lenni0451.mcstructs.text.serializer.verify.VerifyingConverter
 
getTranslations() - Method in class net.lenni0451.mcstructs.text.translation.BasicTranslator
 
getUnderlined() - Method in class net.lenni0451.mcstructs.text.Style
 
getUpdatedFont() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent.AtlasSprite
 
getUpdatedFont() - Method in interface net.lenni0451.mcstructs.text.components.ObjectComponent.ObjectInfo
 
getUpdatedFont() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent.PlayerSprite
 
getUser() - Method in class net.lenni0451.mcstructs.text.events.click.types.TwitchUserInfoClickEvent
 
getValue() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
 
getValue() - Method in class net.lenni0451.mcstructs.text.events.click.types.CopyToClipboardClickEvent
 
GLOBAL - Static variable in interface net.lenni0451.mcstructs.text.translation.Translator
The global translator that is used by default.
GOLD - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
gradient(String, TextFormatting...) - Static method in class net.lenni0451.mcstructs.text.utils.TextColorUtils
Color a string with a gradient of TextFormattings.
The text color is interpolated between the given colors.
If no colors are given a new StringComponent is returned.
If one color is given the text will only be colored with that color.
GRAY - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
GREEN - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 

H

handle(ResolvedFormatting, StringBuilder) - Method in interface net.lenni0451.mcstructs.text.stringformat.handling.DeserializerUnknownHandling
Handle unknown formatting codes during deserialization.
Return null to ignore the formatting code.
handle(TextFormatting, StringBuilder) - Method in interface net.lenni0451.mcstructs.text.stringformat.handling.SerializerUnknownHandling
Handle unknown formatting codes during serialization.
Return null to ignore the formatting code.
hashCode() - Method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.events.hover.HoverEvent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.Style
 
hashCode() - Method in class net.lenni0451.mcstructs.text.TextFormatting
 
hashCode() - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
Deprecated.
 
HoverEvent - Class in net.lenni0451.mcstructs.text.events.hover
The abstract class for hover events.
Until Minecraft 1.16 hover events always used the TextHoverEvent implementation.
HoverEvent(HoverEventAction) - Constructor for class net.lenni0451.mcstructs.text.events.hover.HoverEvent
 
HoverEventAction - Enum in net.lenni0451.mcstructs.text.events.hover
The hover event actions.
Hover events have been added in Minecraft 1.7.
HoverEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec
 
HoverEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec
 
HoverEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec
 
HoverEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec
 
HoverEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.HoverEventCodec
 
HoverEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.HoverEventCodec
 
HoverEventCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.HoverEventCodec
 
HoverEventDeserializer_v1_16 - Class in net.lenni0451.mcstructs.text.serializer.v1_16
 
HoverEventDeserializer_v1_16(TextComponentSerializer, SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventDeserializer_v1_16
 
HoverEventDeserializer_v1_18 - Class in net.lenni0451.mcstructs.text.serializer.v1_18
 
HoverEventDeserializer_v1_18(TextComponentSerializer, SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_18.HoverEventDeserializer_v1_18
 
hoverEventSerializer - Variable in class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializersBase
 
HoverEventSerializer<T extends HoverEvent> - Class in net.lenni0451.mcstructs.text.serializer.legacy
 
HoverEventSerializer(Predicate<HoverEvent>, EventSerializer.IOFunction<T, TextComponent>, HoverEventAction, EventSerializer.IOFunction<TextComponent, T>) - Constructor for class net.lenni0451.mcstructs.text.serializer.legacy.HoverEventSerializer
 
HoverEventSerializer_v1_16 - Class in net.lenni0451.mcstructs.text.serializer.v1_16
 
HoverEventSerializer_v1_16(TextComponentSerializer, SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventSerializer_v1_16
 

I

id - Variable in class net.lenni0451.mcstructs.text.font.ResourceFont
 
IGNORE - Static variable in interface net.lenni0451.mcstructs.text.stringformat.handling.DeserializerUnknownHandling
Ignore unknown formatting codes.
This is the default behavior for Minecraft 1.13+.
IGNORE - Static variable in interface net.lenni0451.mcstructs.text.stringformat.handling.SerializerUnknownHandling
Ignore unknown formatting codes.
init(T, Consumer<T>) - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
 
INLINED_COMPOUND_TAG - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.ExtraCodecs_v1_20_5
 
INLINED_COMPOUND_TAG - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.ExtraCodecs_v1_21_2
 
INLINED_COMPOUND_TAG - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.ExtraCodecs_v1_21_4
 
IntHolder() - Constructor for class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent.IntHolder
 
isBold() - Method in class net.lenni0451.mcstructs.text.Style
 
isCodec() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
 
isColor() - Method in class net.lenni0451.mcstructs.text.TextFormatting
 
isEmpty() - Method in class net.lenni0451.mcstructs.text.Style
 
isFormatting() - Method in class net.lenni0451.mcstructs.text.TextFormatting
 
isFormattingColor() - Method in class net.lenni0451.mcstructs.text.TextFormatting
 
isIn(DeserializerVersion...) - Method in enum net.lenni0451.mcstructs.text.utils.DeserializerVersion
 
isItalic() - Method in class net.lenni0451.mcstructs.text.Style
 
isLegacy() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
isLegacy() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
isModern() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
isModern() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
isObfuscated() - Method in class net.lenni0451.mcstructs.text.Style
 
isResolve() - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
 
isRGBColor() - Method in class net.lenni0451.mcstructs.text.TextFormatting
 
isStrikethrough() - Method in class net.lenni0451.mcstructs.text.Style
 
isUnderlined() - Method in class net.lenni0451.mcstructs.text.Style
 
isUserDefinable() - Method in enum net.lenni0451.mcstructs.text.events.click.ClickEventAction
 
isUserDefinable() - Method in enum net.lenni0451.mcstructs.text.events.hover.HoverEventAction
 
isValid(DataConverter<?>, T, Class<V>, BiPredicate<V, T>) - Static method in class net.lenni0451.mcstructs.text.serializer.verify.VerifyingConverter
 
ITALIC - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
item(Identifier, int, CompoundTag) - Static method in class net.lenni0451.mcstructs.text.events.hover.HoverEvent
 
Item() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec.Item
 
Item() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec.Item
 
Item() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec.Item
 
Item() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec.Item
 
ITEM - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.HoverEventCodec
 
ITEM - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.HoverEventCodec
 
ITEM - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.HoverEventCodec
 
ITEM_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec.Item
 
ItemHoverEvent - Class in net.lenni0451.mcstructs.text.events.hover.impl
The implementation for item hover events.
ItemHoverEvent(ItemHoverEvent.DataHolder) - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
ItemHoverEvent(String) - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
ItemHoverEvent(Identifier, int, CompoundTag) - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
ItemHoverEvent.DataHolder - Interface in net.lenni0451.mcstructs.text.events.hover.impl
 
ItemHoverEvent.LegacyHolder - Class in net.lenni0451.mcstructs.text.events.hover.impl
 
ItemHoverEvent.ModernHolder - Class in net.lenni0451.mcstructs.text.events.hover.impl
 
iterateAll(TextComponent, Consumer<TextComponent>) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Iterate over all siblings of the given component.
This includes all arguments of translation components.

J

join(TextComponent, TextComponent...) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Join the given components with the given separator.
All components are copied before they are joined.
If there are no components an empty StringComponent will be returned.
If there is only one component it will be copied and returned.
JsonNbtConverter - Class in net.lenni0451.mcstructs.text.utils
A json <-> nbt converter which is based on Minecraft's Codecs from 1.20.5.
JsonNbtConverter() - Constructor for class net.lenni0451.mcstructs.text.utils.JsonNbtConverter
 
JsonUtils - Class in net.lenni0451.mcstructs.text.utils
 
JsonUtils() - Constructor for class net.lenni0451.mcstructs.text.utils.JsonUtils
 

K

keybind(String) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
KEYBIND_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
 
KEYBIND_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextCodecs_v1_20_5
 
KEYBIND_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextCodecs_v1_21_2
 
KEYBIND_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.TextCodecs_v1_21_4
 
KEYBIND_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.TextCodecs_v1_21_5
 
KEYBIND_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.TextCodecs_v1_21_6
 
KEYBIND_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.TextCodecs_v1_21_9
 
KeybindComponent - Class in net.lenni0451.mcstructs.text.components
 
KeybindComponent(String) - Constructor for class net.lenni0451.mcstructs.text.components.KeybindComponent
 
KeybindComponent(String, Translator) - Constructor for class net.lenni0451.mcstructs.text.components.KeybindComponent
 

L

LATEST - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
The latest text codec.
LATEST - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The latest text component serializer.
LEGACY_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec
 
LEGACY_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec
 
LEGACY_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec
 
LEGACY_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec
 
LEGACY_ENTITY - Static variable in class net.lenni0451.mcstructs.text.serializer.legacy.HoverEventSerializer
 
LEGACY_ITEM - Static variable in class net.lenni0451.mcstructs.text.serializer.legacy.HoverEventSerializer
 
LEGACY_MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec.Entity
 
LEGACY_MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec.Item
 
LEGACY_MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec.Text
 
LEGACY_MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec.Entity
 
LEGACY_MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec.Item
 
LEGACY_MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec.Text
 
LEGACY_MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec.Entity
 
LEGACY_MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec.Item
 
LEGACY_MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec.Text
 
LEGACY_MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec.Entity
 
LEGACY_MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec.Item
 
LEGACY_MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec.Text
 
LegacyGson - Class in net.lenni0451.mcstructs.text.utils
Minecraft 1.12 updated from Gson 2.2.4 to 2.8.0 which changed some behavior in the JsonReader.
This class performs checks and modifications before passing the json to the new Gson version to make sure the behavior is consistent with the old Gson version.
LegacyGson() - Constructor for class net.lenni0451.mcstructs.text.utils.LegacyGson
 
LegacyHolder() - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent.LegacyHolder
 
LegacyHolder() - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent.LegacyHolder
 
LegacyStringDeserializer - Class in net.lenni0451.mcstructs.text.serializer
Deprecated.
LegacyStringDeserializer() - Constructor for class net.lenni0451.mcstructs.text.serializer.LegacyStringDeserializer
Deprecated.
 
LegacyStringUtils - Class in net.lenni0451.mcstructs.text.utils
Deprecated.
LegacyStringUtils() - Constructor for class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
Deprecated.
 
LegacyStringUtils.LegacyStyle - Class in net.lenni0451.mcstructs.text.utils
Deprecated.
LENIENT_UUID - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.ExtraCodecs_v1_20_3
 
LENIENT_UUID - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.ExtraCodecs_v1_20_5
 
LENIENT_UUID - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.ExtraCodecs_v1_21_2
 
LENIENT_UUID - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.ExtraCodecs_v1_21_4
 
LENIENT_UUID - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.ExtraCodecs_v1_21_5
 
LENIENT_UUID - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.ExtraCodecs_v1_21_6
 
LENIENT_UUID - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.ExtraCodecs_v1_21_9
 
LIGHT_PURPLE - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 

M

makeURLsClickable(TextComponent) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Make URLs in the given text component clickable.
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec.Entity
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec.Item
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec.Text
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec.Entity
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec.Item
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec.Text
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec.Entity
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec.Item
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec.Text
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec.Entity
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec.Item
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec.Text
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6
 
MAP_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9
 
mark() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
matches(R) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializer
 
matches(A) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializer
 
matches(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.AdventureRgbStringFormat
 
matches(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.AnsiStringFormat
 
matches(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.BungeeRgbStringFormat
 
matches(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.PrioritizingStringFormat
 
matches(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.VanillaStringFormat
 
matches(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.VoidVanillaStringFormat
 
matches(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Check if the reader matches the format of this string format.
This method is allowed to modify the current position of the reader.
mergeParent() - Method in class net.lenni0451.mcstructs.text.Style
Merge the parent style with this style.
This removes the reference to the parent style while maintaining the formatting.
mergeSiblingParentStyle() - Method in class net.lenni0451.mcstructs.text.TextComponent
Set the parent style of all siblings to this style and merge them together.
This removes all parent references from the siblings while maintaining the style.
MODERN_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec
 
MODERN_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec
 
MODERN_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec
 
MODERN_CODEC - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec
 
ModernHolder() - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent.ModernHolder
 
ModernHolder() - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent.ModernHolder
 

N

NBT_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
 
NBT_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextCodecs_v1_20_5
 
NBT_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextCodecs_v1_21_2
 
NBT_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.TextCodecs_v1_21_4
 
NBT_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.TextCodecs_v1_21_5
 
NBT_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.TextCodecs_v1_21_6
 
NBT_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.TextCodecs_v1_21_9
 
NbtComponent - Class in net.lenni0451.mcstructs.text.components
 
NbtComponent(String, boolean, NbtDataSource) - Constructor for class net.lenni0451.mcstructs.text.components.NbtComponent
 
NbtComponent(String, boolean, TextComponent, NbtDataSource) - Constructor for class net.lenni0451.mcstructs.text.components.NbtComponent
 
NbtDataSource - Interface in net.lenni0451.mcstructs.text.components.nbt
 
net.lenni0451.mcstructs.text - package net.lenni0451.mcstructs.text
 
net.lenni0451.mcstructs.text.components - package net.lenni0451.mcstructs.text.components
 
net.lenni0451.mcstructs.text.components.nbt - package net.lenni0451.mcstructs.text.components.nbt
 
net.lenni0451.mcstructs.text.events.click - package net.lenni0451.mcstructs.text.events.click
 
net.lenni0451.mcstructs.text.events.click.types - package net.lenni0451.mcstructs.text.events.click.types
 
net.lenni0451.mcstructs.text.events.hover - package net.lenni0451.mcstructs.text.events.hover
 
net.lenni0451.mcstructs.text.events.hover.impl - package net.lenni0451.mcstructs.text.events.hover.impl
 
net.lenni0451.mcstructs.text.font - package net.lenni0451.mcstructs.text.font
 
net.lenni0451.mcstructs.text.serializer - package net.lenni0451.mcstructs.text.serializer
 
net.lenni0451.mcstructs.text.serializer.legacy - package net.lenni0451.mcstructs.text.serializer.legacy
 
net.lenni0451.mcstructs.text.serializer.v1_12 - package net.lenni0451.mcstructs.text.serializer.v1_12
 
net.lenni0451.mcstructs.text.serializer.v1_14 - package net.lenni0451.mcstructs.text.serializer.v1_14
 
net.lenni0451.mcstructs.text.serializer.v1_15 - package net.lenni0451.mcstructs.text.serializer.v1_15
 
net.lenni0451.mcstructs.text.serializer.v1_16 - package net.lenni0451.mcstructs.text.serializer.v1_16
 
net.lenni0451.mcstructs.text.serializer.v1_17 - package net.lenni0451.mcstructs.text.serializer.v1_17
 
net.lenni0451.mcstructs.text.serializer.v1_18 - package net.lenni0451.mcstructs.text.serializer.v1_18
 
net.lenni0451.mcstructs.text.serializer.v1_19_4 - package net.lenni0451.mcstructs.text.serializer.v1_19_4
 
net.lenni0451.mcstructs.text.serializer.v1_20_3 - package net.lenni0451.mcstructs.text.serializer.v1_20_3
 
net.lenni0451.mcstructs.text.serializer.v1_20_5 - package net.lenni0451.mcstructs.text.serializer.v1_20_5
 
net.lenni0451.mcstructs.text.serializer.v1_21_2 - package net.lenni0451.mcstructs.text.serializer.v1_21_2
 
net.lenni0451.mcstructs.text.serializer.v1_21_4 - package net.lenni0451.mcstructs.text.serializer.v1_21_4
 
net.lenni0451.mcstructs.text.serializer.v1_21_5 - package net.lenni0451.mcstructs.text.serializer.v1_21_5
 
net.lenni0451.mcstructs.text.serializer.v1_21_6 - package net.lenni0451.mcstructs.text.serializer.v1_21_6
 
net.lenni0451.mcstructs.text.serializer.v1_21_9 - package net.lenni0451.mcstructs.text.serializer.v1_21_9
 
net.lenni0451.mcstructs.text.serializer.v1_6 - package net.lenni0451.mcstructs.text.serializer.v1_6
 
net.lenni0451.mcstructs.text.serializer.v1_7 - package net.lenni0451.mcstructs.text.serializer.v1_7
 
net.lenni0451.mcstructs.text.serializer.v1_8 - package net.lenni0451.mcstructs.text.serializer.v1_8
 
net.lenni0451.mcstructs.text.serializer.v1_9 - package net.lenni0451.mcstructs.text.serializer.v1_9
 
net.lenni0451.mcstructs.text.serializer.verify - package net.lenni0451.mcstructs.text.serializer.verify
 
net.lenni0451.mcstructs.text.stringformat - package net.lenni0451.mcstructs.text.stringformat
 
net.lenni0451.mcstructs.text.stringformat.handling - package net.lenni0451.mcstructs.text.stringformat.handling
 
net.lenni0451.mcstructs.text.stringformat.matcher - package net.lenni0451.mcstructs.text.stringformat.matcher
 
net.lenni0451.mcstructs.text.translation - package net.lenni0451.mcstructs.text.translation
 
net.lenni0451.mcstructs.text.utils - package net.lenni0451.mcstructs.text.utils
 

O

OBFUSCATED - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
OBJECT_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.TextCodecs_v1_21_9
 
ObjectComponent - Class in net.lenni0451.mcstructs.text.components
 
ObjectComponent() - Constructor for class net.lenni0451.mcstructs.text.components.ObjectComponent
 
ObjectComponent.AtlasSprite - Class in net.lenni0451.mcstructs.text.components
 
ObjectComponent.ObjectInfo - Interface in net.lenni0451.mcstructs.text.components
 
ObjectComponent.PlayerSprite - Class in net.lenni0451.mcstructs.text.components
 
of(String) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
of(String...) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
of(TextComponent...) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
of(Iterable<TextComponent>) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
OPEN_FILE - Static variable in class net.lenni0451.mcstructs.text.serializer.legacy.ClickEventSerializer
 
OPEN_FILE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.ClickEventCodec
 
OPEN_FILE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.ClickEventCodec
 
OPEN_FILE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.ClickEventCodec
 
OPEN_FILE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.ClickEventCodec
 
OPEN_FILE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.ClickEventCodec
 
OPEN_FILE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.ClickEventCodec
 
OPEN_FILE - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.ClickEventCodec
 
OPEN_URL - Static variable in class net.lenni0451.mcstructs.text.serializer.legacy.ClickEventSerializer
 
OPEN_URL - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.ClickEventCodec
 
OPEN_URL - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.ClickEventCodec
 
OPEN_URL - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.ClickEventCodec
 
OPEN_URL - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.ClickEventCodec
 
OPEN_URL - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.ClickEventCodec
 
OPEN_URL - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.ClickEventCodec
 
OPEN_URL - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.ClickEventCodec
 
openFile(String) - Static method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
OpenFileClickEvent - Class in net.lenni0451.mcstructs.text.events.click.types
 
OpenFileClickEvent(String) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.OpenFileClickEvent
 
openUrl(URI) - Static method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
OpenUrlClickEvent - Class in net.lenni0451.mcstructs.text.events.click.types
 
OpenUrlClickEvent(String) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
 
OpenUrlClickEvent(URI) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
 
OpenUrlClickEvent.StringHolder - Class in net.lenni0451.mcstructs.text.events.click.types
 
OpenUrlClickEvent.UriHolder - Class in net.lenni0451.mcstructs.text.events.click.types
 
OpenUrlClickEvent.UrlHolder - Interface in net.lenni0451.mcstructs.text.events.click.types
 

P

parse(String, boolean) - Static method in class net.lenni0451.mcstructs.text.serializer.LegacyStringDeserializer
Deprecated.
parse(String, char, boolean) - Static method in class net.lenni0451.mcstructs.text.serializer.LegacyStringDeserializer
Deprecated.
parse(String, char, Function<Character, TextFormatting>) - Static method in class net.lenni0451.mcstructs.text.serializer.LegacyStringDeserializer
Deprecated.
parse(String, char, Supplier<Style>, Function<Character, TextFormatting>) - Static method in class net.lenni0451.mcstructs.text.serializer.LegacyStringDeserializer
Deprecated.
parse(String) - Static method in class net.lenni0451.mcstructs.text.TextFormatting
Get a formatting by name or a rgb color when the name starts with #.
The name is case-insensitive.

Example:
TextFormatting.parse("RED") -> TextFormatting.RED TextFormatting.parse("#FF0000") -> rgb(255, 0, 0)
peek() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
peek(int) - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
peekAt(int) - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
PlayerSprite() - Constructor for class net.lenni0451.mcstructs.text.components.ObjectComponent.PlayerSprite
 
PlayerSpriteFont - Class in net.lenni0451.mcstructs.text.font
 
PlayerSpriteFont() - Constructor for class net.lenni0451.mcstructs.text.font.PlayerSpriteFont
 
prependStyle(String, Style, SerializerUnknownHandling) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Prepend a style to the given string.
This only works with formatting codes (colors, bold, italic, etc.).
If the style contains an unknown formatting code the SerializerUnknownHandling will be used to resolve it.
PrioritizingStringFormat - Class in net.lenni0451.mcstructs.text.stringformat.matcher
A StringFormat implementation that delegates to multiple other StringFormat implementations.
The first StringFormat that matches will be used.
PrioritizingStringFormat(StringFormat...) - Constructor for class net.lenni0451.mcstructs.text.stringformat.matcher.PrioritizingStringFormat
 

R

rainbow(String) - Static method in class net.lenni0451.mcstructs.text.utils.TextColorUtils
Color a string with a rainbow gradient.
The text color is interpolated between the given colors.
ranged(DeserializerVersion, DeserializerVersion) - Static method in enum net.lenni0451.mcstructs.text.utils.DeserializerVersion
 
raw() - Method in class net.lenni0451.mcstructs.text.stringformat.ResolvedFormatting
 
read(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.AdventureRgbStringFormat
 
read(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.AnsiStringFormat
 
read(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.BungeeRgbStringFormat
 
read(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.PrioritizingStringFormat
 
read(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.VanillaStringFormat
 
read(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.VoidVanillaStringFormat
 
read(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Read the next formatting code from the reader.
The reader should be at the start of the formatting code when this method is called.
read() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
read(int) - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
readUntil(char) - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
RED - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
removeTranslation(String) - Method in class net.lenni0451.mcstructs.text.translation.BasicTranslator
 
replace(TextComponent, Function<TextComponent, TextComponent>) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Replace components in the given component and all siblings with the given function.
This includes all arguments of translation components.
replace(TextComponent, String, Function<TextComponent, TextComponent>) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Replace all matches of the given pattern in this component and all siblings.
This only works for StringComponent components.
replaceRGBColors(TextComponent) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Replace all rgb color codes with the nearest formatting color.
This can not perfectly convert the colors since there is only a limited amount of formatting colors.
Minecraft 1.16 has added support for rgb colors which older versions can't display.
RESET - Static variable in interface net.lenni0451.mcstructs.text.stringformat.handling.DeserializerUnknownHandling
Treat unknown formatting codes as reset.
reset() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
RESET - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
resolve(TextStringReader) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Resolve the next formatting code in the string.
null will be returned if no formatting code is at the current position.
If the formatting code is invalid the ResolvedFormatting.get() method will return null.
This is a convenience method which combines StringFormat.canRead(TextStringReader), StringFormat.matches(TextStringReader) and StringFormat.read(TextStringReader).
ResolvedFormatting - Class in net.lenni0451.mcstructs.text.stringformat
Represents a resolved formatting code.
It is the result of StringFormat.resolve(TextStringReader) and contains the raw input and the resolved TextFormatting object.
The TextFormatting object can be null if the input was invalid.
ResolvedFormatting(String, TextFormatting) - Constructor for class net.lenni0451.mcstructs.text.stringformat.ResolvedFormatting
 
resolveIntoComponents() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
ResourceFont - Class in net.lenni0451.mcstructs.text.font
 
ResourceFont() - Constructor for class net.lenni0451.mcstructs.text.font.ResourceFont
 
RUN_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.legacy.ClickEventSerializer
 
RUN_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.ClickEventCodec
 
RUN_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.ClickEventCodec
 
RUN_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.ClickEventCodec
 
RUN_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.ClickEventCodec
 
RUN_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.ClickEventCodec
 
RUN_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.ClickEventCodec
 
RUN_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.ClickEventCodec
 
runCommand(String) - Static method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
RunCommandClickEvent - Class in net.lenni0451.mcstructs.text.events.click.types
 
RunCommandClickEvent(String) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.RunCommandClickEvent
 

S

score(String, String) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
score(String, String, String) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
 
SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextCodecs_v1_20_5
 
SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextCodecs_v1_21_2
 
SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.TextCodecs_v1_21_4
 
SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.TextCodecs_v1_21_5
 
SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.TextCodecs_v1_21_6
 
SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.TextCodecs_v1_21_9
 
ScoreComponent - Class in net.lenni0451.mcstructs.text.components
 
ScoreComponent(String, String) - Constructor for class net.lenni0451.mcstructs.text.components.ScoreComponent
 
ScoreComponent(String, String, String) - Constructor for class net.lenni0451.mcstructs.text.components.ScoreComponent
 
selector(String) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
selector(String, TextComponent) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
 
SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextCodecs_v1_20_5
 
SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextCodecs_v1_21_2
 
SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.TextCodecs_v1_21_4
 
SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.TextCodecs_v1_21_5
 
SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.TextCodecs_v1_21_6
 
SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.TextCodecs_v1_21_9
 
SelectorComponent - Class in net.lenni0451.mcstructs.text.components
 
SelectorComponent(String) - Constructor for class net.lenni0451.mcstructs.text.components.SelectorComponent
 
SelectorComponent(String, TextComponent) - Constructor for class net.lenni0451.mcstructs.text.components.SelectorComponent
 
serialize(SNbt<?>, T) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializer
 
serialize(R) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.SerializerMap
 
serialize(TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Serialize a text component to a json string.
serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_12.TextSerializer_v1_12
 
serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_14.TextSerializer_v1_14
 
serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_15.TextSerializer_v1_15
 
serialize(HoverEvent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventSerializer_v1_16
 
serialize(Style, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.StyleSerializer_v1_16
 
serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.TextSerializer_v1_16
 
serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_17.TextSerializer_v1_17
 
serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_19_4.TextSerializer_v1_19_4
 
serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_6.TextSerializer_v1_6
 
serialize(Style, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_7.StyleSerializer_v1_7
 
serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_7.TextSerializer_v1_7
 
serialize(Style, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_8.StyleSerializer_v1_8
 
serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_8.TextSerializer_v1_8
 
serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_9.TextSerializer_v1_9
 
serialize() - Method in class net.lenni0451.mcstructs.text.TextFormatting
 
serializeJson(TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Serialize a text component to a JsonElement.
serializeJsonString(TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Serialize a text component to a json string.
serializeJsonTree(TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Serialize a text component to a JsonElement.
serializeNbtString(TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Serialize a text component to a nbt string.
serializeNbtTree(TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Serialize a text component to a NbtTag.
SerializerMap<R,A extends java.lang.Enum<A>,IO> - Class in net.lenni0451.mcstructs.text.serializer.legacy
 
SerializerMap.Builder<R,A extends java.lang.Enum<A>,IO> - Class in net.lenni0451.mcstructs.text.serializer.legacy
 
SerializerUnknownHandling - Interface in net.lenni0451.mcstructs.text.stringformat.handling
Option to modify the behavior of how unknown formatting codes are handled in a StringFormat during serialization.
setArgs(Object[]) - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
Set the arguments of this component.
setBold(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
Set this style to be bold.
setClickEvent(ClickEvent) - Method in class net.lenni0451.mcstructs.text.Style
Set the click event of this style.
setColor(int) - Method in class net.lenni0451.mcstructs.text.Style
Set the rgb color of this style.
setColor(TextFormatting) - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
Deprecated.
 
setCommand(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.RunCommandClickEvent
 
setCommand(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.SuggestCommandClickEvent
 
setComponent(String) - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
Set the component of this component.
setData(EntityHoverEvent.DataHolder) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
setData(String) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
setDataSource(NbtDataSource) - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
Set the data source of this component.
setFallback(String) - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
Set the fallback of this component.
The fallback is used when the translation of the key was not found.
setFont(Identifier) - Method in class net.lenni0451.mcstructs.text.Style
Set the font of this style.
setFont(FontDescription) - Method in class net.lenni0451.mcstructs.text.Style
Set the font of this style.
setFormatting(TextFormatting) - Method in class net.lenni0451.mcstructs.text.Style
Set a formatting to this style.
setFormatting(TextFormatting...) - Method in class net.lenni0451.mcstructs.text.Style
Set multiple formattings to this style.
setHolder(OpenUrlClickEvent.UrlHolder) - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
 
setHoverEvent(HoverEvent) - Method in class net.lenni0451.mcstructs.text.Style
Set the hover event of this style.
setId(Identifier) - Method in class net.lenni0451.mcstructs.text.components.nbt.StorageNbtSource
Set the id of this component.
setInsertion(String) - Method in class net.lenni0451.mcstructs.text.Style
Set the insertion of this style.
setItalic(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
Set this style to be italic.
setKey(String) - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
Set the key of this component.
setKeybind(String) - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
Set the keybind of this component.
setLegacyData(TextComponent) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
setLegacyData(String) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
setModernData(Identifier, UUID, TextComponent) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
setModernData(Identifier, int, CompoundTag) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
setName(String) - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
Set the name of this component.
setObfuscated(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
Set this style to be obfuscated.
setObjective(String) - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
Set the objective of this component.
setPage(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent
 
setPage(int) - Method in class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent
 
setParent(Style) - Method in class net.lenni0451.mcstructs.text.Style
Set the parent style.
setParentStyle(Style) - Method in class net.lenni0451.mcstructs.text.TextComponent
Set the parent style of this component.
setPath(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenFileClickEvent
 
setPos(String) - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtSource
Set the position of this component.
setResolve(boolean) - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
Set whether this component should be resolved.
setSelector(String) - Method in class net.lenni0451.mcstructs.text.components.nbt.EntityNbtSource
Set the selector of this component.
setSelector(String) - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
Set the selector of this component.
setSeparator(TextComponent) - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
Set the separator of this component.
setSeparator(TextComponent) - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
Set the separator of this component.
setShadowColor(Integer) - Method in class net.lenni0451.mcstructs.text.Style
Set the shadow color of this style.
setSiblingParentStyle() - Method in class net.lenni0451.mcstructs.text.TextComponent
Set the parent style of all siblings to this style.
setStatistic(String) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.AchievementHoverEvent
Set the statistic of this hover event.
setStrikethrough(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
Set this style to be strikethrough.
setStyle(Style) - Method in class net.lenni0451.mcstructs.text.TextComponent
Set the style of this component.
setText(String) - Method in class net.lenni0451.mcstructs.text.components.StringComponent
Set the text of this component.
setText(TextComponent) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.TextHoverEvent
Set the text of this hover event.
setTranslator(Translator) - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
Set the translator function used to translate the key.
setTranslator(Translator) - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
Set the translator function used to translate the key.
If a key is not found return null.
setTranslator(TextComponent, Translator) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Recursively set the translator for all translation and keybind components in the given component.
This includes all arguments of translation components.
setTranslator(TextComponent, Translator, Translator) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Recursively set the translators for all translation and keybind components in the given component.
This includes all arguments of translation components.
setUnderlined(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
Set this style to be underlined.
setUrl(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
 
setUrl(URI) - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
 
setUser(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.TwitchUserInfoClickEvent
 
setValue(String) - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
Set the value of this component.
setValue(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.CopyToClipboardClickEvent
 
shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
 
shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
 
shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
 
shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
 
shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.StringComponent
 
shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
shallowCopy() - Method in class net.lenni0451.mcstructs.text.TextComponent
Create a shallow copy of this component.
This will only copy the component itself and not its siblings.
shouldResetAtEnd() - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.AnsiStringFormat
 
shouldResetAtEnd() - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
 
SHOW_DIALOG - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.ClickEventCodec
 
SHOW_DIALOG - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.ClickEventCodec
 
showDialog(SerializedData<?>) - Static method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
ShowDialogClickEvent - Class in net.lenni0451.mcstructs.text.events.click.types
 
ShowDialogClickEvent(SerializedData<?>) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.ShowDialogClickEvent
 
skip() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
skip(int) - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
sNbt - Variable in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventDeserializer_v1_16
 
sort(JsonElement, Comparator<String>) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Sort a json element.
split(String, String, ColorHandling, SerializerUnknownHandling, DeserializerUnknownHandling) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Split a string by a given separator and keep the formatting of the previous part.
The color handling is used to determine if color codes should be treated as reset codes.
The unknown handling is used to determine what should happen if an unsupported formatting is encountered.
split(String, String, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
Deprecated.
split(String, String, Function<Character, TextFormatting>) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
Deprecated.
split(TextComponent, String, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Split the given component by the given split string.
An array of components will be returned where each component is a part.
This method behaves like string.split(split, -1) without regex.
The original component will not be modified.
storageNbt(String, boolean, Identifier) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
storageNbt(String, boolean, TextComponent, Identifier) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
StorageNbtSource - Class in net.lenni0451.mcstructs.text.components.nbt
 
StorageNbtSource(Identifier) - Constructor for class net.lenni0451.mcstructs.text.components.nbt.StorageNbtSource
 
STRIKETHROUGH - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
 
STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextCodecs_v1_20_5
 
STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextCodecs_v1_21_2
 
STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.TextCodecs_v1_21_4
 
STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.TextCodecs_v1_21_5
 
STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.TextCodecs_v1_21_6
 
STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.TextCodecs_v1_21_9
 
STRING_COMPOUND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.ExtraCodecs_v1_20_3
 
StringComponent - Class in net.lenni0451.mcstructs.text.components
 
StringComponent() - Constructor for class net.lenni0451.mcstructs.text.components.StringComponent
 
StringComponent(String) - Constructor for class net.lenni0451.mcstructs.text.components.StringComponent
 
StringFormat - Class in net.lenni0451.mcstructs.text.stringformat
A class capable of reading and writing formatted strings in various formats.
StringFormat(char) - Constructor for class net.lenni0451.mcstructs.text.stringformat.StringFormat
 
StringHolder() - Constructor for class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent.StringHolder
 
StringHolder() - Constructor for class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent.StringHolder
 
Style - Class in net.lenni0451.mcstructs.text
 
Style() - Constructor for class net.lenni0451.mcstructs.text.Style
 
Style(TextFormatting, Boolean, Boolean, Boolean, Boolean, Boolean, ClickEvent, HoverEvent, String, Identifier) - Constructor for class net.lenni0451.mcstructs.text.Style
 
Style(TextFormatting, Boolean, Boolean, Boolean, Boolean, Boolean, ClickEvent, HoverEvent, String, FontDescription) - Constructor for class net.lenni0451.mcstructs.text.Style
 
Style(TextFormatting, Integer, Boolean, Boolean, Boolean, Boolean, Boolean, ClickEvent, HoverEvent, String, Identifier) - Constructor for class net.lenni0451.mcstructs.text.Style
 
Style(TextFormatting, Integer, Boolean, Boolean, Boolean, Boolean, Boolean, ClickEvent, HoverEvent, String, FontDescription) - Constructor for class net.lenni0451.mcstructs.text.Style
 
styleAt(String, int, ColorHandling, DeserializerUnknownHandling) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Get the style of a string at the given index.
If the index is smaller or equal to 0 the style will be empty.
If the index is greater than the length of the string the last style will be returned.
If the index is in the middle of a formatting code the index will be moved to the end of the formatting code.
The color handling is used to determine if color codes should be treated as reset codes.
The unknown handling is used to determine what should happen if an unsupported formatting is encountered.
StyleCodecs_v1_20_3 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
 
StyleCodecs_v1_20_3() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3
 
StyleCodecs_v1_20_3.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
 
StyleCodecs_v1_20_3.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
 
StyleCodecs_v1_20_3.HoverEventCodec.Entity - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
 
StyleCodecs_v1_20_3.HoverEventCodec.Item - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
 
StyleCodecs_v1_20_3.HoverEventCodec.Text - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
 
StyleCodecs_v1_20_3.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
 
StyleCodecs_v1_20_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
 
StyleCodecs_v1_20_5() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5
 
StyleCodecs_v1_20_5.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
 
StyleCodecs_v1_20_5.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
 
StyleCodecs_v1_20_5.HoverEventCodec.Entity - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
 
StyleCodecs_v1_20_5.HoverEventCodec.Item - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
 
StyleCodecs_v1_20_5.HoverEventCodec.Text - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
 
StyleCodecs_v1_20_5.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
 
StyleCodecs_v1_21_2 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
 
StyleCodecs_v1_21_2() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2
 
StyleCodecs_v1_21_2.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
 
StyleCodecs_v1_21_2.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
 
StyleCodecs_v1_21_2.HoverEventCodec.Entity - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
 
StyleCodecs_v1_21_2.HoverEventCodec.Item - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
 
StyleCodecs_v1_21_2.HoverEventCodec.Text - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
 
StyleCodecs_v1_21_2.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
 
StyleCodecs_v1_21_4 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
 
StyleCodecs_v1_21_4() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4
 
StyleCodecs_v1_21_4.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
 
StyleCodecs_v1_21_4.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
 
StyleCodecs_v1_21_4.HoverEventCodec.Entity - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
 
StyleCodecs_v1_21_4.HoverEventCodec.Item - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
 
StyleCodecs_v1_21_4.HoverEventCodec.Text - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
 
StyleCodecs_v1_21_4.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
 
StyleCodecs_v1_21_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_5
 
StyleCodecs_v1_21_5() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5
 
StyleCodecs_v1_21_5.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_5
 
StyleCodecs_v1_21_5.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_5
 
StyleCodecs_v1_21_5.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_5
 
StyleCodecs_v1_21_6 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_6
 
StyleCodecs_v1_21_6() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6
 
StyleCodecs_v1_21_6.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_6
 
StyleCodecs_v1_21_6.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_6
 
StyleCodecs_v1_21_6.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_6
 
StyleCodecs_v1_21_9 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_9
 
StyleCodecs_v1_21_9() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9
 
StyleCodecs_v1_21_9.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_9
 
StyleCodecs_v1_21_9.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_9
 
StyleCodecs_v1_21_9.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_9
 
styled(Consumer<Style>) - Method in class net.lenni0451.mcstructs.text.TextComponent
Modify the style of this component.
StyleDeserializer_v1_12 - Class in net.lenni0451.mcstructs.text.serializer.v1_12
 
StyleDeserializer_v1_12(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_12.StyleDeserializer_v1_12
 
StyleDeserializer_v1_16 - Class in net.lenni0451.mcstructs.text.serializer.v1_16
 
StyleDeserializer_v1_16() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_16.StyleDeserializer_v1_16
 
StyleDeserializer_v1_7 - Class in net.lenni0451.mcstructs.text.serializer.v1_7
 
StyleDeserializer_v1_7(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_7.StyleDeserializer_v1_7
 
StyleDeserializer_v1_8 - Class in net.lenni0451.mcstructs.text.serializer.v1_8
 
StyleDeserializer_v1_8(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_8.StyleDeserializer_v1_8
 
StyleDeserializer_v1_9 - Class in net.lenni0451.mcstructs.text.serializer.v1_9
 
StyleDeserializer_v1_9(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_9.StyleDeserializer_v1_9
 
StyleSerializer_v1_12 - Class in net.lenni0451.mcstructs.text.serializer.v1_12
 
StyleSerializer_v1_12(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_12.StyleSerializer_v1_12
 
StyleSerializer_v1_16 - Class in net.lenni0451.mcstructs.text.serializer.v1_16
 
StyleSerializer_v1_16() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_16.StyleSerializer_v1_16
 
StyleSerializer_v1_7 - Class in net.lenni0451.mcstructs.text.serializer.v1_7
 
StyleSerializer_v1_7(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_7.StyleSerializer_v1_7
 
StyleSerializer_v1_8 - Class in net.lenni0451.mcstructs.text.serializer.v1_8
 
StyleSerializer_v1_8(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_8.StyleSerializer_v1_8
 
StyleSerializer_v1_9 - Class in net.lenni0451.mcstructs.text.serializer.v1_9
 
StyleSerializer_v1_9(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_9.StyleSerializer_v1_9
 
SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.legacy.ClickEventSerializer
 
SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.ClickEventCodec
 
SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.ClickEventCodec
 
SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.ClickEventCodec
 
SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.ClickEventCodec
 
SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.ClickEventCodec
 
SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.ClickEventCodec
 
SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.ClickEventCodec
 
suggestCommand(String) - Static method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
SuggestCommandClickEvent - Class in net.lenni0451.mcstructs.text.events.click.types
 
SuggestCommandClickEvent(String) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.SuggestCommandClickEvent
 

T

text(TextComponent) - Static method in class net.lenni0451.mcstructs.text.events.hover.HoverEvent
 
TEXT - Static variable in class net.lenni0451.mcstructs.text.serializer.legacy.HoverEventSerializer
 
Text() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.HoverEventCodec.Text
 
TEXT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
 
Text() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.HoverEventCodec.Text
 
TEXT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextCodecs_v1_20_5
 
Text() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.HoverEventCodec.Text
 
TEXT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextCodecs_v1_21_2
 
Text() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.HoverEventCodec.Text
 
TEXT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.TextCodecs_v1_21_4
 
TEXT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.HoverEventCodec
 
TEXT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.TextCodecs_v1_21_5
 
TEXT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.HoverEventCodec
 
TEXT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.TextCodecs_v1_21_6
 
TEXT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.HoverEventCodec
 
TEXT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.TextCodecs_v1_21_9
 
TEXT - Static variable in interface net.lenni0451.mcstructs.text.stringformat.handling.DeserializerUnknownHandling
Treat unknown formatting codes as text.
TextCodecs_v1_20_3 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
 
TextCodecs_v1_20_3() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
 
TextCodecs_v1_20_3.TextComponentType - Interface in net.lenni0451.mcstructs.text.serializer.v1_20_3
 
TextCodecs_v1_20_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
 
TextCodecs_v1_20_5() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextCodecs_v1_20_5
 
TextCodecs_v1_21_2 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
 
TextCodecs_v1_21_2() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextCodecs_v1_21_2
 
TextCodecs_v1_21_4 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
 
TextCodecs_v1_21_4() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_4.TextCodecs_v1_21_4
 
TextCodecs_v1_21_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_5
 
TextCodecs_v1_21_5() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_5.TextCodecs_v1_21_5
 
TextCodecs_v1_21_6 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_6
 
TextCodecs_v1_21_6() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_6.TextCodecs_v1_21_6
 
TextCodecs_v1_21_9 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_9
 
TextCodecs_v1_21_9() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_9.TextCodecs_v1_21_9
 
TextColorUtils - Class in net.lenni0451.mcstructs.text.utils
Utility class to color strings with a gradient.
RGB Colors are used which only work in Minecraft 1.16+.
If you want to translate the colors to the old format use TextUtils.replaceRGBColors(TextComponent), but keep in mind that many details will be lost.
TextColorUtils() - Constructor for class net.lenni0451.mcstructs.text.utils.TextColorUtils
 
TextComponent - Class in net.lenni0451.mcstructs.text
TextComponent() - Constructor for class net.lenni0451.mcstructs.text.TextComponent
 
TextComponentBuilder - Class in net.lenni0451.mcstructs.text.utils
Easily build and style text components.
TextComponentBuilder() - Constructor for class net.lenni0451.mcstructs.text.utils.TextComponentBuilder
 
TextComponentCodec - Class in net.lenni0451.mcstructs.text.serializer
The text component serializer and deserializer wrapper class for multiple types of input and output.
Use the static default fields for a specific minecraft version or create your own serializer/deserializer.

This class will now be used for implementations of new minecraft versions (1.20.3+) instead of the TextComponentSerializer class because components can now be serialized to nbt.
Backwards compatibility is supported through the TextComponentCodec.asSerializer() method.
TextComponentCodec(Supplier<SNbt<CompoundTag>>, Supplier<Codec<TextComponent>>, Supplier<Codec<Style>>, DataConverter<JsonElement>, DataConverter<NbtTag>) - Constructor for class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
 
TextComponentSerializer - Class in net.lenni0451.mcstructs.text.serializer
The text component serializer and deserializer wrapper class.
Use the static default fields for a specific minecraft version or create your own serializer/deserializer.
TextComponentSerializer(Supplier<Gson>) - Constructor for class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
 
TextComponentSerializer(Supplier<Gson>, boolean) - Constructor for class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
 
TextComponentSerializer(TextComponentCodec, Supplier<Gson>) - Constructor for class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
 
textComponentSerializer - Variable in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventDeserializer_v1_16
 
TextDeserializer_v1_12 - Class in net.lenni0451.mcstructs.text.serializer.v1_12
 
TextDeserializer_v1_12() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_12.TextDeserializer_v1_12
 
TextDeserializer_v1_14 - Class in net.lenni0451.mcstructs.text.serializer.v1_14
 
TextDeserializer_v1_14() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_14.TextDeserializer_v1_14
 
TextDeserializer_v1_15 - Class in net.lenni0451.mcstructs.text.serializer.v1_15
 
TextDeserializer_v1_15() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_15.TextDeserializer_v1_15
 
TextDeserializer_v1_16 - Class in net.lenni0451.mcstructs.text.serializer.v1_16
 
TextDeserializer_v1_16() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_16.TextDeserializer_v1_16
 
TextDeserializer_v1_17 - Class in net.lenni0451.mcstructs.text.serializer.v1_17
 
TextDeserializer_v1_17() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_17.TextDeserializer_v1_17
 
TextDeserializer_v1_19_4 - Class in net.lenni0451.mcstructs.text.serializer.v1_19_4
 
TextDeserializer_v1_19_4() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_19_4.TextDeserializer_v1_19_4
 
TextDeserializer_v1_6 - Class in net.lenni0451.mcstructs.text.serializer.v1_6
 
TextDeserializer_v1_6() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_6.TextDeserializer_v1_6
 
TextDeserializer_v1_7 - Class in net.lenni0451.mcstructs.text.serializer.v1_7
 
TextDeserializer_v1_7() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_7.TextDeserializer_v1_7
 
TextDeserializer_v1_8 - Class in net.lenni0451.mcstructs.text.serializer.v1_8
 
TextDeserializer_v1_8() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_8.TextDeserializer_v1_8
 
TextFormatting - Class in net.lenni0451.mcstructs.text
Text formattings are used to style texts in minecraft.
Starting with minecraft 1.16 rgb colors have been added which also marked the end of just using § as a formatting character.
TextFormatting(int) - Constructor for class net.lenni0451.mcstructs.text.TextFormatting
Create a new rgb color.
Alpha values are stripped.
TextFormattingCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.TextFormattingCodec
 
TextFormattingCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.TextFormattingCodec
 
TextFormattingCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.TextFormattingCodec
 
TextFormattingCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.TextFormattingCodec
 
TextFormattingCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.TextFormattingCodec
 
TextFormattingCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.TextFormattingCodec
 
TextFormattingCodec() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.TextFormattingCodec
 
TextHoverEvent - Class in net.lenni0451.mcstructs.text.events.hover.impl
The implementation for text hover events.
TextHoverEvent(TextComponent) - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.TextHoverEvent
 
TextSerializer_v1_12 - Class in net.lenni0451.mcstructs.text.serializer.v1_12
 
TextSerializer_v1_12() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_12.TextSerializer_v1_12
 
TextSerializer_v1_14 - Class in net.lenni0451.mcstructs.text.serializer.v1_14
 
TextSerializer_v1_14() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_14.TextSerializer_v1_14
 
TextSerializer_v1_15 - Class in net.lenni0451.mcstructs.text.serializer.v1_15
 
TextSerializer_v1_15() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_15.TextSerializer_v1_15
 
TextSerializer_v1_16 - Class in net.lenni0451.mcstructs.text.serializer.v1_16
 
TextSerializer_v1_16() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_16.TextSerializer_v1_16
 
TextSerializer_v1_17 - Class in net.lenni0451.mcstructs.text.serializer.v1_17
 
TextSerializer_v1_17() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_17.TextSerializer_v1_17
 
TextSerializer_v1_19_4 - Class in net.lenni0451.mcstructs.text.serializer.v1_19_4
 
TextSerializer_v1_19_4() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_19_4.TextSerializer_v1_19_4
 
TextSerializer_v1_6 - Class in net.lenni0451.mcstructs.text.serializer.v1_6
 
TextSerializer_v1_6() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_6.TextSerializer_v1_6
 
TextSerializer_v1_7 - Class in net.lenni0451.mcstructs.text.serializer.v1_7
 
TextSerializer_v1_7() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_7.TextSerializer_v1_7
 
TextSerializer_v1_8 - Class in net.lenni0451.mcstructs.text.serializer.v1_8
 
TextSerializer_v1_8() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_8.TextSerializer_v1_8
 
TextSerializer_v1_9 - Class in net.lenni0451.mcstructs.text.serializer.v1_9
 
TextSerializer_v1_9() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_9.TextSerializer_v1_9
 
TextStringReader - Class in net.lenni0451.mcstructs.text.stringformat
 
TextStringReader(String) - Constructor for class net.lenni0451.mcstructs.text.stringformat.TextStringReader
 
TextUtils - Class in net.lenni0451.mcstructs.text.utils
 
TextUtils() - Constructor for class net.lenni0451.mcstructs.text.utils.TextUtils
 
TextVerifier - Interface in net.lenni0451.mcstructs.text.serializer.verify
 
TextVerifier_v1_20_3 - Interface in net.lenni0451.mcstructs.text.serializer.v1_20_3
 
TextVerifier_v1_20_5 - Interface in net.lenni0451.mcstructs.text.serializer.v1_20_5
 
TextVerifier_v1_21_2 - Interface in net.lenni0451.mcstructs.text.serializer.v1_21_2
 
TextVerifier_v1_21_4 - Interface in net.lenni0451.mcstructs.text.serializer.v1_21_4
 
TextVerifier_v1_21_5 - Interface in net.lenni0451.mcstructs.text.serializer.v1_21_5
 
TextVerifier_v1_21_6 - Interface in net.lenni0451.mcstructs.text.serializer.v1_21_6
 
TextVerifier_v1_21_9 - Interface in net.lenni0451.mcstructs.text.serializer.v1_21_9
 
TextWidthUtils - Class in net.lenni0451.mcstructs.text.utils
 
TextWidthUtils() - Constructor for class net.lenni0451.mcstructs.text.utils.TextWidthUtils
 
THROW - Static variable in interface net.lenni0451.mcstructs.text.stringformat.handling.DeserializerUnknownHandling
Throw an exception when an unknown formatting code is found.
THROW - Static variable in interface net.lenni0451.mcstructs.text.stringformat.handling.SerializerUnknownHandling
Throw an exception when an unknown formatting is found.
toJson(NbtTag) - Static method in class net.lenni0451.mcstructs.text.utils.JsonNbtConverter
Convert a NbtTag to a JsonElement.
toLegacy() - Method in class net.lenni0451.mcstructs.text.TextFormatting
Get the legacy code of the formatting.
The legacy code of rgb colors is an empty string.
toLegacy() - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
Deprecated.
 
toNbt(JsonElement) - Static method in class net.lenni0451.mcstructs.text.utils.JsonNbtConverter
Convert a JsonElement to a NbtTag.
toSortedString(JsonElement, Comparator<String>) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Convert a json element to a sorted string.
If the comparator is null, Comparator.naturalOrder() will be used.
toString() - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
 
toString() - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtSource
 
toString() - Method in class net.lenni0451.mcstructs.text.components.nbt.EntityNbtSource
 
toString() - Method in class net.lenni0451.mcstructs.text.components.nbt.StorageNbtSource
 
toString() - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
 
toString() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent.AtlasSprite
 
toString() - Method in interface net.lenni0451.mcstructs.text.components.ObjectComponent.ObjectInfo
 
toString() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent.PlayerSprite
 
toString() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent
 
toString() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
 
toString() - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
 
toString() - Method in class net.lenni0451.mcstructs.text.components.StringComponent
 
toString() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent.IntHolder
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent.StringHolder
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.CopyToClipboardClickEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.CustomClickEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenFileClickEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent.StringHolder
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent.UriHolder
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.RunCommandClickEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.ShowDialogClickEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.SuggestCommandClickEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.click.types.TwitchUserInfoClickEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.hover.HoverEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.AchievementHoverEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent.LegacyHolder
 
toString() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent.ModernHolder
 
toString() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent.LegacyHolder
 
toString() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent.ModernHolder
 
toString() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.TextHoverEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.font.AtlasSpriteFont
 
toString() - Method in class net.lenni0451.mcstructs.text.font.PlayerSpriteFont
 
toString() - Method in class net.lenni0451.mcstructs.text.font.ResourceFont
 
toString(TextComponent, ColorHandling, SerializerUnknownHandling) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Convert a TextComponent to a string.
The unknown handling is used to determine what should happen if an unsupported formatting is encountered.
A reset code will be added at the start of every new section if the previous section had any formattings.
Some string formats may require a reset code at the end of the string.
toString(TextComponent, ColorHandling, SerializerUnknownHandling, boolean) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Convert a TextComponent to a string.
The unknown handling is used to determine what should happen if an unsupported formatting is encountered.
A reset code will be added at the start of every new section if the previous section had any formattings.
Some string formats may require a reset code at the end of the string.
toString() - Method in class net.lenni0451.mcstructs.text.Style
 
toString() - Method in class net.lenni0451.mcstructs.text.TextComponent
 
toString() - Method in class net.lenni0451.mcstructs.text.TextFormatting
 
toString() - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
Deprecated.
 
translate(String) - Method in class net.lenni0451.mcstructs.text.translation.BasicTranslator
 
translate(String) - Method in interface net.lenni0451.mcstructs.text.translation.Translator
Translate the given key.
Return null if the key is not found.
translateOrKey(String) - Method in class net.lenni0451.mcstructs.text.translation.BasicTranslator
 
translateOrKey(String) - Method in interface net.lenni0451.mcstructs.text.translation.Translator
Translate the given key.
If the key is not found return the key itself.
translation(String, List<Object>) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
translation(String, Object...) - Static method in class net.lenni0451.mcstructs.text.TextComponent
 
TRANSLATION_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
 
TRANSLATION_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextCodecs_v1_20_5
 
TRANSLATION_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextCodecs_v1_21_2
 
TRANSLATION_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.TextCodecs_v1_21_4
 
TRANSLATION_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.TextCodecs_v1_21_5
 
TRANSLATION_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.TextCodecs_v1_21_6
 
TRANSLATION_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.TextCodecs_v1_21_9
 
TranslationComponent - Class in net.lenni0451.mcstructs.text.components
 
TranslationComponent(String, List<?>) - Constructor for class net.lenni0451.mcstructs.text.components.TranslationComponent
 
TranslationComponent(String, Object...) - Constructor for class net.lenni0451.mcstructs.text.components.TranslationComponent
 
Translator - Interface in net.lenni0451.mcstructs.text.translation
 
tryCollapse(TextComponent) - Static method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
 
TWITCH_USER_INFO - Static variable in class net.lenni0451.mcstructs.text.serializer.legacy.ClickEventSerializer
 
twitchUserInfo(String) - Static method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
TwitchUserInfoClickEvent - Class in net.lenni0451.mcstructs.text.events.click.types
 
TwitchUserInfoClickEvent(String) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.TwitchUserInfoClickEvent
 

U

UNDERLINE - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
UNTRUSTED_URI - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.ExtraCodecs_v1_21_5
 
UNTRUSTED_URI - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.ExtraCodecs_v1_21_6
 
UNTRUSTED_URI - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.ExtraCodecs_v1_21_9
 
UriHolder() - Constructor for class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent.UriHolder
 

V

V1_12 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.12 - 1.13.
Use the TextComponentSerializer.deserializeReader(String) method for vanilla like deserialization.
V1_14 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.14.
Use the TextComponentSerializer.deserializeReader(String) method for vanilla like deserialization.
V1_15 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.15.
Use the TextComponentSerializer.deserializeReader(String) method for vanilla like deserialization.
V1_16 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.16.
Use the TextComponentSerializer.deserializeReader(String) method for vanilla like deserialization.
V1_17 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.17.
Use the TextComponentSerializer.deserializeReader(String) method for vanilla like deserialization.
V1_18 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.18 - 1.19.
Use the TextComponentSerializer.deserializeReader(String) method for vanilla like deserialization.
V1_19_4 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.19.4.
Use the TextComponentSerializer.deserializeReader(String) method for vanilla like deserialization.
V1_20_3 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
The text codec for 1.20.3.
V1_20_3 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.20.3.
V1_20_5 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
The text codec for 1.20.5.
V1_20_5 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.20.5.
V1_21_2 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
The text codec for 1.21.2.
V1_21_2 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.21.2.
V1_21_4 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
The text codec for 1.21.4.
V1_21_4 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.21.4.
V1_21_5 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
The text codec for 1.21.5.
V1_21_5 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.21.5.
V1_21_6 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
The text codec for 1.21.6.
V1_21_6 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.21.6.
V1_21_9 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
The text codec for 1.21.9.
V1_21_9 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.21.6.
V1_6 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.6.
Use the TextComponentSerializer.deserialize(String) and TextComponentSerializer.deserialize(JsonElement) methods for vanilla like deserialization.
V1_7 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.7.
Use the TextComponentSerializer.deserialize(String) and TextComponentSerializer.deserialize(JsonElement) methods for vanilla like deserialization.
V1_8 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.8.
Use the TextComponentSerializer.deserialize(String) and TextComponentSerializer.deserialize(JsonElement) methods for vanilla like deserialization.
V1_9 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.9 - 1.11.
Use the TextComponentSerializer.deserializeReader(String) method for vanilla like deserialization.
valueOf(String) - Static method in enum net.lenni0451.mcstructs.text.events.click.ClickEventAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.lenni0451.mcstructs.text.events.hover.HoverEventAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.lenni0451.mcstructs.text.stringformat.handling.ColorHandling
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.lenni0451.mcstructs.text.utils.DeserializerVersion
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.lenni0451.mcstructs.text.events.click.ClickEventAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.lenni0451.mcstructs.text.events.hover.HoverEventAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.lenni0451.mcstructs.text.stringformat.handling.ColorHandling
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.lenni0451.mcstructs.text.utils.DeserializerVersion
Returns an array containing the constants of this enum type, in the order they are declared.
vanilla() - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Create a new VanillaStringFormat.
The color character is set to '§' and rgb down sampling is disabled.
vanilla(char) - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Create a new VanillaStringFormat with the given color character.
The downsampleRgbColors parameter is set to false.
vanilla(boolean) - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Create a new VanillaStringFormat with the given down sampling parameter.
The color character is set to '§'.
vanilla(char, boolean) - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Create a new VanillaStringFormat with the given color character and down sampling parameter.
VanillaStringFormat - Class in net.lenni0451.mcstructs.text.stringformat.matcher
A StringFormat implementation for the vanilla format.
Example: §a
VanillaStringFormat(char, boolean) - Constructor for class net.lenni0451.mcstructs.text.stringformat.matcher.VanillaStringFormat
 
verify(Class<V>, BiPredicate<V, T>, String) - Static method in class net.lenni0451.mcstructs.text.serializer.verify.VerifyingConverter
 
verify(Class<V>, BiFunction<T, V, Result<Void>>) - Static method in class net.lenni0451.mcstructs.text.serializer.verify.VerifyingConverter
 
verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_5.TextVerifier_v1_20_5
 
verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_2.TextVerifier_v1_21_2
 
verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_4.TextVerifier_v1_21_4
 
verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_5.TextVerifier_v1_21_5
 
verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_6.TextVerifier_v1_21_6
 
verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_9.TextVerifier_v1_21_9
 
VerifyingConverter<T> - Class in net.lenni0451.mcstructs.text.serializer.verify
 
VerifyingConverter(DataConverter<T>, TextVerifier) - Constructor for class net.lenni0451.mcstructs.text.serializer.verify.VerifyingConverter
 
verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.TextVerifier_v1_20_3
 
verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_5.TextVerifier_v1_20_5
 
verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_2.TextVerifier_v1_21_2
 
verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_4.TextVerifier_v1_21_4
 
verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_5.TextVerifier_v1_21_5
 
verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_6.TextVerifier_v1_21_6
 
verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_9.TextVerifier_v1_21_9
 
verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.TextVerifier_v1_20_3
 
verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_5.TextVerifier_v1_20_5
 
verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_2.TextVerifier_v1_21_2
 
verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_4.TextVerifier_v1_21_4
 
verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_5.TextVerifier_v1_21_5
 
verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_6.TextVerifier_v1_21_6
 
verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_9.TextVerifier_v1_21_9
 
verifySelector(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_2.TextVerifier_v1_21_2
 
verifySelector(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_4.TextVerifier_v1_21_4
 
verifySelector(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_5.TextVerifier_v1_21_5
 
verifySelector(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_6.TextVerifier_v1_21_6
 
verifySelector(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_9.TextVerifier_v1_21_9
 
VoidVanillaStringFormat - Class in net.lenni0451.mcstructs.text.stringformat.matcher
A StringFormat implementation for the vanilla format without actually reading or writing anything.
It is used to filter out invalid vanilla formatting codes.
VoidVanillaStringFormat(char) - Constructor for class net.lenni0451.mcstructs.text.stringformat.matcher.VoidVanillaStringFormat
 

W

WHITE - Static variable in interface net.lenni0451.mcstructs.text.stringformat.handling.DeserializerUnknownHandling
Treat unknown formatting codes as white.
This is the default behavior for Minecraft <= 1.12.2.
WHITE - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
withVerifier(TextVerifier) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Create a new text component codec with the given text verifier.
The verifier is used to check if the text component is valid during serialization/deserialization.
By default, no verifier is used and all text components are valid.
write(StringBuilder, TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.AdventureRgbStringFormat
 
write(StringBuilder, TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.AnsiStringFormat
 
write(StringBuilder, TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.BungeeRgbStringFormat
 
write(StringBuilder, TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.PrioritizingStringFormat
 
write(StringBuilder, TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.VanillaStringFormat
 
write(StringBuilder, TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.VoidVanillaStringFormat
 
write(StringBuilder, TextFormatting) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
Write the given text formatting to the builder.
This method should only be called if StringFormat.canWrite(TextFormatting) returns true.

Y

YELLOW - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
 
A B C D E F G H I J K L M N O P R S T U V W Y 
Skip navigation links