Interface ClientChatEvent.Process

Enclosing interface:
ClientChatEvent

@Environment(CLIENT) public static interface ClientChatEvent.Process
  • Method Summary

    Modifier and Type
    Method
    Description
    process(String message)
    Event to modify the chat message a clients sends.
  • Method Details

    • process

      CompoundEventResult<String> process(String message)
      Event to modify the chat message a clients sends. Equivalent to Forge's ClientChatEvent event.
      Parameters:
      message - The raw chat message the client wants to send.
      Returns:
      A CompoundEventResult determining the outcome of the event, if an outcome is set, the sent message is overridden.