Interface ClientSystemMessageEvent.Received
- Enclosing interface:
- ClientSystemMessageEvent
@Environment(CLIENT)
public static interface ClientSystemMessageEvent.Received
-
Method Summary
Modifier and TypeMethodDescriptionCompoundEventResult<net.minecraft.network.chat.Component>
process
(net.minecraft.network.chat.Component message) Event to intercept the receiving of a system message.
-
Method Details
-
process
CompoundEventResult<net.minecraft.network.chat.Component> process(net.minecraft.network.chat.Component message) Event to intercept the receiving of a system message. Invoked as soon as the client receives the system message packet.- Parameters:
message
- The chat message.- Returns:
- A
CompoundEventResult
determining the outcome of the event, if an outcome is set, the received message is overridden.
-