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

A

action - Variable in class net.lenni0451.mcstructs.text.events.hover.AHoverEvent
 
AHoverEvent - Class in net.lenni0451.mcstructs.text.events.hover
The abstract class for hover events.
AHoverEvent(HoverEventAction) - Constructor for class net.lenni0451.mcstructs.text.events.hover.AHoverEvent
 
append(String) - Method in class net.lenni0451.mcstructs.text.ATextComponent
Append a string to this component.
append(ATextComponent) - Method in class net.lenni0451.mcstructs.text.ATextComponent
Append a component to this component.
append(ATextComponent...) - Method in class net.lenni0451.mcstructs.text.ATextComponent
Append multiple components to this component.
applyParent() - Method in class net.lenni0451.mcstructs.text.Style
Apply the parent style to this style.
applyParentStyle() - Method in class net.lenni0451.mcstructs.text.ATextComponent
Apply the parent style to all siblings.
asLegacyFormatString() - Method in class net.lenni0451.mcstructs.text.ATextComponent
 
asLegacyFormatString() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
asSerializer() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
 
asSingleString() - Method in class net.lenni0451.mcstructs.text.ATextComponent
 
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.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
 
asUnformattedString() - Method in class net.lenni0451.mcstructs.text.ATextComponent
 
ATextComponent - Class in net.lenni0451.mcstructs.text
The base text component class.
ATextComponent() - Constructor for class net.lenni0451.mcstructs.text.ATextComponent
 

B

BlockNbtComponent - Class in net.lenni0451.mcstructs.text.components.nbt
 
BlockNbtComponent(String, boolean, String) - Constructor for class net.lenni0451.mcstructs.text.components.nbt.BlockNbtComponent
 
BlockNbtComponent(String, boolean, ATextComponent, String) - Constructor for class net.lenni0451.mcstructs.text.components.nbt.BlockNbtComponent
 
build(Object...) - Static method in class net.lenni0451.mcstructs.text.TextComponentBuilder
Build a new text component from the given parts.

C

