- 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.
- 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.
- 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.
- 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
-
- 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.