Package | Description |
---|---|
net.md_5.bungee.api.chat |
Modifier and Type | Method and Description |
---|---|
static ComponentBuilder.FormatRetention |
ComponentBuilder.FormatRetention.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentBuilder.FormatRetention[] |
ComponentBuilder.FormatRetention.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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,
ComponentBuilder.FormatRetention retention)
Allows joining additional components to this builder using the given
ComponentBuilder.Joiner . |
ComponentBuilder |
ComponentBuilder.append(String text,
ComponentBuilder.FormatRetention retention)
Appends the text to the builder and makes it the current target for
formatting.
|
void |
BaseComponent.copyFormatting(BaseComponent component,
ComponentBuilder.FormatRetention retention,
boolean replace)
Copies the specified formatting of a BaseComponent.
|
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.retain(ComponentBuilder.FormatRetention retention)
Retains only the specified formatting.
|
void |
BaseComponent.retain(ComponentBuilder.FormatRetention retention)
Retains only the specified formatting.
|
Copyright © 2012–2020 SpigotMC. All rights reserved.