public static enum AbstractTextComponent.TextComponentContext.MessageLevel extends Enum<AbstractTextComponent.TextComponentContext.MessageLevel>
| Modifier and Type | Method and Description | 
|---|---|
| static AbstractTextComponent.TextComponentContext.MessageLevel | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static AbstractTextComponent.TextComponentContext.MessageLevel[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AbstractTextComponent.TextComponentContext.MessageLevel INFO
public static final AbstractTextComponent.TextComponentContext.MessageLevel WARN
public static final AbstractTextComponent.TextComponentContext.MessageLevel ERROR
public static AbstractTextComponent.TextComponentContext.MessageLevel[] values()
for (AbstractTextComponent.TextComponentContext.MessageLevel c : AbstractTextComponent.TextComponentContext.MessageLevel.values()) System.out.println(c);
public static AbstractTextComponent.TextComponentContext.MessageLevel 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 nullCopyright © 2022. All rights reserved.