| Package | Description |
|---|---|
| net.md_5.bungee.api.chat |
| Modifier and Type | Method and Description |
|---|---|
ComponentBuilder |
ComponentBuilder.append(BaseComponent component)
Appends a component to the builder and makes it the current target for
formatting.
|
ComponentBuilder |
ComponentBuilder.append(BaseComponent[] components)
Appends the components to the builder and makes the last element the
current target for formatting.
|
ComponentBuilder |
ComponentBuilder.append(BaseComponent[] components,
ComponentBuilder.FormatRetention retention)
Appends the components to the builder and makes the last element the
current target for formatting.
|
ComponentBuilder |
ComponentBuilder.append(BaseComponent component,
ComponentBuilder.FormatRetention retention)
Appends a component to the builder and makes it the current target for
formatting.
|
ComponentBuilder |
ComponentBuilder.append(ComponentBuilder.Joiner joiner)
Allows joining additional components to this builder using the given
ComponentBuilder.Joiner and ComponentBuilder.FormatRetention.ALL. |
ComponentBuilder |
ComponentBuilder.append(ComponentBuilder.Joiner joiner,
ComponentBuilder.FormatRetention retention)
Allows joining additional components to this builder using the given
ComponentBuilder.Joiner. |
ComponentBuilder |
ComponentBuilder.append(String text)
Appends the text to the builder and makes it the current target for
formatting.
|
ComponentBuilder |
ComponentBuilder.append(String text,
ComponentBuilder.FormatRetention retention)
Appends the text to the builder and makes it the current target for
formatting.
|
ComponentBuilder |
ComponentBuilder.appendLegacy(String text)
Parse text to BaseComponent[] with colors and format, appends the text to
the builder and makes it the current target for formatting.
|
ComponentBuilder |
ComponentBuilder.bold(boolean bold)
Sets whether the current part is bold.
|
ComponentBuilder |
ComponentBuilder.color(ChatColor color)
Sets the color of the current part.
|
ComponentBuilder |
ComponentBuilder.event(ClickEvent clickEvent)
Sets the click event for the current part.
|
ComponentBuilder |
ComponentBuilder.event(HoverEvent hoverEvent)
Sets the hover event for the current part.
|
ComponentBuilder |
ComponentBuilder.insertion(String insertion)
Sets the insertion text for the current part.
|
ComponentBuilder |
ComponentBuilder.italic(boolean italic)
Sets whether the current part is italic.
|
ComponentBuilder |
ComponentBuilder.Joiner.join(ComponentBuilder componentBuilder,
ComponentBuilder.FormatRetention retention)
Joins additional components to the provided
ComponentBuilder
and then returns it to fulfill a chain pattern. |
ComponentBuilder |
ComponentBuilder.obfuscated(boolean obfuscated)
Sets whether the current part is obfuscated.
|
ComponentBuilder |
ComponentBuilder.reset()
Sets the current part back to normal settings.
|
ComponentBuilder |
ComponentBuilder.retain(ComponentBuilder.FormatRetention retention)
Retains only the specified formatting.
|
ComponentBuilder |
ComponentBuilder.strikethrough(boolean strikethrough)
Sets whether the current part is strikethrough.
|
ComponentBuilder |
ComponentBuilder.underlined(boolean underlined)
Sets whether the current part is underlined.
|
| Modifier and Type | Method and Description |
|---|---|
ComponentBuilder |
ComponentBuilder.Joiner.join(ComponentBuilder componentBuilder,
ComponentBuilder.FormatRetention retention)
Joins additional components to the provided
ComponentBuilder
and then returns it to fulfill a chain pattern. |
| Constructor and Description |
|---|
ComponentBuilder(ComponentBuilder original)
Creates a ComponentBuilder from the other given ComponentBuilder to clone
it.
|
Copyright © 2015–2019 WaterfallMC. All rights reserved.