Package net.md_5.bungee.api.chat
Interface ComponentBuilder.Joiner
- Enclosing class:
- ComponentBuilder
public static interface ComponentBuilder.Joiner
Functional interface to join additional components to a ComponentBuilder.
-
Method Summary
Modifier and TypeMethodDescriptionjoin
(ComponentBuilder componentBuilder, ComponentBuilder.FormatRetention retention) Joins additional components to the providedComponentBuilder
and then returns it to fulfill a chain pattern.
-
Method Details
-
join
ComponentBuilder join(ComponentBuilder componentBuilder, ComponentBuilder.FormatRetention retention) Joins additional components to the providedComponentBuilder
and then returns it to fulfill a chain pattern. Retention may be ignored and is to be understood as an optional recommendation to the Joiner and not as a guarantee to have a previous component in builder unmodified.- Parameters:
componentBuilder
- to which to append additional componentsretention
- the formatting to possibly retain- Returns:
- input componentBuilder for chaining
-