public enum BuiltinChatType extends Enum<BuiltinChatType>
| Enum Constant and Description |
|---|
CHAT |
EMOTE_COMMAND |
GAME_INFO |
MSG_COMMAND |
SAY_COMMAND |
SYSTEM |
TEAM_MSG_COMMAND |
TELLRAW_COMMAND |
| Modifier and Type | Method and Description |
|---|---|
static BuiltinChatType |
from(String resourceLocation) |
String |
getResourceLocation() |
static BuiltinChatType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuiltinChatType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuiltinChatType CHAT
public static final BuiltinChatType SYSTEM
public static final BuiltinChatType GAME_INFO
public static final BuiltinChatType SAY_COMMAND
public static final BuiltinChatType MSG_COMMAND
public static final BuiltinChatType TEAM_MSG_COMMAND
public static final BuiltinChatType EMOTE_COMMAND
public static final BuiltinChatType TELLRAW_COMMAND
public static BuiltinChatType[] values()
for (BuiltinChatType c : BuiltinChatType.values()) System.out.println(c);
public static BuiltinChatType 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 String getResourceLocation()
public static BuiltinChatType from(String resourceLocation)
Copyright © 2022. All rights reserved.