Class ChatTypes
java.lang.Object
com.github.retrooper.packetevents.protocol.chat.ChatTypes
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ChatType
static final ChatType
static final ChatType
Deprecated.static final ChatType
Deprecated.static final ChatType
static final ChatType
static final ChatType
static final ChatType
static final ChatType
Deprecated.static final ChatType
Deprecated.static final ChatType
static final ChatType
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChatType
static ChatType
define
(String key, ChatTypeDecoration chatDeco) static ChatType
define
(String key, ChatTypeDecoration chatDeco, ChatTypeDecoration narrationDeco) static ChatType
getById
(ClientVersion version, int id) static ChatType
static 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
-