@Beta public class TextComponent extends Component
Modifier and Type | Class and Description |
---|---|
static class |
TextComponent.Builder |
Modifier | Constructor and Description |
---|---|
protected |
TextComponent(TextComponent.Builder builder) |
Modifier and Type | Method and Description |
---|---|
TextComponent |
copy() |
static TextComponent.Builder |
create() |
static TextComponent.Builder |
create(TextComponent source) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getText() |
ComponentType |
getType() |
int |
hashCode() |
protected TextComponent(TextComponent.Builder builder)
public static TextComponent.Builder create()
public static TextComponent.Builder create(TextComponent source)
public TextComponent copy()
public ComponentType getType()
public java.lang.String getText()