Interface ClientReceiveMessageEvents.ChatCanceled
- Enclosing class:
ClientReceiveMessageEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onReceiveChatMessageCanceled
(Text message, @Nullable SignedMessage signedMessage, @Nullable com.mojang.authlib.GameProfile sender, MessageType.Parameters params, Instant receptionTimestamp) Called when receiving a chat message is canceled withClientReceiveMessageEvents.ALLOW_CHAT
.
-
Method Details
-
onReceiveChatMessageCanceled
void onReceiveChatMessageCanceled(Text message, @Nullable @Nullable SignedMessage signedMessage, @Nullable @Nullable com.mojang.authlib.GameProfile sender, MessageType.Parameters params, Instant receptionTimestamp) Called when receiving a chat message is canceled withClientReceiveMessageEvents.ALLOW_CHAT
.- Parameters:
message
- the message received from the serversignedMessage
- the signed message received from the server (nullable)sender
- the sender of the message (nullable)params
- the parameters of the messagereceptionTimestamp
- the timestamp when the message was received
-