@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() |
boolean |
equals(Object o) |
String |
getText() |
ComponentType |
getType() |
int |
hashCode() |
static TextComponent.Builder |
newTextComponent() |
static TextComponent.Builder |
newTextComponent(TextComponent source) |
protected TextComponent(TextComponent.Builder builder)
public static TextComponent.Builder newTextComponent()
public static TextComponent.Builder newTextComponent(TextComponent source)
public TextComponent copy()
public ComponentType getType()
public String getText()