public static interface ComponentBuilder.Joiner
Modifier and Type | Method and Description |
---|---|
ComponentBuilder |
join(ComponentBuilder componentBuilder,
ComponentBuilder.FormatRetention retention)
Joins additional components to the provided
ComponentBuilder
and then returns it to fulfill a chain pattern. |
ComponentBuilder join(ComponentBuilder componentBuilder, ComponentBuilder.FormatRetention retention)
ComponentBuilder
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.componentBuilder
- to which to append additional componentsretention
- the formatting to possibly retainCopyright © 2012–2021 SpigotMC. All rights reserved.