Package com.petarmc.lib.chat
Interface ChatMatchHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for handling chat pattern matches.
-
Method Summary
-
Method Details
-
onMatch
Called when a chat message matches a registered pattern.- Parameters:
match- The match data containing the original message and captured groups
-