Uses of Interface
net.kyori.adventure.text.flattener.ComponentFlattener
Packages that use ComponentFlattener
Package
Description
Flatteners to convert component trees into linear strings.
Serialization to ANSI escape sequences.
Legacy text based serialization and deserialization.
Plain text based serialization and deserialization.
-
Uses of ComponentFlattener in net.kyori.adventure.text.flattener
Subinterfaces with type arguments of type ComponentFlattener in net.kyori.adventure.text.flattenerModifier and TypeInterfaceDescriptionstatic interfaceA builder for a component flattener.Methods in net.kyori.adventure.text.flattener that return ComponentFlattenerModifier and TypeMethodDescriptionstatic ComponentFlattenerComponentFlattener.basic()A basic flattener that will print only information directly contained in components.static ComponentFlattenerComponentFlattener.textOnly()A component flattener that will only handle text components. -
Uses of ComponentFlattener in net.kyori.adventure.text.serializer.ansi
Methods in net.kyori.adventure.text.serializer.ansi with parameters of type ComponentFlattenerModifier and TypeMethodDescriptionANSIComponentSerializer.Builder.flattener(ComponentFlattener componentFlattener) Sets the component flattener instance to use when traversing the component for serialization. -
Uses of ComponentFlattener in net.kyori.adventure.text.serializer.legacy
Methods in net.kyori.adventure.text.serializer.legacy with parameters of type ComponentFlattenerModifier and TypeMethodDescriptionLegacyComponentSerializer.Builder.flattener(ComponentFlattener flattener) Use this component flattener to convert components into plain text. -
Uses of ComponentFlattener in net.kyori.adventure.text.serializer.plain
Methods in net.kyori.adventure.text.serializer.plain with parameters of type ComponentFlattenerModifier and TypeMethodDescriptionPlainTextComponentSerializer.Builder.flattener(ComponentFlattener flattener) Set the component flattener to use.