Interface PlainComponentSerializer.Builder
-
- All Superinterfaces:
Buildable.Builder<PlainComponentSerializer>
- Enclosing class:
- PlainComponentSerializer
@Deprecated public static interface PlainComponentSerializer.Builder extends Buildable.Builder<PlainComponentSerializer>
Deprecated.for removal since 4.8.0, usePlainTextComponentSerializer.BuilderinsteadA builder for the plain component serializer.- Since:
- 4.7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @NotNull PlainComponentSerializer.Builderflattener(@NotNull ComponentFlattener flattener)Deprecated.for removal since 4.8.0, usePlainTextComponentSerializer.Builder.flattener(ComponentFlattener)instead-
Methods inherited from interface net.kyori.adventure.util.Buildable.Builder
build
-
-
-
-
Method Detail
-
flattener
@Deprecated @NotNull @NotNull PlainComponentSerializer.Builder flattener(@NotNull @NotNull ComponentFlattener flattener)
Deprecated.for removal since 4.8.0, usePlainTextComponentSerializer.Builder.flattener(ComponentFlattener)insteadSet the component flattener to use.The default flattener is
ComponentFlattener.basic()modified to throw exceptions on unknown component types.- Parameters:
flattener- the new flattener- Returns:
- this builder
- Since:
- 4.7.0
-
-