Interface MatchContext.ChatMatchContext

All Superinterfaces:
MatchContext
Enclosing interface:
MatchContext

public static interface MatchContext.ChatMatchContext extends MatchContext
An extension of MatchContext that has the player sending the message. Meant to be used for serverside chat matching.
  • Method Details

    • getChatSender

      net.minecraft.server.network.ServerPlayerEntity getChatSender()
    • of

      static MatchContext.ChatMatchContext of(net.minecraft.server.network.ServerPlayerEntity player, net.minecraft.text.Text originalMessage)