public static enum TextComponent.Alignment extends Enum<TextComponent.Alignment>
Modifier and Type | Method and Description |
---|---|
double |
getXScale() |
static TextComponent.Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextComponent.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextComponent.Alignment RIGHT
public static final TextComponent.Alignment CENTER
public static final TextComponent.Alignment LEFT
public static TextComponent.Alignment[] values()
for (TextComponent.Alignment c : TextComponent.Alignment.values()) System.out.println(c);
public static TextComponent.Alignment valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic double getXScale()
Copyright © 2021. All rights reserved.