Interface PlainComponentSerializer.Builder
-
- All Superinterfaces:
AbstractBuilder<PlainComponentSerializer>
,Buildable.Builder<PlainComponentSerializer>
- Enclosing class:
- PlainComponentSerializer
@ScheduledForRemoval(inVersion="5.0.0") @Deprecated public static interface PlainComponentSerializer.Builder extends AbstractBuilder<PlainComponentSerializer>, Buildable.Builder<PlainComponentSerializer>
Deprecated.for removal since 4.8.0, usePlainTextComponentSerializer.Builder
insteadA 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.Builder
flattener(@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
@ScheduledForRemoval(inVersion="5.0.0") @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
-
-