Interface ANSIComponentSerializer
- 
- All Superinterfaces:
- ComponentEncoder<Component,java.lang.String>
 
 public interface ANSIComponentSerializer extends ComponentEncoder<Component,java.lang.String> A serializer which emits ANSI escape sequences.Note that this serializer does NOT support deserialization. - Since:
- 4.14.0
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceANSIComponentSerializer.BuilderA builder for the ANSI component serializer.static interfaceANSIComponentSerializer.ProviderAANSIComponentSerializerservice provider.
 - 
Method SummaryStatic Methods Modifier and Type Method Description static @NotNull ANSIComponentSerializeransi()Gets a component serializer for serialization to a string using ANSI escape codes.static @NotNull ANSIComponentSerializer.Builderbuilder()Create a new builder.- 
Methods inherited from interface net.kyori.adventure.text.serializer.ComponentEncoderserialize, serializeOr, serializeOrNull
 
- 
 
- 
- 
- 
Method Detail- 
ansi@NotNull static @NotNull ANSIComponentSerializer ansi() Gets a component serializer for serialization to a string using ANSI escape codes.Note that this serializer does NOT support deserialization. - Returns:
- a component serializer for serialization with ANSI escape sequences.
- Since:
- 4.14.0
 
 - 
builderstatic @NotNull ANSIComponentSerializer.Builder builder() Create a new builder.- Returns:
- a new ANSI serializer builder
- Since:
- 4.14.0
 
 
- 
 
-