Interface MatchContext.ChatMatchContext
- All Superinterfaces:
MatchContext
- Enclosing interface:
MatchContext
An extension of MatchContext that has the player sending the message. Meant to be used for serverside chat matching.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.samsthenerd.inline.api.matching.MatchContext
MatchContext.ChatMatchContext
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.server.network.ServerPlayerEntity
of
(net.minecraft.server.network.ServerPlayerEntity player, net.minecraft.text.Text originalMessage) Methods inherited from interface com.samsthenerd.inline.api.matching.MatchContext
addMatch, finalToOrig, freeze, getFinalMatches, getFinalStyledText, getFinalText, getMatchableText, getMatches, getOriginalText, getUnmatchedSequences, isFrozen, origToFinal
-
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)
-