Interface LegacyComponentSerializer.Provider
-
- Enclosing interface:
- LegacyComponentSerializer
@Internal 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 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 @NotNull @NotNull LegacyComponentSerializer legacyAmpersand()
Provides aLegacyComponentSerializer
usingLegacyComponentSerializer.AMPERSAND_CHAR
.- Returns:
- a
LegacyComponentSerializer
- Since:
- 4.8.0
-
legacySection
@Internal @NotNull @NotNull LegacyComponentSerializer legacySection()
Provides aLegacyComponentSerializer
usingLegacyComponentSerializer.SECTION_CHAR
.- Returns:
- a
LegacyComponentSerializer
- Since:
- 4.8.0
-
legacy
@Internal @NotNull @NotNull Consumer<LegacyComponentSerializer.Builder> legacy()
Completes the building process ofLegacyComponentSerializer.Builder
.- Returns:
- a
Consumer
- Since:
- 4.8.0
-
-