Interface LegacyComponentSerializer.Provider
-
- Enclosing interface:
- LegacyComponentSerializer
@Internal @PlatformAPI public static interface LegacyComponentSerializer.Provider
ALegacyComponentSerializer
service provider.- Since:
- 4.8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.util.function.Consumer<LegacyComponentSerializer.Builder>
legacy()
Completes the building process ofLegacyComponentSerializer.Builder
.@NotNull LegacyComponentSerializer
legacyAmpersand()
Provides aLegacyComponentSerializer
usingLegacyComponentSerializer.AMPERSAND_CHAR
.@NotNull LegacyComponentSerializer
legacySection()
Provides aLegacyComponentSerializer
usingLegacyComponentSerializer.SECTION_CHAR
.
-
-
-
Method Detail
-
legacyAmpersand
@Internal @PlatformAPI @NotNull @NotNull LegacyComponentSerializer legacyAmpersand()
Provides aLegacyComponentSerializer
usingLegacyComponentSerializer.AMPERSAND_CHAR
.- Returns:
- a
LegacyComponentSerializer
- Since:
- 4.8.0
-
legacySection
@Internal @PlatformAPI @NotNull @NotNull LegacyComponentSerializer legacySection()
Provides aLegacyComponentSerializer
usingLegacyComponentSerializer.SECTION_CHAR
.- Returns:
- a
LegacyComponentSerializer
- Since:
- 4.8.0
-
legacy
@Internal @PlatformAPI @NotNull @NotNull java.util.function.Consumer<LegacyComponentSerializer.Builder> legacy()
Completes the building process ofLegacyComponentSerializer.Builder
.- Returns:
- a
Consumer
- Since:
- 4.8.0
-
-