Package net.kyori.adventure.chat
Interface ChatType
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceChatType.BoundA boundChatType.
 - 
Field SummaryFields Modifier and Type Field Description static ChatTypeCHATA chat message from a player.static ChatTypeEMOTE_COMMANDA message sent as a result of using the/mecommand.static ChatTypeMSG_COMMAND_INCOMINGA message received as a result of using the/msgcommand.static ChatTypeMSG_COMMAND_OUTGOINGA message sent as a result of using the/msgcommand.static ChatTypeSAY_COMMANDA message send as a result of using the/saycommand.static ChatTypeTEAM_MSG_COMMAND_INCOMINGA message received as a result of using the/teammsgcommand.static ChatTypeTEAM_MSG_COMMAND_OUTGOINGA message sent as a result of using the/teammsgcommand.
 - 
Method SummaryAll Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default @NotNull ChatType.Boundbind(@NotNull ComponentLike name)Creates a bound chat type with a nameComponent.default @NotNull ChatType.Boundbind(@NotNull ComponentLike name, @Nullable ComponentLike target)Creates a bound chat type with a name and targetComponent.static @NotNull ChatTypechatType(@NotNull Keyed key)Creates a new chat type with a given key.default @NotNull java.util.stream.Stream<? extends net.kyori.examination.ExaminableProperty>examinableProperties()
 
- 
- 
- 
Field Detail- 
CHATstatic final ChatType CHAT A chat message from a player.- Since:
- 4.12.0
- Since Minecraft:
- 1.19
 
 - 
SAY_COMMANDstatic final ChatType SAY_COMMAND A message send as a result of using the/saycommand.- Since:
- 4.12.0
- Since Minecraft:
- 1.19
 
 - 
MSG_COMMAND_INCOMINGstatic final ChatType MSG_COMMAND_INCOMING A message received as a result of using the/msgcommand.- Since:
- 4.12.0
- Since Minecraft:
- 1.19
 
 - 
MSG_COMMAND_OUTGOINGstatic final ChatType MSG_COMMAND_OUTGOING A message sent as a result of using the/msgcommand.- Since:
- 4.12.0
- Since Minecraft:
- 1.19
 
 - 
TEAM_MSG_COMMAND_INCOMINGstatic final ChatType TEAM_MSG_COMMAND_INCOMING A message received as a result of using the/teammsgcommand.- Since:
- 4.12.0
- Since Minecraft:
- 1.19
 
 - 
TEAM_MSG_COMMAND_OUTGOINGstatic final ChatType TEAM_MSG_COMMAND_OUTGOING A message sent as a result of using the/teammsgcommand.- Since:
- 4.12.0
- Since Minecraft:
- 1.19
 
 - 
EMOTE_COMMANDstatic final ChatType EMOTE_COMMAND A message sent as a result of using the/mecommand.- Since:
- 4.12.0
- Since Minecraft:
- 1.19
 
 
- 
 - 
Method Detail- 
chatType@NotNull static @NotNull ChatType chatType(@NotNull @NotNull Keyed key) Creates a new chat type with a given key.- Parameters:
- key- the key
- Returns:
- the chat type
- Since:
- 4.12.0
 
 - 
bind@Contract(value="_ -> new", pure=true) default @NotNull ChatType.Bound bind(@NotNull @NotNull ComponentLike name)Creates a bound chat type with a nameComponent.- Parameters:
- name- the name component
- Returns:
- a new bound chat type
- Since:
- 4.12.0
- Since Minecraft:
- 1.19
 
 - 
bind@Contract(value="_, _ -> new", pure=true) default @NotNull ChatType.Bound bind(@NotNull @NotNull ComponentLike name, @Nullable @Nullable ComponentLike target)Creates a bound chat type with a name and targetComponent.- Parameters:
- name- the name component
- target- the optional target component
- Returns:
- a new bound chat type
- Since:
- 4.12.0
- Since Minecraft:
- 1.19
 
 - 
examinableProperties@NotNull default @NotNull java.util.stream.Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties() - Specified by:
- examinablePropertiesin interface- net.kyori.examination.Examinable
 
 
- 
 
-