Uses of Interface
net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer.Builder
-
Uses of LegacyComponentSerializer.Builder in net.kyori.adventure.text.serializer.legacy
Methods in net.kyori.adventure.text.serializer.legacy that return LegacyComponentSerializer.BuilderModifier and TypeMethodDescriptionLegacyComponentSerializer.builder()Creates a newLegacyComponentSerializer.Builder.LegacyComponentSerializer.Builder.character(char legacyCharacter) Sets the legacy character used by the serializer.LegacyComponentSerializer.Builder.extractUrls()Sets that the serializer should extract URLs intoClickEvents when deserializing.LegacyComponentSerializer.Builder.extractUrls(Pattern pattern) Sets that the serializer should extract URLs intoClickEvents when deserializing.LegacyComponentSerializer.Builder.extractUrls(Pattern pattern, @Nullable Style style) Sets that the serializer should extract URLs intoClickEvents when deserializing.LegacyComponentSerializer.Builder.extractUrls(@Nullable Style style) Sets that the serializer should extract URLs intoClickEvents when deserializing.LegacyComponentSerializer.Builder.flattener(ComponentFlattener flattener) Use this component flattener to convert components into plain text.LegacyComponentSerializer.Builder.formats(List<CharacterAndFormat> formats) Sets the formats to use.LegacyComponentSerializer.Builder.hexCharacter(char legacyHexCharacter) Sets the legacy hex character used by the serializer.LegacyComponentSerializer.Builder.hexColors()Sets that the serializer should support hex colors.LegacyComponentSerializer.toBuilder()Creates a new builder from this serializer.LegacyComponentSerializer.Builder.useUnusualXRepeatedCharacterHexFormat()Sets that the serializer should use the '&x' repeated code format when serializing hex colors.Methods in net.kyori.adventure.text.serializer.legacy that return types with arguments of type LegacyComponentSerializer.BuilderModifier and TypeMethodDescriptionLegacyComponentSerializer.Provider.legacy()Completes the building process ofLegacyComponentSerializer.Builder.