Interface SentMessage

All Known Implementing Classes:
SentMessage.Chat, SentMessage.Profileless

public interface SentMessage
A class wrapping SignedMessage on the server to allow custom behavior for sending messages.
Mappings:
Namespace Name
official tk
intermediary net/minecraft/class_7604
named net/minecraft/network/message/SentMessage
  • Method Details

    • getContent

      Text getContent()
      Mappings:
      Namespace Name Mixin selector
      official a Ltk;a()Lsw;
      intermediary comp_1081 Lnet/minecraft/class_7604;comp_1081()Lnet/minecraft/class_2561;
      named getContent Lnet/minecraft/network/message/SentMessage;getContent()Lnet/minecraft/text/Text;
    • send

      void send(ServerPlayerEntity sender, boolean filterMaskEnabled, MessageType.Parameters params)
      Mappings:
      Namespace Name Mixin selector
      official a Ltk;a(Laig;ZLss$a;)V
      intermediary method_45095 Lnet/minecraft/class_7604;method_45095(Lnet/minecraft/class_3222;ZLnet/minecraft/class_2556$class_7602;)V
      named send Lnet/minecraft/network/message/SentMessage;send(Lnet/minecraft/server/network/ServerPlayerEntity;ZLnet/minecraft/network/message/MessageType$Parameters;)V
    • of

      static SentMessage of(SignedMessage message)
      Returns the wrapped message.
      Returns:
      the wrapped message
      Mappings:
      Namespace Name Mixin selector
      official a Ltk;a(Ltl;)Ltk;
      intermediary method_44857 Lnet/minecraft/class_7604;method_44857(Lnet/minecraft/class_7471;)Lnet/minecraft/class_7604;
      named of Lnet/minecraft/network/message/SentMessage;of(Lnet/minecraft/network/message/SignedMessage;)Lnet/minecraft/network/message/SentMessage;