Class ServerChatEvent.Submitted

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.ServerChatEvent
net.minecraftforge.event.ServerChatEvent.Submitted
Enclosing class:
ServerChatEvent

public static class ServerChatEvent.Submitted extends ServerChatEvent
This event is fired whenever a ServerboundChatPacket is received from a client who has submitted their chat message.

This event is cancellable, and does not have a result. If the event is cancelled, the message will not be sent to clients.

This event is fired on the main Forge event bus, only on the logical server.

  • Constructor Details