checkStartingType(String, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyGson
 
ClickEvent - Class in net.lenni0451.mcstructs.text.events.click
The implementation for click events.
ClickEvent(ClickEventAction, String) - Constructor for class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
ClickEventAction - Enum in net.lenni0451.mcstructs.text.events.click
The click event actions.
CodecUtils - Class in net.lenni0451.mcstructs.text.utils
Deprecated.
CodecUtils() - Constructor for class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
 
CodecUtils_v1_20_3 - Interface in net.lenni0451.mcstructs.text.serializer.v1_20_3
Basic util methods for text component codecs based on Minecraft 1.20.3.
containsArray(JsonObject, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Check if the given json object contains a json array.
containsArray(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Check if the given json object contains a json array.
containsObject(JsonObject, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Check if the given json object contains a json object.
containsObject(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Check if the given json object contains a json object.
containsString(JsonObject, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Check if the given json object contains a boolean.
containsString(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Check if the given json object contains a boolean.
convert(Object) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonTextSerializer_v1_20_3
 
convert(Object) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtTextSerializer_v1_20_3
 
convertItemComponents(CompoundTag) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextComponentCodec_v1_20_5
Verify and convert the given item component tag to a json object.
convertItemComponents(JsonObject) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextComponentCodec_v1_20_5
Verify and convert the given json object to a nbt tag.
copy() - Method in class net.lenni0451.mcstructs.text.ATextComponent
 
copy() - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
 
copy() - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtComponent
 
copy() - Method in class net.lenni0451.mcstructs.text.components.nbt.EntityNbtComponent
 
copy() - Method in class net.lenni0451.mcstructs.text.components.nbt.StorageNbtComponent
 
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
 
copyParentStyle() - Method in class net.lenni0451.mcstructs.text.ATextComponent
Set the style of this component as the parent style for all siblings.

D

deserialize(T) - Method in interface net.lenni0451.mcstructs.text.serializer.ITypedSerializer
 
deserialize(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a JsonElement.
deserialize(INbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a INbtTag.
deserialize(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Deserialize a text component from a json string.
deserialize(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Deserialize a text component from a JsonElement.
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) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonHoverEventSerializer_v1_20_3
 
deserialize(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonStyleSerializer_v1_20_3
 
deserialize(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonTextSerializer_v1_20_3
 
deserialize(INbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtHoverEventSerializer_v1_20_3
 
deserialize(INbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtStyleSerializer_v1_20_3
 
deserialize(INbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtTextSerializer_v1_20_3
 
deserialize(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.json.JsonHoverEventSerializer_v1_20_5
 
deserialize(INbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.nbt.NbtHoverEventSerializer_v1_20_5
 
deserialize(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.v1_21_2.json.JsonTextSerializer_v1_21_2
 
deserialize(INbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.v1_21_2.nbt.NbtTextSerializer_v1_21_2
 
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.
deserializeJsonTree(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a JsonElement.
deserializeLegacy(HoverEventAction, ATextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventDeserializer_v1_16
 
deserializeLegacy(HoverEventAction, ATextComponent) - 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.
deserializeLenientReader(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Deserialize a text component from a json string.
deserializeNbt(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a nbt string.
deserializeNbtTree(INbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Deserialize a text component from a INbtTag.
deserializeParser(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Deserialize a text component from a json string.
deserializeReader(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Deserialize a text component from a json string.
deserializeReader(String, boolean) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Deserialize a text component from a json string.

E

EntityHoverEvent - Class in net.lenni0451.mcstructs.text.events.hover.impl
The implementation for entity hover events.
EntityHoverEvent(HoverEventAction, Identifier, UUID, ATextComponent) - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
EntityNbtComponent - Class in net.lenni0451.mcstructs.text.components.nbt
 
EntityNbtComponent(String, boolean, String) - Constructor for class net.lenni0451.mcstructs.text.components.nbt.EntityNbtComponent
 
EntityNbtComponent(String, boolean, ATextComponent, String) - Constructor for class net.lenni0451.mcstructs.text.components.nbt.EntityNbtComponent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.ATextComponent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtComponent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.components.nbt.EntityNbtComponent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.components.nbt.StorageNbtComponent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.components.StringComponent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.events.hover.AHoverEvent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.TextHoverEvent
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.Style
 
equals(Object) - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
 

F

fixInvalidEscapes(String) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyGson
 
forEach(Consumer<ATextComponent>) - Method in class net.lenni0451.mcstructs.text.ATextComponent
Iterate over all components and their siblings.

G

getAction() - Method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
getAction() - Method in class net.lenni0451.mcstructs.text.events.hover.AHoverEvent
 
getArgs() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
getArrayOrList(CompoundTag, String) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtTextSerializer_v1_20_3
 
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.
getByName(String) - Static method in enum net.lenni0451.mcstructs.text.events.click.ClickEventAction
 
getByName(String, boolean) - Static method in enum net.lenni0451.mcstructs.text.events.click.ClickEventAction
 
getByName(String) - Static method in enum net.lenni0451.mcstructs.text.events.hover.HoverEventAction
 
getByName(String, boolean) - Static method in enum net.lenni0451.mcstructs.text.events.hover.HoverEventAction
 
getCharWidth(char, float, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
Get the width of a char using the default widths.
getCharWidths() - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
Get the default char widths array.
getClickEvent() - Method in class net.lenni0451.mcstructs.text.Style
 
getColor() - Method in class net.lenni0451.mcstructs.text.Style
 
getColor() - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
 
getCommonType(List<INbtTag>) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtTextSerializer_v1_20_3
 
getComponent() - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
 
getComponentWidth(ATextComponent) - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
Calculate the width of a component using the default widths.
getComponentWidth(ATextComponent, float[]) - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
Calculate the width of a component using the given widths array.
getComponentWidth(ATextComponent, float[], float) - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
Calculate the width of a component using the given widths array.
getCount() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
getEntityType() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
getFallback() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
getFont() - Method in class net.lenni0451.mcstructs.text.Style
 
getGson() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
 
getHoverEvent() - Method in class net.lenni0451.mcstructs.text.Style
 
getId() - Method in class net.lenni0451.mcstructs.text.components.nbt.StorageNbtComponent
 
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
 
getItem() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
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.
getJsonSerializer() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
 
getKey() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
getKeybind() - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
 
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.events.hover.impl.EntityHoverEvent
 
getNbt() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
getNbtSerializer() - 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
 
getParent() - Method in class net.lenni0451.mcstructs.text.Style
 
getParentCodec() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
 
getPos() - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtComponent
 
getSelector() - Method in class net.lenni0451.mcstructs.text.components.nbt.EntityNbtComponent
 
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
 
getSiblings() - Method in class net.lenni0451.mcstructs.text.ATextComponent
 
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.ATextComponent
 
getStyleAt(String, int, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
Get the legacy style of a string at the given position.
getStyleAt(String, int, Function<Character, TextFormatting>) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
Get the legacy style of a string at the given position.
getStyles() - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
 
getStyleSerializer() - Method in interface net.lenni0451.mcstructs.text.serializer.subtypes.ITextComponentSerializer
 
getStyleSerializer() - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonTextSerializer_v1_20_3
 
getStyleSerializer() - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtTextSerializer_v1_20_3
 
getText() - Method in class net.lenni0451.mcstructs.text.components.StringComponent
 
getText() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.TextHoverEvent
 
getUnderlined() - Method in class net.lenni0451.mcstructs.text.Style
 
getUuid() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
getUUID(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonHoverEventSerializer_v1_20_3
 
getUUID(INbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtHoverEventSerializer_v1_20_3
 
getValue() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
 
getValue() - Method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
gradient(String, TextFormatting...) - Static method in class net.lenni0451.mcstructs.text.utils.TextColorUtils
Color a string with a gradient of TextFormattings.

H

hashCode() - Method in class net.lenni0451.mcstructs.text.ATextComponent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtComponent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.components.nbt.EntityNbtComponent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.components.nbt.StorageNbtComponent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.components.StringComponent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.events.hover.AHoverEvent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.TextHoverEvent
 
hashCode() - Method in class net.lenni0451.mcstructs.text.Style
 
hashCode() - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
 
HoverEventAction - Enum in net.lenni0451.mcstructs.text.events.hover
The hover event actions.
HoverEventDeserializer_v1_16 - Class in net.lenni0451.mcstructs.text.serializer.v1_16
 
HoverEventDeserializer_v1_16(TextComponentSerializer, SNbtSerializer<?>) - 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, SNbtSerializer<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_18.HoverEventDeserializer_v1_18
 
HoverEventSerializer_v1_16 - Class in net.lenni0451.mcstructs.text.serializer.v1_16
 
HoverEventSerializer_v1_16(TextComponentSerializer, SNbtSerializer<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventSerializer_v1_16
 

I

isBold() - Method in class net.lenni0451.mcstructs.text.Style
 
isCodec() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
 
isEmpty() - Method in class net.lenni0451.mcstructs.text.Style
 
isItalic() - Method in class net.lenni0451.mcstructs.text.Style
 
isNumber(JsonElement) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Check if the given element is a number.
isNumber(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.json.JsonStyleSerializer_v1_20_5
 
isNumber(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.json.JsonTextSerializer_v1_20_5
 
isNumber(JsonElement) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Check if the given element is a number.
isObfuscated() - Method in class net.lenni0451.mcstructs.text.Style
 
isObject(JsonElement) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Check if the given element is an array.
isObject(JsonElement) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Check if the given element is an array.
isResolve() - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
 
isStrikethrough() - Method in class net.lenni0451.mcstructs.text.Style
 
isString(JsonElement) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Check if the given element is a string.
isString(JsonElement) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Check if the given element is a string.
IStyleSerializer<T> - Interface in net.lenni0451.mcstructs.text.serializer.subtypes
 
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
 
ItemHoverEvent - Class in net.lenni0451.mcstructs.text.events.hover.impl
The implementation for item hover events.
ItemHoverEvent(Identifier, int, CompoundTag) - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
ItemHoverEvent(HoverEventAction, Identifier, int, CompoundTag) - Constructor for class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
iterateAll(ATextComponent, Consumer<ATextComponent>) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Iterate over all siblings of the given component.
ITextComponentSerializer<T> - Interface in net.lenni0451.mcstructs.text.serializer.subtypes
 
ITypedSerializer<T,O> - Interface in net.lenni0451.mcstructs.text.serializer
 

J

join(ATextComponent, ATextComponent...) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Join the given components with the given separator.
JsonHoverEventSerializer_v1_20_3 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3.json
 
JsonHoverEventSerializer_v1_20_3(TextComponentCodec, ITypedSerializer<JsonElement, ATextComponent>, SNbtSerializer<CompoundTag>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonHoverEventSerializer_v1_20_3
 
JsonHoverEventSerializer_v1_20_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5.json
 
JsonHoverEventSerializer_v1_20_5(TextComponentCodec_v1_20_5, ITypedSerializer<JsonElement, ATextComponent>, SNbtSerializer<CompoundTag>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.json.JsonHoverEventSerializer_v1_20_5
 
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
 
JsonStyleSerializer_v1_20_3 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3.json
 
JsonStyleSerializer_v1_20_3(Function<JsonStyleSerializer_v1_20_3, ITypedSerializer<JsonElement, AHoverEvent>>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonStyleSerializer_v1_20_3
 
JsonStyleSerializer_v1_20_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5.json
 
JsonStyleSerializer_v1_20_5(Function<JsonStyleSerializer_v1_20_3, ITypedSerializer<JsonElement, AHoverEvent>>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.json.JsonStyleSerializer_v1_20_5
 
JsonTextSerializer_v1_20_3 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3.json
 
JsonTextSerializer_v1_20_3(Function<JsonTextSerializer_v1_20_3, IStyleSerializer<JsonElement>>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonTextSerializer_v1_20_3
 
JsonTextSerializer_v1_20_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5.json
 
JsonTextSerializer_v1_20_5(Function<JsonTextSerializer_v1_20_3, IStyleSerializer<JsonElement>>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.json.JsonTextSerializer_v1_20_5
 
JsonTextSerializer_v1_21_2 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2.json
 
JsonTextSerializer_v1_21_2(TextComponentCodec_v1_21_2, Function<JsonTextSerializer_v1_20_3, IStyleSerializer<JsonElement>>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.json.JsonTextSerializer_v1_21_2
 
JsonUtils - Class in net.lenni0451.mcstructs.text.utils
 
JsonUtils() - Constructor for class net.lenni0451.mcstructs.text.utils.JsonUtils
 

K

KeybindComponent - Class in net.lenni0451.mcstructs.text.components
 
KeybindComponent(String) - Constructor for class net.lenni0451.mcstructs.text.components.KeybindComponent
 
KeybindComponent(String, Function<String, String>) - 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.
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.
LegacyGson() - Constructor for class net.lenni0451.mcstructs.text.utils.LegacyGson
 
LegacyStringDeserializer - Class in net.lenni0451.mcstructs.text.serializer
Deserialize a legacy formatted string to an ATextComponent.
LegacyStringDeserializer() - Constructor for class net.lenni0451.mcstructs.text.serializer.LegacyStringDeserializer
 
LegacyStringUtils - Class in net.lenni0451.mcstructs.text.utils
 
LegacyStringUtils() - Constructor for class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
 
LegacyStringUtils.LegacyStyle - Class in net.lenni0451.mcstructs.text.utils
 

M

makeURLsClickable(ATextComponent) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Make URLs in the given text component clickable.
modifyStyle(Consumer<Style>) - Method in class net.lenni0451.mcstructs.text.ATextComponent
Modify the style of this component.

N

NbtComponent - Class in net.lenni0451.mcstructs.text.components
 
NbtComponent(String, boolean) - Constructor for class net.lenni0451.mcstructs.text.components.NbtComponent
 
NbtComponent(String, boolean, ATextComponent) - Constructor for class net.lenni0451.mcstructs.text.components.NbtComponent
 
NbtHoverEventSerializer_v1_20_3 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt
 
NbtHoverEventSerializer_v1_20_3(TextComponentCodec, ITypedSerializer<INbtTag, ATextComponent>, SNbtSerializer<CompoundTag>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtHoverEventSerializer_v1_20_3
 
NbtHoverEventSerializer_v1_20_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5.nbt
 
NbtHoverEventSerializer_v1_20_5(TextComponentCodec_v1_20_5, ITypedSerializer<INbtTag, ATextComponent>, SNbtSerializer<CompoundTag>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.nbt.NbtHoverEventSerializer_v1_20_5
 
NbtStyleSerializer_v1_20_3 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt
 
NbtStyleSerializer_v1_20_3(Function<NbtStyleSerializer_v1_20_3, ITypedSerializer<INbtTag, AHoverEvent>>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtStyleSerializer_v1_20_3
 
NbtTextSerializer_v1_20_3 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt
 
NbtTextSerializer_v1_20_3(Function<NbtTextSerializer_v1_20_3, IStyleSerializer<INbtTag>>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtTextSerializer_v1_20_3
 
NbtTextSerializer_v1_21_2 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2.nbt
 
NbtTextSerializer_v1_21_2(TextComponentCodec_v1_21_2, Function<NbtTextSerializer_v1_20_3, IStyleSerializer<INbtTag>>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.nbt.NbtTextSerializer_v1_21_2
 
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.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.serializer - package net.lenni0451.mcstructs.text.serializer
 
net.lenni0451.mcstructs.text.serializer.subtypes - package net.lenni0451.mcstructs.text.serializer.subtypes
 
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_3.json - package net.lenni0451.mcstructs.text.serializer.v1_20_3.json
 
net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt - package net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt
 
net.lenni0451.mcstructs.text.serializer.v1_20_5 - package net.lenni0451.mcstructs.text.serializer.v1_20_5
 
net.lenni0451.mcstructs.text.serializer.v1_20_5.json - package net.lenni0451.mcstructs.text.serializer.v1_20_5.json
 
net.lenni0451.mcstructs.text.serializer.v1_20_5.nbt - package net.lenni0451.mcstructs.text.serializer.v1_20_5.nbt
 
net.lenni0451.mcstructs.text.serializer.v1_21_2 - package net.lenni0451.mcstructs.text.serializer.v1_21_2
 
net.lenni0451.mcstructs.text.serializer.v1_21_2.json - package net.lenni0451.mcstructs.text.serializer.v1_21_2.json
 
net.lenni0451.mcstructs.text.serializer.v1_21_2.nbt - package net.lenni0451.mcstructs.text.serializer.v1_21_2.nbt
 
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.utils - package net.lenni0451.mcstructs.text.utils
 

O

optimizeAndConvert(List<INbtTag>) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtTextSerializer_v1_20_3
 
optionalBoolean(CompoundTag, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get an optional boolean or null if not present.
optionalBoolean(JsonObject, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get an optional boolean or null if not present.
optionalBoolean(CompoundTag, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get an optional boolean or null if not present.
optionalBoolean(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get an optional boolean or null if not present.
optionalCompound(CompoundTag, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get an optional compound tag or null if not present.
optionalCompound(CompoundTag, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get an optional compound tag or null if not present.
optionalInt(CompoundTag, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get an optional int or null if not present.
optionalInt(JsonObject, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get an optional int or null if not present.
optionalInt(CompoundTag, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get an optional int or null if not present.
optionalInt(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get an optional int or null if not present.
optionalObject(JsonObject, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get an optional json object or null if not present.
optionalObject(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get an optional json object or null if not present.
optionalString(CompoundTag, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get an optional string or null if not present.
optionalString(JsonObject, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get an optional string or null if not present.
optionalString(CompoundTag, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get an optional string or null if not present.
optionalString(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get an optional string or null if not present.

P

parse(String, boolean) - Static method in class net.lenni0451.mcstructs.text.serializer.LegacyStringDeserializer
Parse a string with legacy formatting codes into an ATextComponent.
parse(String, char, boolean) - Static method in class net.lenni0451.mcstructs.text.serializer.LegacyStringDeserializer
Parse a string with legacy formatting codes into an ATextComponent.
parse(String, char, Function<Character, TextFormatting>) - Static method in class net.lenni0451.mcstructs.text.serializer.LegacyStringDeserializer
Parse a string with legacy formatting codes into an ATextComponent.
parse(String, char, Supplier<Style>, Function<Character, TextFormatting>) - Static method in class net.lenni0451.mcstructs.text.serializer.LegacyStringDeserializer
Parse a string with legacy formatting codes into an ATextComponent.
parseItemHoverEvent(HoverEventAction, CompoundTag) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.nbt.NbtHoverEventSerializer_v1_20_5
 
putMetaCopy(C) - Method in class net.lenni0451.mcstructs.text.ATextComponent
Copy the style and siblings of this component to the given component.

R

rainbow(String) - Static method in class net.lenni0451.mcstructs.text.utils.TextColorUtils
Color a string with a rainbow gradient.
replace(ATextComponent, Function<ATextComponent, ATextComponent>) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Replace components in the given component and all siblings with the given function.
replace(ATextComponent, String, Function<ATextComponent, ATextComponent>) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Replace all matches of the given pattern in this component and all siblings.
replaceRGBColors(ATextComponent) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Replace all rgb color codes with the nearest formatting color.
requiredBoolean(CompoundTag, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get a required boolean or throw an exception if not present.
requiredBoolean(JsonObject, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get a required boolean or throw an exception if not present.
requiredBoolean(JsonObject, String) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.json.JsonStyleSerializer_v1_20_5
 
requiredBoolean(JsonObject, String) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.json.JsonTextSerializer_v1_20_5
 
requiredBoolean(CompoundTag, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get a required boolean or throw an exception if not present.
requiredBoolean(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get a required boolean or throw an exception if not present.
requiredCompound(CompoundTag, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get a required compound tag or throw an exception if not present.
requiredCompound(CompoundTag, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get a required compound tag or throw an exception if not present.
requiredInt(CompoundTag, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get a required int or throw an exception if not present.
requiredInt(JsonObject, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get a required int or throw an exception if not present.
requiredInt(JsonObject, String) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.json.JsonStyleSerializer_v1_20_5
 
requiredInt(JsonObject, String) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.json.JsonTextSerializer_v1_20_5
 
requiredInt(CompoundTag, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get a required int or throw an exception if not present.
requiredInt(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get a required int or throw an exception if not present.
requiredObject(JsonObject, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get a required json object or throw an exception if not present.
requiredObject(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get a required json object or throw an exception if not present.
requiredString(CompoundTag, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get a required string or throw an exception if not present.
requiredString(JsonObject, String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Get a required string or throw an exception if not present.
requiredString(CompoundTag, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get a required string or throw an exception if not present.
requiredString(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.CodecUtils
Deprecated.
Get a required string or throw an exception if not present.
resolveIntoComponents() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
 

S

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
 
SelectorComponent - Class in net.lenni0451.mcstructs.text.components
 
SelectorComponent(String) - Constructor for class net.lenni0451.mcstructs.text.components.SelectorComponent
 
SelectorComponent(String, ATextComponent) - Constructor for class net.lenni0451.mcstructs.text.components.SelectorComponent
 
serialize(O) - Method in interface net.lenni0451.mcstructs.text.serializer.ITypedSerializer
 
serialize(ATextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Serialize a text component to a json string.
serialize(ATextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_12.TextSerializer_v1_12
 
serialize(ATextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_14.TextSerializer_v1_14
 
serialize(ATextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_15.TextSerializer_v1_15
 
serialize(AHoverEvent, 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(ATextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.TextSerializer_v1_16
 
serialize(ATextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_17.TextSerializer_v1_17
 
serialize(ATextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_19_4.TextSerializer_v1_19_4
 
serialize(AHoverEvent) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonHoverEventSerializer_v1_20_3
 
serialize(Style) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonStyleSerializer_v1_20_3
 
serialize(ATextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonTextSerializer_v1_20_3
 
serialize(AHoverEvent) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtHoverEventSerializer_v1_20_3
 
serialize(Style) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtStyleSerializer_v1_20_3
 
serialize(ATextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtTextSerializer_v1_20_3
 
serialize(AHoverEvent) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.json.JsonHoverEventSerializer_v1_20_5
 
serialize(AHoverEvent) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.nbt.NbtHoverEventSerializer_v1_20_5
 
serialize(ATextComponent, 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(ATextComponent, 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(ATextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_8.TextSerializer_v1_8
 
serialize(ATextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_9.TextSerializer_v1_9
 
serializeJson(ATextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
Serialize a text component to a JsonElement.
serializeJsonString(ATextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Serialize a text component to a json string.
serializeJsonTree(ATextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Serialize a text component to a JsonElement.
serializeNbt(ATextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Serialize a text component to a INbtTag.
serializeNbtString(ATextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
Serialize a text component to a nbt string.
setAction(ClickEventAction) - Method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
Set the action of this click event.
setAction(HoverEventAction) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.TextHoverEvent
Set the action of the hover event.
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
 
setComponent(String) - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
Set the component of this component.
setCount(int) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
Set the count of this hover event.
setEntityType(Identifier) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
Set the entity type of this hover event.
setFallback(String) - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
Set the fallback of this component.
setFont(Identifier) - 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.
setHoverEvent(AHoverEvent) - 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.StorageNbtComponent
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.
setItem(Identifier) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
Set the item of this hover event.
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.
setName(String) - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
Set the name of this component.
setName(ATextComponent) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
Set the name of this hover event.
setNbt(CompoundTag) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
Set the nbt of this hover event.
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.
setParent(Style) - Method in class net.lenni0451.mcstructs.text.Style
Set the parent style.
setParentStyle(Style) - Method in class net.lenni0451.mcstructs.text.ATextComponent
Set the parent style of this component.
setPos(String) - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtComponent
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.EntityNbtComponent
Set the selector of this component.
setSelector(String) - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
Set the selector of this component.
setSeparator(ATextComponent) - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
Set the separator of this component.
setSeparator(ATextComponent) - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
Set the separator of this component.
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.ATextComponent
Set the style of this component.
setText(String) - Method in class net.lenni0451.mcstructs.text.components.StringComponent
Set the text of this component.
setText(ATextComponent) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.TextHoverEvent
Set the text of this hover event.
setTranslator(Function<String, String>) - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
Set the translator function used to translate the key.
setTranslator(Function<String, String>) - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
Set the translator function used to translate the key.
setTranslator(ATextComponent, Function<String, String>) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Recursively set the translator for all translation and keybind components in the given component.
setTranslator(ATextComponent, Function<String, String>, Function<String, String>) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Recursively set the translators for all translation and keybind components in the given component.
setUnderlined(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
Set this style to be underlined.
setUuid(UUID) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
Set the uuid of this hover event.
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.ClickEvent
Set the value of this click event.
shallowCopy() - Method in class net.lenni0451.mcstructs.text.ATextComponent
Create a shallow copy of this component.
shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
 
shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtComponent
 
shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.nbt.EntityNbtComponent
 
shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.nbt.StorageNbtComponent
 
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
 
sNbtSerializer - Variable in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventDeserializer_v1_16
 
sneak(Throwable) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.json.JsonHoverEventSerializer_v1_20_3
 
sneak(Throwable) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_3.nbt.NbtHoverEventSerializer_v1_20_3
 
sort(JsonElement, Comparator<String>) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Sort a json element.
split(String, String, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
Split a string by a given split string and keep the legacy style of the previous part.
split(String, String, Function<Character, TextFormatting>) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
Split a string by a given split string and keep the legacy style of the previous part.
split(ATextComponent, String, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
Split the given component by the given split string.
StorageNbtComponent - Class in net.lenni0451.mcstructs.text.components.nbt
 
StorageNbtComponent(String, boolean, Identifier) - Constructor for class net.lenni0451.mcstructs.text.components.nbt.StorageNbtComponent
 
StorageNbtComponent(String, boolean, ATextComponent, Identifier) - Constructor for class net.lenni0451.mcstructs.text.components.nbt.StorageNbtComponent
 
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
 
Style - Class in net.lenni0451.mcstructs.text
 
Style() - Constructor for class net.lenni0451.mcstructs.text.Style
 
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() - 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() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_8.StyleDeserializer_v1_8
 
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(TextComponentSerializer, SNbtSerializer<?>) - 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(TextComponentSerializer, SNbtSerializer<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_8.StyleSerializer_v1_8
 

T

TextColorUtils - Class in net.lenni0451.mcstructs.text.utils
Utility class to color strings with a gradient.
TextColorUtils() - Constructor for class net.lenni0451.mcstructs.text.utils.TextColorUtils
 
TextComponentBuilder - Class in net.lenni0451.mcstructs.text
Easily build and style text components.
TextComponentBuilder() - Constructor for class net.lenni0451.mcstructs.text.TextComponentBuilder
 
TextComponentCodec - Class in net.lenni0451.mcstructs.text.serializer
The text component serializer and deserializer wrapper class for multiple types of input and output.
TextComponentCodec(Supplier<SNbtSerializer<CompoundTag>>, BiFunction<TextComponentCodec, SNbtSerializer<CompoundTag>, ITextComponentSerializer<JsonElement>>, BiFunction<TextComponentCodec, SNbtSerializer<CompoundTag>, ITextComponentSerializer<INbtTag>>) - Constructor for class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
 
TextComponentCodec_v1_20_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
 
TextComponentCodec_v1_20_5() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextComponentCodec_v1_20_5
 
TextComponentCodec_v1_20_5(Supplier<SNbtSerializer<CompoundTag>>, BiFunction<TextComponentCodec, SNbtSerializer<CompoundTag>, ITextComponentSerializer<JsonElement>>, BiFunction<TextComponentCodec, SNbtSerializer<CompoundTag>, ITextComponentSerializer<INbtTag>>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextComponentCodec_v1_20_5
 
TextComponentCodec_v1_21_2 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
 
TextComponentCodec_v1_21_2() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextComponentCodec_v1_21_2
 
TextComponentSerializer - Class in net.lenni0451.mcstructs.text.serializer
The text component serializer and deserializer wrapper class.
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
 
TextHoverEvent - Class in net.lenni0451.mcstructs.text.events.hover.impl
The implementation for text hover events.
TextHoverEvent(HoverEventAction, ATextComponent) - 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
 
TextUtils - Class in net.lenni0451.mcstructs.text.utils
 
TextUtils() - Constructor for class net.lenni0451.mcstructs.text.utils.TextUtils
 
TextWidthUtils - Class in net.lenni0451.mcstructs.text.utils
 
TextWidthUtils() - Constructor for class net.lenni0451.mcstructs.text.utils.TextWidthUtils
 
toJson(INbtTag) - Static method in class net.lenni0451.mcstructs.text.utils.JsonNbtConverter
Convert a INbtTag to a JsonElement.
toLegacy(TextComponentSerializer, SNbtSerializer<?>) - Method in class net.lenni0451.mcstructs.text.events.hover.AHoverEvent
Converts this hover event to a legacy text hover event.
toLegacy(TextComponentSerializer, SNbtSerializer<?>) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
toLegacy(TextComponentSerializer, SNbtSerializer<?>) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
 
toLegacy(TextComponentSerializer, SNbtSerializer<?>) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.TextHoverEvent
 
toLegacy() - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
 
toNbt(JsonElement) - Static method in class net.lenni0451.mcstructs.text.utils.JsonNbtConverter
Convert a JsonElement to a INbtTag.
toSortedString(JsonElement, Comparator<String>) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
Convert a json element to a sorted string.
toString() - Method in class net.lenni0451.mcstructs.text.ATextComponent
 
toString() - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
 
toString() - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtComponent
 
toString() - Method in class net.lenni0451.mcstructs.text.components.nbt.EntityNbtComponent
 
toString() - Method in class net.lenni0451.mcstructs.text.components.nbt.StorageNbtComponent
 
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.hover.AHoverEvent
 
toString() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
 
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.Style
 
toString() - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
 
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
 

U

unwrapMarkers(ListTag<?>) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.CodecUtils_v1_20_3
Unwrap all marker tags from the given list.

V

V1_12 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.12 - 1.13.
V1_14 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.14.
V1_15 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.15.
V1_16 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.16.
V1_17 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.17.
V1_18 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.18 - 1.19.
V1_19_4 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.19.4.
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_6 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.6.
V1_7 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.7.
V1_8 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.8.
V1_9 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
The text component serializer for 1.9 - 1.11.
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.
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.
verifyEntity(Identifier) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextComponentCodec_v1_20_5
Verify if the given identifier is a valid entity.
verifyEntitySelector(String) - Method in class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextComponentCodec_v1_21_2
Verify if the given entity selector is valid.
verifyItem(Identifier) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.json.JsonHoverEventSerializer_v1_20_5
 
verifyItem(Identifier) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.nbt.NbtHoverEventSerializer_v1_20_5
 
verifyItem(Identifier) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextComponentCodec_v1_20_5
Verify if the given identifier is a valid item.
verifyItemComponents(INbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextComponentCodec_v1_20_5
Verify if the given tag is a valid item component.
A B C D E F G H I J K L M N O P R S T U V 
Skip navigation links