类 ClientChatReceivedEvent.System
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ClientChatReceivedEvent
net.minecraftforge.client.event.ClientChatReceivedEvent.System
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.
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.client.event.ClientChatReceivedEvent
ClientChatReceivedEvent.Player, ClientChatReceivedEvent.System
从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraftforge.client.event.ClientChatReceivedEvent
getBoundChatType, getMessage, getSender, isSystem, setMessage
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
overlay
private final boolean overlay
-
-
构造器详细资料
-
System
-
-
方法详细资料
-
isOverlay
public boolean isOverlay()返回 whether the message goes to the overlay。- 返回:
- whether the message goes to the overlay
-