Package net.minecraftforge.client.event
Class ClientChatReceivedEvent.System
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ClientChatReceivedEvent
net.minecraftforge.client.event.ClientChatReceivedEvent.System
- Enclosing class:
- ClientChatReceivedEvent
Fired when a system chat message is received on the client.
 
This event is cancellable, and does not have a result. If the event is cancelled, the message is not displayed in the chat message window or in the overlay.
This event is fired on the main Forge event bus, only on the logical client.
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraftforge.client.event.ClientChatReceivedEventClientChatReceivedEvent.Player, ClientChatReceivedEvent.SystemNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Eventnet.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns whether the message goes to the overlay.Methods inherited from class net.minecraftforge.client.event.ClientChatReceivedEventgetBoundChatType, getMessage, getSender, isSystem, setMessageMethods inherited from class net.minecraftforge.eventbus.api.EventgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
- 
Field Details- 
overlayprivate final boolean overlay
 
- 
- 
Constructor Details- 
System
 
- 
- 
Method Details- 
isOverlaypublic boolean isOverlay()Returns whether the message goes to the overlay.- Returns:
- whether the message goes to the overlay
 
 
-