类 ClientChatReceivedEvent.Player

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ClientChatReceivedEvent
net.minecraftforge.client.event.ClientChatReceivedEvent.Player
封闭类:
ClientChatReceivedEvent

public static class ClientChatReceivedEvent.Player extends ClientChatReceivedEvent
Fired when a player 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.

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

另请参阅:
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • getPlayerChatMessage

      public PlayerChatMessage getPlayerChatMessage()
      返回 the full player chat message。. This contains the sender UUID, various signing data, and the optional unsigned contents.
      返回:
      the full player chat message