- DARK_AQUA - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
-
- DARK_BLUE - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
-
- DARK_GRAY - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
-
- DARK_GREEN - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
-
- DARK_PURPLE - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
-
- DARK_RED - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
-
- DEFAULT_ATLAS - Static variable in class net.lenni0451.mcstructs.text.components.ObjectComponent.AtlasSprite
-
- deserialize(SNbt<?>, IO) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializer
-
- deserialize(A, IO) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.SerializerMap
-
- deserialize(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
Deserialize a text component from a JsonElement.
This method does not check for null values.
- deserialize(NbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
Deserialize a text component from a NbtTag.
This method does not check for null values.
- deserialize(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
Deserialize a text component from a json string.
This method is used by minecraft versions 1.6 - 1.8.
It can deserialize components with comments which newer versions did not support.
Example:
{"text":/*comment*/"Hello World"}
- deserialize(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
Deserialize a text component from a JsonElement.
This method is used by minecraft versions 1.6 - 1.8.
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_12.TextDeserializer_v1_12
-
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_14.TextDeserializer_v1_14
-
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_15.TextDeserializer_v1_15
-
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventDeserializer_v1_16
-
- deserialize(HoverEventAction, JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventDeserializer_v1_16
-
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.StyleDeserializer_v1_16
-
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.TextDeserializer_v1_16
-
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_17.TextDeserializer_v1_17
-
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_19_4.TextDeserializer_v1_19_4
-
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_6.TextDeserializer_v1_6
-
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_7.StyleDeserializer_v1_7
-
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_7.TextDeserializer_v1_7
-
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_8.StyleDeserializer_v1_8
-
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_8.TextDeserializer_v1_8
-
- deserializeJson(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
Deserialize a text component from a json string.
- deserializeJsonReader(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
Deserialize a text component from a json string.
A JsonReader will be used to parse the json string.
- deserializeJsonTree(JsonElement) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
Deserialize a text component from a JsonElement.
- deserializeLegacy(HoverEventAction, TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventDeserializer_v1_16
-
- deserializeLegacy(HoverEventAction, TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.v1_18.HoverEventDeserializer_v1_18
-
- deserializeLenientJson(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
Deserialize a text component from a json string.
A JsonReader will be used to parse the json string.
- deserializeLenientReader(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
Deserialize a text component from a json string.
This method is available in minecraft versions 1.9+ but not used for text components.
It can deserialize components with comments and trailing data.
Example:
{"text":/*comment*/"Hello World"}
{"text":"Hello World"}trailing data
- deserializeNbt(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
Deserialize a text component from a nbt string.
- deserializeNbtTree(NbtTag) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
Deserialize a text component from a NbtTag.
- deserializeParser(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
Deserialize a text component from a json string.
This method is used by minecraft versions 1.20.3+.
- deserializeReader(String) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
Deserialize a text component from a json string.
This method is used by minecraft versions 1.9 - 1.20.2.
It can not deserialize components with comments which older versions did support.
- deserializeReader(String, boolean) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
Deserialize a text component from a json string.
This method is available in minecraft versions 1.9+ but is only used with lenient being false.
- DeserializerUnknownHandling - Interface in net.lenni0451.mcstructs.text.stringformat.handling
-
Option to modify the behavior of how unknown formatting codes are handled in a
StringFormat during deserialization.
- DeserializerVersion - Enum in net.lenni0451.mcstructs.text.utils
-
- get() - Method in class net.lenni0451.mcstructs.text.stringformat.ResolvedFormatting
-
- getAction() - Method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
-
- getAction() - Method in class net.lenni0451.mcstructs.text.events.hover.HoverEvent
-
- getAction() - Method in class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializer
-
- getArgs() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
-
- getBold() - Method in class net.lenni0451.mcstructs.text.Style
-
- getBoolean(JsonElement, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
-
Get a boolean value from a json element.
- getBoolean(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
-
Get a boolean value from a json object.
- getBoolean(JsonObject, String, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
-
Get a boolean value from a json object with a default value.
- getByCode(char) - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.VanillaStringFormat
-
- getByCode(char) - Static method in class net.lenni0451.mcstructs.text.TextFormatting
-
- getByName(String) - Static method in class net.lenni0451.mcstructs.text.TextFormatting
-
Get a formatting by name.
The name is case-insensitive.
Example:
TextFormatting.getByName("RED") ->
TextFormatting.RED
- getByOrdinal(int) - Static method in class net.lenni0451.mcstructs.text.TextFormatting
-
- getCharWidth(char, float, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
-
Get the width of a char using the default widths.
Minecraft takes the ceil of the width.
This method reads the default char widths from the charwidths.bin resource.
The widths array will be cached after the first call.
- getCharWidths() - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
-
Get the default char widths array.
The widths array will be cached after the first call.
This method reads the default char widths from the charwidths.bin resource.
The widths array will be cached after the first call.
- getClickEvent() - Method in class net.lenni0451.mcstructs.text.Style
-
- getClosestFormattingColor(int) - Static method in class net.lenni0451.mcstructs.text.TextFormatting
-
Get the closest formatting color to the given rgb color.
- getCode() - Method in class net.lenni0451.mcstructs.text.TextFormatting
-
- getCodec() - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3.TextComponentType
-
- getColor() - Method in class net.lenni0451.mcstructs.text.Style
-
- getColor() - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
-
Deprecated.
- getCommand() - Method in class net.lenni0451.mcstructs.text.events.click.types.RunCommandClickEvent
-
- getCommand() - Method in class net.lenni0451.mcstructs.text.events.click.types.SuggestCommandClickEvent
-
- getComponentWidth(TextComponent) - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
-
Calculate the width of a component using the default widths.
Minecraft takes the ceil of the width.
This method reads the default char widths from the charwidths.bin resource.
The widths array will be cached after the first call.
- getComponentWidth(TextComponent, float[]) - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
-
Calculate the width of a component using the given widths array.
Minecraft takes the ceil of the width.
- getComponentWidth(TextComponent, float[], float) - Static method in class net.lenni0451.mcstructs.text.utils.TextWidthUtils
-
Calculate the width of a component using the given widths array.
The bold offset is 1 for the vanilla font and 0.5 for unihex fonts.
Minecraft takes the ceil of the width.
- getData() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
-
- getData() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
-
- getDescription() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent.AtlasSprite
-
- getDescription() - Method in interface net.lenni0451.mcstructs.text.components.ObjectComponent.ObjectInfo
-
- getDescription() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent.PlayerSprite
-
- getFallback() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
-
- getFont() - Method in class net.lenni0451.mcstructs.text.Style
-
- getFormattings() - Method in class net.lenni0451.mcstructs.text.Style
-
Get the formattings of this style.
The color will always be the first element in the array.
- getFormattings(boolean) - Method in class net.lenni0451.mcstructs.text.Style
-
Get the formattings of this style.
The color will always be the first element in the array.
- getGson() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- getHolder() - Method in class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent
-
- getHolder() - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
-
- getHoverEvent() - Method in class net.lenni0451.mcstructs.text.Style
-
- getId() - Method in class net.lenni0451.mcstructs.text.components.nbt.StorageNbtSource
-
- getIndex() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
-
- getInsertion() - Method in class net.lenni0451.mcstructs.text.Style
-
- getInt(JsonElement, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
-
Get a int value from a json element.
- getInt(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
-
Get a int value from a json object.
- getInt(JsonObject, String, int) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
-
Get a int value from a json object with a default value.
- getItalic() - Method in class net.lenni0451.mcstructs.text.Style
-
- getJsonConverter() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
- getJsonObject(JsonElement, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
-
Get a json object value from a json element.
- getJsonObject(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
-
Get a json object value from a json object.
- getKey() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
-
- getKeybind() - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
-
- getLength() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
-
- getMark() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
-
- getName() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
-
- getName() - Method in enum net.lenni0451.mcstructs.text.events.click.ClickEventAction
-
- getName() - Method in enum net.lenni0451.mcstructs.text.events.hover.HoverEventAction
-
- getName() - Method in class net.lenni0451.mcstructs.text.TextFormatting
-
- getNbtConverter() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
- getObfuscated() - Method in class net.lenni0451.mcstructs.text.Style
-
- getObjective() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
-
- getOrdinal() - Method in class net.lenni0451.mcstructs.text.TextFormatting
-
Get the ordinal of the formatting.
The ordinal of rgb colors is -1.
- getParent() - Method in class net.lenni0451.mcstructs.text.Style
-
- getParentCodec() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- getPath() - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenFileClickEvent
-
- getPos() - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtSource
-
- getRgbValue() - Method in class net.lenni0451.mcstructs.text.TextFormatting
-
- getSelector() - Method in class net.lenni0451.mcstructs.text.components.nbt.EntityNbtSource
-
- getSelector() - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
-
- getSeparator() - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
-
- getShadowColor() - Method in class net.lenni0451.mcstructs.text.Style
-
- getSiblings() - Method in class net.lenni0451.mcstructs.text.TextComponent
-
- getStatistic() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.AchievementHoverEvent
-
- getStrikethrough() - Method in class net.lenni0451.mcstructs.text.Style
-
- getString(JsonElement, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
-
Get a string value from a json element.
- getString(JsonObject, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
-
Get a string value from a json object.
- getString(JsonObject, String, String) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
-
Get a string value from a json object with a default value.
- getStyle() - Method in class net.lenni0451.mcstructs.text.TextComponent
-
- getStyleAt(String, int, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
-
Deprecated.
- getStyleAt(String, int, Function<Character, TextFormatting>) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
-
Deprecated.
- getStyleCodec() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
- getStyles() - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
-
Deprecated.
- getText() - Method in class net.lenni0451.mcstructs.text.components.StringComponent
-
- getText() - Method in class net.lenni0451.mcstructs.text.events.hover.impl.TextHoverEvent
-
- getTextCodec() - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
- getTextVerifier() - Method in class net.lenni0451.mcstructs.text.serializer.verify.VerifyingConverter
-
- getTranslations() - Method in class net.lenni0451.mcstructs.text.translation.BasicTranslator
-
- getUnderlined() - Method in class net.lenni0451.mcstructs.text.Style
-
- getUpdatedFont() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent.AtlasSprite
-
- getUpdatedFont() - Method in interface net.lenni0451.mcstructs.text.components.ObjectComponent.ObjectInfo
-
- getUpdatedFont() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent.PlayerSprite
-
- getUser() - Method in class net.lenni0451.mcstructs.text.events.click.types.TwitchUserInfoClickEvent
-
- getValue() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
-
- getValue() - Method in class net.lenni0451.mcstructs.text.events.click.types.CopyToClipboardClickEvent
-
- GLOBAL - Static variable in interface net.lenni0451.mcstructs.text.translation.Translator
-
The global translator that is used by default.
- GOLD - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
-
- gradient(String, TextFormatting...) - Static method in class net.lenni0451.mcstructs.text.utils.TextColorUtils
-
Color a string with a gradient of
TextFormattings.
The text color is interpolated between the given colors.
If no colors are given a new
StringComponent is returned.
If one color is given the text will only be colored with that color.
- GRAY - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
-
- GREEN - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
-
- score(String, String) - Static method in class net.lenni0451.mcstructs.text.TextComponent
-
- score(String, String, String) - Static method in class net.lenni0451.mcstructs.text.TextComponent
-
- SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
-
- SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextCodecs_v1_20_5
-
- SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextCodecs_v1_21_2
-
- SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.TextCodecs_v1_21_4
-
- SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.TextCodecs_v1_21_5
-
- SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.TextCodecs_v1_21_6
-
- SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.TextCodecs_v1_21_9
-
- SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v26_1.TextCodecs_v26_1
-
- SCORE_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v26_2.TextCodecs_v26_2
-
- ScoreComponent - Class in net.lenni0451.mcstructs.text.components
-
- ScoreComponent(String, String) - Constructor for class net.lenni0451.mcstructs.text.components.ScoreComponent
-
- ScoreComponent(String, String, String) - Constructor for class net.lenni0451.mcstructs.text.components.ScoreComponent
-
- selector(String) - Static method in class net.lenni0451.mcstructs.text.TextComponent
-
- selector(String, TextComponent) - Static method in class net.lenni0451.mcstructs.text.TextComponent
-
- SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
-
- SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextCodecs_v1_20_5
-
- SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextCodecs_v1_21_2
-
- SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.TextCodecs_v1_21_4
-
- SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.TextCodecs_v1_21_5
-
- SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.TextCodecs_v1_21_6
-
- SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.TextCodecs_v1_21_9
-
- SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v26_1.TextCodecs_v26_1
-
- SELECTOR_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v26_2.TextCodecs_v26_2
-
- SelectorComponent - Class in net.lenni0451.mcstructs.text.components
-
- SelectorComponent(String) - Constructor for class net.lenni0451.mcstructs.text.components.SelectorComponent
-
- SelectorComponent(String, TextComponent) - Constructor for class net.lenni0451.mcstructs.text.components.SelectorComponent
-
- serialize(SNbt<?>, T) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.EventSerializer
-
- serialize(R) - Method in class net.lenni0451.mcstructs.text.serializer.legacy.SerializerMap
-
- serialize(TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
Serialize a text component to a json string.
- serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_12.TextSerializer_v1_12
-
- serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_14.TextSerializer_v1_14
-
- serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_15.TextSerializer_v1_15
-
- serialize(HoverEvent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventSerializer_v1_16
-
- serialize(Style, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.StyleSerializer_v1_16
-
- serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_16.TextSerializer_v1_16
-
- serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_17.TextSerializer_v1_17
-
- serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_19_4.TextSerializer_v1_19_4
-
- serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_6.TextSerializer_v1_6
-
- serialize(Style, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_7.StyleSerializer_v1_7
-
- serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_7.TextSerializer_v1_7
-
- serialize(Style, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_8.StyleSerializer_v1_8
-
- serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_8.TextSerializer_v1_8
-
- serialize(TextComponent, Type, JsonSerializationContext) - Method in class net.lenni0451.mcstructs.text.serializer.v1_9.TextSerializer_v1_9
-
- serialize() - Method in class net.lenni0451.mcstructs.text.TextFormatting
-
- serializeJson(TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
Serialize a text component to a JsonElement.
- serializeJsonString(TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
Serialize a text component to a json string.
- serializeJsonTree(TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
Serialize a text component to a JsonElement.
- serializeNbtString(TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
Serialize a text component to a nbt string.
- serializeNbtTree(TextComponent) - Method in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
Serialize a text component to a NbtTag.
- SerializerMap<R,A extends java.lang.Enum<A>,IO> - Class in net.lenni0451.mcstructs.text.serializer.legacy
-
- SerializerMap.Builder<R,A extends java.lang.Enum<A>,IO> - Class in net.lenni0451.mcstructs.text.serializer.legacy
-
- SerializerUnknownHandling - Interface in net.lenni0451.mcstructs.text.stringformat.handling
-
Option to modify the behavior of how unknown formatting codes are handled in a
StringFormat during serialization.
- setArgs(Object[]) - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
-
Set the arguments of this component.
- setBold(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
-
Set this style to be bold.
- setClickEvent(ClickEvent) - Method in class net.lenni0451.mcstructs.text.Style
-
Set the click event of this style.
- setColor(int) - Method in class net.lenni0451.mcstructs.text.Style
-
Set the rgb color of this style.
- setColor(TextFormatting) - Method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils.LegacyStyle
-
Deprecated.
- setCommand(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.RunCommandClickEvent
-
- setCommand(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.SuggestCommandClickEvent
-
- setData(EntityHoverEvent.DataHolder) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
-
- setData(String) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
-
- setFallback(String) - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
-
Set the fallback of this component.
The fallback is used when the translation of the key was not found.
- setFont(Identifier) - Method in class net.lenni0451.mcstructs.text.Style
-
Set the font of this style.
- setFont(FontDescription) - Method in class net.lenni0451.mcstructs.text.Style
-
Set the font of this style.
- setFormatting(TextFormatting) - Method in class net.lenni0451.mcstructs.text.Style
-
Set a formatting to this style.
- setFormatting(TextFormatting...) - Method in class net.lenni0451.mcstructs.text.Style
-
Set multiple formattings to this style.
- setHolder(OpenUrlClickEvent.UrlHolder) - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
-
- setHoverEvent(HoverEvent) - Method in class net.lenni0451.mcstructs.text.Style
-
Set the hover event of this style.
- setId(Identifier) - Method in class net.lenni0451.mcstructs.text.components.nbt.StorageNbtSource
-
Set the id of this component.
- setInsertion(String) - Method in class net.lenni0451.mcstructs.text.Style
-
Set the insertion of this style.
- setItalic(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
-
Set this style to be italic.
- setKey(String) - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
-
Set the key of this component.
- setKeybind(String) - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
-
Set the keybind of this component.
- setLegacyData(TextComponent) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
-
- setLegacyData(String) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
-
- setModernData(Identifier, UUID, TextComponent) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.EntityHoverEvent
-
- setModernData(Identifier, int, CompoundTag) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.ItemHoverEvent
-
- setName(String) - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
-
Set the name of this component.
- setObfuscated(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
-
Set this style to be obfuscated.
- setObjective(String) - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
-
Set the objective of this component.
- setPage(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent
-
- setPage(int) - Method in class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent
-
- setParent(Style) - Method in class net.lenni0451.mcstructs.text.Style
-
Set the parent style.
- setParentStyle(Style) - Method in class net.lenni0451.mcstructs.text.TextComponent
-
Set the parent style of this component.
- setPath(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenFileClickEvent
-
- setPos(String) - Method in class net.lenni0451.mcstructs.text.components.nbt.BlockNbtSource
-
Set the position of this component.
- setSelector(String) - Method in class net.lenni0451.mcstructs.text.components.nbt.EntityNbtSource
-
Set the selector of this component.
- setSelector(String) - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
-
Set the selector of this component.
- setSeparator(TextComponent) - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
-
Set the separator of this component.
- setShadowColor(Integer) - Method in class net.lenni0451.mcstructs.text.Style
-
Set the shadow color of this style.
- setSiblingParentStyle() - Method in class net.lenni0451.mcstructs.text.TextComponent
-
Set the parent style of all siblings to this style.
- setStatistic(String) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.AchievementHoverEvent
-
Set the statistic of this hover event.
- setStrikethrough(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
-
Set this style to be strikethrough.
- setStyle(Style) - Method in class net.lenni0451.mcstructs.text.TextComponent
-
Set the style of this component.
- setText(String) - Method in class net.lenni0451.mcstructs.text.components.StringComponent
-
Set the text of this component.
- setText(TextComponent) - Method in class net.lenni0451.mcstructs.text.events.hover.impl.TextHoverEvent
-
Set the text of this hover event.
- setTranslator(Translator) - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
-
Set the translator function used to translate the key.
- setTranslator(Translator) - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
-
Set the translator function used to translate the key.
If a key is not found return null.
- setTranslator(TextComponent, Translator) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
-
Recursively set the translator for all translation and keybind components in the given component.
This includes all arguments of translation components.
- setTranslator(TextComponent, Translator, Translator) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
-
Recursively set the translators for all translation and keybind components in the given component.
This includes all arguments of translation components.
- setUnderlined(Boolean) - Method in class net.lenni0451.mcstructs.text.Style
-
Set this style to be underlined.
- setUrl(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
-
- setUrl(URI) - Method in class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent
-
- setUser(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.TwitchUserInfoClickEvent
-
- setValue(String) - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
-
Set the value of this component.
- setValue(String) - Method in class net.lenni0451.mcstructs.text.events.click.types.CopyToClipboardClickEvent
-
- shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.KeybindComponent
-
- shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.NbtComponent
-
- shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.ObjectComponent
-
- shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.ScoreComponent
-
- shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.SelectorComponent
-
- shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.StringComponent
-
- shallowCopy() - Method in class net.lenni0451.mcstructs.text.components.TranslationComponent
-
- shallowCopy() - Method in class net.lenni0451.mcstructs.text.TextComponent
-
Create a shallow copy of this component.
This will only copy the component itself (including style) and not its siblings.
- shouldResetAtEnd() - Method in class net.lenni0451.mcstructs.text.stringformat.matcher.AnsiStringFormat
-
- shouldResetAtEnd() - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
-
- SHOW_DIALOG - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.ClickEventCodec
-
- SHOW_DIALOG - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.ClickEventCodec
-
- SHOW_DIALOG - Static variable in class net.lenni0451.mcstructs.text.serializer.v26_1.StyleCodecs_v26_1.ClickEventCodec
-
- SHOW_DIALOG - Static variable in class net.lenni0451.mcstructs.text.serializer.v26_2.StyleCodecs_v26_2.ClickEventCodec
-
- showDialog(SerializedData<?>) - Static method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
-
- ShowDialogClickEvent - Class in net.lenni0451.mcstructs.text.events.click.types
-
- ShowDialogClickEvent(SerializedData<?>) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.ShowDialogClickEvent
-
- skip() - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
-
- skip(int) - Method in class net.lenni0451.mcstructs.text.stringformat.TextStringReader
-
- sNbt - Variable in class net.lenni0451.mcstructs.text.serializer.v1_16.HoverEventDeserializer_v1_16
-
- sort(JsonElement, Comparator<String>) - Static method in class net.lenni0451.mcstructs.text.utils.JsonUtils
-
Sort a json element.
- split(String, String, ColorHandling, SerializerUnknownHandling, DeserializerUnknownHandling) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
-
Split a string by a given separator and keep the formatting of the previous part.
The color handling is used to determine if color codes should be treated as reset codes.
The unknown handling is used to determine what should happen if an unsupported formatting is encountered.
- split(String, String, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
-
Deprecated.
- split(String, String, Function<Character, TextFormatting>) - Static method in class net.lenni0451.mcstructs.text.utils.LegacyStringUtils
-
Deprecated.
- split(TextComponent, String, boolean) - Static method in class net.lenni0451.mcstructs.text.utils.TextUtils
-
Split the given component by the given split string.
An array of components will be returned where each component is a part.
This method behaves like string.split(split, -1) without regex.
The original component will not be modified.
- storageNbt(String, boolean, Identifier) - Static method in class net.lenni0451.mcstructs.text.TextComponent
-
- storageNbt(String, boolean, TextComponent, Identifier) - Static method in class net.lenni0451.mcstructs.text.TextComponent
-
- StorageNbtSource - Class in net.lenni0451.mcstructs.text.components.nbt
-
- StorageNbtSource(Identifier) - Constructor for class net.lenni0451.mcstructs.text.components.nbt.StorageNbtSource
-
- STRIKETHROUGH - Static variable in class net.lenni0451.mcstructs.text.TextFormatting
-
- STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.TextCodecs_v1_20_3
-
- STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.TextCodecs_v1_20_5
-
- STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.TextCodecs_v1_21_2
-
- STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.TextCodecs_v1_21_4
-
- STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.TextCodecs_v1_21_5
-
- STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.TextCodecs_v1_21_6
-
- STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.TextCodecs_v1_21_9
-
- STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v26_1.TextCodecs_v26_1
-
- STRING_COMPONENT - Static variable in class net.lenni0451.mcstructs.text.serializer.v26_2.TextCodecs_v26_2
-
- STRING_COMPOUND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.ExtraCodecs_v1_20_3
-
- StringComponent - Class in net.lenni0451.mcstructs.text.components
-
- StringComponent() - Constructor for class net.lenni0451.mcstructs.text.components.StringComponent
-
- StringComponent(String) - Constructor for class net.lenni0451.mcstructs.text.components.StringComponent
-
- StringFormat - Class in net.lenni0451.mcstructs.text.stringformat
-
A class capable of reading and writing formatted strings in various formats.
- StringFormat(char) - Constructor for class net.lenni0451.mcstructs.text.stringformat.StringFormat
-
- StringHolder() - Constructor for class net.lenni0451.mcstructs.text.events.click.types.ChangePageClickEvent.StringHolder
-
- StringHolder() - Constructor for class net.lenni0451.mcstructs.text.events.click.types.OpenUrlClickEvent.StringHolder
-
- Style - Class in net.lenni0451.mcstructs.text
-
- Style() - Constructor for class net.lenni0451.mcstructs.text.Style
-
- Style(TextFormatting, Boolean, Boolean, Boolean, Boolean, Boolean, ClickEvent, HoverEvent, String, Identifier) - Constructor for class net.lenni0451.mcstructs.text.Style
-
- Style(TextFormatting, Boolean, Boolean, Boolean, Boolean, Boolean, ClickEvent, HoverEvent, String, FontDescription) - Constructor for class net.lenni0451.mcstructs.text.Style
-
- Style(TextFormatting, Integer, Boolean, Boolean, Boolean, Boolean, Boolean, ClickEvent, HoverEvent, String, Identifier) - Constructor for class net.lenni0451.mcstructs.text.Style
-
- Style(TextFormatting, Integer, Boolean, Boolean, Boolean, Boolean, Boolean, ClickEvent, HoverEvent, String, FontDescription) - Constructor for class net.lenni0451.mcstructs.text.Style
-
- styleAt(String, int, ColorHandling, DeserializerUnknownHandling) - Method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
-
Get the style of a string at the given index.
If the index is smaller or equal to 0 the style will be empty.
If the index is greater than the length of the string the last style will be returned.
If the index is in the middle of a formatting code the index will be moved to the end of the formatting code.
The color handling is used to determine if color codes should be treated as reset codes.
The unknown handling is used to determine what should happen if an unsupported formatting is encountered.
- StyleCodecs_v1_20_3 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
-
- StyleCodecs_v1_20_3() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3
-
- StyleCodecs_v1_20_3.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
-
- StyleCodecs_v1_20_3.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
-
- StyleCodecs_v1_20_3.HoverEventCodec.Entity - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
-
- StyleCodecs_v1_20_3.HoverEventCodec.Item - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
-
- StyleCodecs_v1_20_3.HoverEventCodec.Text - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
-
- StyleCodecs_v1_20_3.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_20_3
-
- StyleCodecs_v1_20_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
-
- StyleCodecs_v1_20_5() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5
-
- StyleCodecs_v1_20_5.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
-
- StyleCodecs_v1_20_5.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
-
- StyleCodecs_v1_20_5.HoverEventCodec.Entity - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
-
- StyleCodecs_v1_20_5.HoverEventCodec.Item - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
-
- StyleCodecs_v1_20_5.HoverEventCodec.Text - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
-
- StyleCodecs_v1_20_5.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_20_5
-
- StyleCodecs_v1_21_2 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
-
- StyleCodecs_v1_21_2() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2
-
- StyleCodecs_v1_21_2.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
-
- StyleCodecs_v1_21_2.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
-
- StyleCodecs_v1_21_2.HoverEventCodec.Entity - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
-
- StyleCodecs_v1_21_2.HoverEventCodec.Item - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
-
- StyleCodecs_v1_21_2.HoverEventCodec.Text - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
-
- StyleCodecs_v1_21_2.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_2
-
- StyleCodecs_v1_21_4 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
-
- StyleCodecs_v1_21_4() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4
-
- StyleCodecs_v1_21_4.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
-
- StyleCodecs_v1_21_4.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
-
- StyleCodecs_v1_21_4.HoverEventCodec.Entity - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
-
- StyleCodecs_v1_21_4.HoverEventCodec.Item - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
-
- StyleCodecs_v1_21_4.HoverEventCodec.Text - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
-
- StyleCodecs_v1_21_4.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_4
-
- StyleCodecs_v1_21_5 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_5
-
- StyleCodecs_v1_21_5() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5
-
- StyleCodecs_v1_21_5.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_5
-
- StyleCodecs_v1_21_5.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_5
-
- StyleCodecs_v1_21_5.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_5
-
- StyleCodecs_v1_21_6 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_6
-
- StyleCodecs_v1_21_6() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6
-
- StyleCodecs_v1_21_6.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_6
-
- StyleCodecs_v1_21_6.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_6
-
- StyleCodecs_v1_21_6.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_6
-
- StyleCodecs_v1_21_9 - Class in net.lenni0451.mcstructs.text.serializer.v1_21_9
-
- StyleCodecs_v1_21_9() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9
-
- StyleCodecs_v1_21_9.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_9
-
- StyleCodecs_v1_21_9.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_9
-
- StyleCodecs_v1_21_9.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v1_21_9
-
- StyleCodecs_v26_1 - Class in net.lenni0451.mcstructs.text.serializer.v26_1
-
- StyleCodecs_v26_1() - Constructor for class net.lenni0451.mcstructs.text.serializer.v26_1.StyleCodecs_v26_1
-
- StyleCodecs_v26_1.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v26_1
-
- StyleCodecs_v26_1.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v26_1
-
- StyleCodecs_v26_1.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v26_1
-
- StyleCodecs_v26_2 - Class in net.lenni0451.mcstructs.text.serializer.v26_2
-
- StyleCodecs_v26_2() - Constructor for class net.lenni0451.mcstructs.text.serializer.v26_2.StyleCodecs_v26_2
-
- StyleCodecs_v26_2.ClickEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v26_2
-
- StyleCodecs_v26_2.HoverEventCodec - Class in net.lenni0451.mcstructs.text.serializer.v26_2
-
- StyleCodecs_v26_2.TextFormattingCodec - Class in net.lenni0451.mcstructs.text.serializer.v26_2
-
- styled(Consumer<Style>) - Method in class net.lenni0451.mcstructs.text.TextComponent
-
Modify the style of this component.
- StyleDeserializer_v1_12 - Class in net.lenni0451.mcstructs.text.serializer.v1_12
-
- StyleDeserializer_v1_12(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_12.StyleDeserializer_v1_12
-
- StyleDeserializer_v1_16 - Class in net.lenni0451.mcstructs.text.serializer.v1_16
-
- StyleDeserializer_v1_16() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_16.StyleDeserializer_v1_16
-
- StyleDeserializer_v1_7 - Class in net.lenni0451.mcstructs.text.serializer.v1_7
-
- StyleDeserializer_v1_7(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_7.StyleDeserializer_v1_7
-
- StyleDeserializer_v1_8 - Class in net.lenni0451.mcstructs.text.serializer.v1_8
-
- StyleDeserializer_v1_8(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_8.StyleDeserializer_v1_8
-
- StyleDeserializer_v1_9 - Class in net.lenni0451.mcstructs.text.serializer.v1_9
-
- StyleDeserializer_v1_9(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_9.StyleDeserializer_v1_9
-
- StyleSerializer_v1_12 - Class in net.lenni0451.mcstructs.text.serializer.v1_12
-
- StyleSerializer_v1_12(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_12.StyleSerializer_v1_12
-
- StyleSerializer_v1_16 - Class in net.lenni0451.mcstructs.text.serializer.v1_16
-
- StyleSerializer_v1_16() - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_16.StyleSerializer_v1_16
-
- StyleSerializer_v1_7 - Class in net.lenni0451.mcstructs.text.serializer.v1_7
-
- StyleSerializer_v1_7(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_7.StyleSerializer_v1_7
-
- StyleSerializer_v1_8 - Class in net.lenni0451.mcstructs.text.serializer.v1_8
-
- StyleSerializer_v1_8(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_8.StyleSerializer_v1_8
-
- StyleSerializer_v1_9 - Class in net.lenni0451.mcstructs.text.serializer.v1_9
-
- StyleSerializer_v1_9(SNbt<?>) - Constructor for class net.lenni0451.mcstructs.text.serializer.v1_9.StyleSerializer_v1_9
-
- SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.legacy.ClickEventSerializer
-
- SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_3.StyleCodecs_v1_20_3.ClickEventCodec
-
- SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_20_5.StyleCodecs_v1_20_5.ClickEventCodec
-
- SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_2.StyleCodecs_v1_21_2.ClickEventCodec
-
- SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_4.StyleCodecs_v1_21_4.ClickEventCodec
-
- SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_5.StyleCodecs_v1_21_5.ClickEventCodec
-
- SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_6.StyleCodecs_v1_21_6.ClickEventCodec
-
- SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v1_21_9.StyleCodecs_v1_21_9.ClickEventCodec
-
- SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v26_1.StyleCodecs_v26_1.ClickEventCodec
-
- SUGGEST_COMMAND - Static variable in class net.lenni0451.mcstructs.text.serializer.v26_2.StyleCodecs_v26_2.ClickEventCodec
-
- suggestCommand(String) - Static method in class net.lenni0451.mcstructs.text.events.click.ClickEvent
-
- SuggestCommandClickEvent - Class in net.lenni0451.mcstructs.text.events.click.types
-
- SuggestCommandClickEvent(String) - Constructor for class net.lenni0451.mcstructs.text.events.click.types.SuggestCommandClickEvent
-
- V1_12 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- V1_14 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- V1_15 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- V1_16 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- V1_17 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- V1_18 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- V1_19_4 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- V1_20_3 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
The text codec for 1.20.3.
- V1_20_3 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
The text component serializer for 1.20.3.
- V1_20_5 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
The text codec for 1.20.5.
- V1_20_5 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
The text component serializer for 1.20.5.
- V1_21_2 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
The text codec for 1.21.2.
- V1_21_2 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
The text component serializer for 1.21.2.
- V1_21_4 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
The text codec for 1.21.4.
- V1_21_4 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
The text component serializer for 1.21.4.
- V1_21_5 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
The text codec for 1.21.5.
- V1_21_5 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
The text component serializer for 1.21.5.
- V1_21_6 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
The text codec for 1.21.6.
- V1_21_6 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
The text component serializer for 1.21.6.
- V1_21_9 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
The text codec for 1.21.9.
- V1_21_9 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
The text component serializer for 1.21.6.
- V1_6 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- V1_7 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- V1_8 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- V1_9 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
- V26_1 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
The text codec for 26.1.
- V26_1 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
The text component serializer for 26.1.
- V26_2 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentCodec
-
The text codec for 26.2.
- V26_2 - Static variable in class net.lenni0451.mcstructs.text.serializer.TextComponentSerializer
-
The text component serializer for 26.2.
- valueOf(String) - Static method in enum net.lenni0451.mcstructs.text.events.click.ClickEventAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.lenni0451.mcstructs.text.events.hover.HoverEventAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.lenni0451.mcstructs.text.stringformat.handling.ColorHandling
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.lenni0451.mcstructs.text.utils.DeserializerVersion
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.lenni0451.mcstructs.text.events.click.ClickEventAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.lenni0451.mcstructs.text.events.hover.HoverEventAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.lenni0451.mcstructs.text.stringformat.handling.ColorHandling
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.lenni0451.mcstructs.text.utils.DeserializerVersion
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- vanilla() - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
-
Create a new
VanillaStringFormat.
The color character is set to
'§' and rgb down sampling is disabled.
- vanilla(char) - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
-
Create a new
VanillaStringFormat with the given color character.
The
downsampleRgbColors parameter is set to
false.
- vanilla(boolean) - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
-
Create a new
VanillaStringFormat with the given down sampling parameter.
The color character is set to
'§'.
- vanilla(char, boolean) - Static method in class net.lenni0451.mcstructs.text.stringformat.StringFormat
-
- VanillaStringFormat - Class in net.lenni0451.mcstructs.text.stringformat.matcher
-
A
StringFormat implementation for the vanilla format.
Example:
§a
- VanillaStringFormat(char, boolean) - Constructor for class net.lenni0451.mcstructs.text.stringformat.matcher.VanillaStringFormat
-
- verify(Class<V>, BiPredicate<V, T>, String) - Static method in class net.lenni0451.mcstructs.text.serializer.verify.VerifyingConverter
-
- verify(Class<V>, BiFunction<T, V, Result<Void>>) - Static method in class net.lenni0451.mcstructs.text.serializer.verify.VerifyingConverter
-
- verifyCoordinates(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v26_1.TextVerifier_v26_1
-
- verifyCoordinates(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v26_2.TextVerifier_v26_2
-
- verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_5.TextVerifier_v1_20_5
-
- verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_2.TextVerifier_v1_21_2
-
- verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_4.TextVerifier_v1_21_4
-
- verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_5.TextVerifier_v1_21_5
-
- verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_6.TextVerifier_v1_21_6
-
- verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_9.TextVerifier_v1_21_9
-
- verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v26_1.TextVerifier_v26_1
-
- verifyDataComponents(CompoundTag) - Method in interface net.lenni0451.mcstructs.text.serializer.v26_2.TextVerifier_v26_2
-
- VerifyingConverter<T> - Class in net.lenni0451.mcstructs.text.serializer.verify
-
- VerifyingConverter(DataConverter<T>, TextVerifier) - Constructor for class net.lenni0451.mcstructs.text.serializer.verify.VerifyingConverter
-
- verifyNbtPath(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v26_1.TextVerifier_v26_1
-
- verifyNbtPath(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v26_2.TextVerifier_v26_2
-
- verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.TextVerifier_v1_20_3
-
- verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_5.TextVerifier_v1_20_5
-
- verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_2.TextVerifier_v1_21_2
-
- verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_4.TextVerifier_v1_21_4
-
- verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_5.TextVerifier_v1_21_5
-
- verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_6.TextVerifier_v1_21_6
-
- verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_9.TextVerifier_v1_21_9
-
- verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v26_1.TextVerifier_v26_1
-
- verifyRegistryEntity(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v26_2.TextVerifier_v26_2
-
- verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_3.TextVerifier_v1_20_3
-
- verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_20_5.TextVerifier_v1_20_5
-
- verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_2.TextVerifier_v1_21_2
-
- verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_4.TextVerifier_v1_21_4
-
- verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_5.TextVerifier_v1_21_5
-
- verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_6.TextVerifier_v1_21_6
-
- verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_9.TextVerifier_v1_21_9
-
- verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v26_1.TextVerifier_v26_1
-
- verifyRegistryItem(Identifier) - Method in interface net.lenni0451.mcstructs.text.serializer.v26_2.TextVerifier_v26_2
-
- verifySelector(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_2.TextVerifier_v1_21_2
-
- verifySelector(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_4.TextVerifier_v1_21_4
-
- verifySelector(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_5.TextVerifier_v1_21_5
-
- verifySelector(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_6.TextVerifier_v1_21_6
-
- verifySelector(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v1_21_9.TextVerifier_v1_21_9
-
- verifySelector(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v26_1.TextVerifier_v26_1
-
- verifySelector(String) - Method in interface net.lenni0451.mcstructs.text.serializer.v26_2.TextVerifier_v26_2
-
- VoidVanillaStringFormat - Class in net.lenni0451.mcstructs.text.stringformat.matcher
-
A
StringFormat implementation for the vanilla format without actually reading or writing anything.
It is used to filter out invalid vanilla formatting codes.
- VoidVanillaStringFormat(char) - Constructor for class net.lenni0451.mcstructs.text.stringformat.matcher.VoidVanillaStringFormat
-