Class ChatTypes
java.lang.Object
com.github.retrooper.packetevents.protocol.chat.ChatTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChatTypestatic final ChatTypestatic final ChatTypeDeprecated.static final ChatTypeDeprecated.static final ChatTypestatic final ChatTypestatic final ChatTypestatic final ChatTypestatic final ChatTypeDeprecated.static final ChatTypeDeprecated.static final ChatTypestatic final ChatType -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatTypestatic ChatTypedefine(String key, ChatTypeDecoration chatDeco) static ChatTypedefine(String key, ChatTypeDecoration chatDeco, ChatTypeDecoration narrationDeco) static ChatTypegetById(ClientVersion version, int id) static ChatTypestatic VersionedRegistry<ChatType> static Collection<ChatType> values()Returns an immutable view of the chat types.
-
Field Details
-
CHAT
-
SAY_COMMAND
-
MSG_COMMAND_INCOMING
-
MSG_COMMAND_OUTGOING
-
TEAM_MSG_COMMAND_INCOMING
-
TEAM_MSG_COMMAND_OUTGOING
-
EMOTE_COMMAND
-
RAW
-
SYSTEM
Deprecated. -
GAME_INFO
Deprecated. -
MSG_COMMAND
Deprecated. -
TEAM_MSG_COMMAND
Deprecated.
-
-
Method Details
-
define
-
define
-
define
@Internal public static ChatType define(String key, ChatTypeDecoration chatDeco, ChatTypeDecoration narrationDeco) -
getRegistry
-
getByName
-
getById
-
values
Returns an immutable view of the chat types.- Returns:
- Chat Types
-