- 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
-
- 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
-
- 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
-
- 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
-
- 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.
- 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(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.
- 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
-
- 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.
- 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.
- setObfuscated(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
-
Set this style to be obfuscated.
- 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.
- 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.
- 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.
- setUnderlined(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
-
Set this style to be underlined.
- setValue(String) - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
-
Set the value of this component.
- sNbtSerializer - 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, 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.
- 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
-
- 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_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.