Interface LegacyComponentSerializer.Provider
- Enclosing interface:
- LegacyComponentSerializer
A
LegacyComponentSerializer
service provider.- Since:
- 4.8.0
-
Method Summary
Modifier and TypeMethodDescription@NotNull Consumer<LegacyComponentSerializer.Builder>
legacy()
Completes the building process ofLegacyComponentSerializer.Builder
.@NotNull LegacyComponentSerializer
Provides aLegacyComponentSerializer
usingLegacyComponentSerializer.AMPERSAND_CHAR
.@NotNull LegacyComponentSerializer
Provides aLegacyComponentSerializer
usingLegacyComponentSerializer.SECTION_CHAR
.
-
Method Details
-
legacyAmpersand
Provides aLegacyComponentSerializer
usingLegacyComponentSerializer.AMPERSAND_CHAR
.- Returns:
- a
LegacyComponentSerializer
- Since:
- 4.8.0
-
legacySection
Provides aLegacyComponentSerializer
usingLegacyComponentSerializer.SECTION_CHAR
.- Returns:
- a
LegacyComponentSerializer
- Since:
- 4.8.0
-
legacy
Completes the building process ofLegacyComponentSerializer.Builder
.- Returns:
- a
Consumer
- Since:
- 4.8.0
-