forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 72
Condition Name Pattern
JasperLorelai edited this page Feb 21, 2025
·
1 revision
Modifier condition: namepattern
Property | Value |
---|---|
Has Entity Target | true |
Has Location Target | false |
Passes if the entity's name, or the player's username or display name matches the regex pattern specified.
String Format Options:
Arguments:
-
pattern
- Java regex pattern
- namepattern (pattern) [modifier action]
Section Format Options:
(Unsupported for now.)