Package net.kyori.adventure.key
Annotation Type KeyPattern
-
@Documented @Pattern("(?:([a-z0-9_\\-.]+:)?|:)[a-z0-9_\\-./]+") @Retention(CLASS) @Target({FIELD,LOCAL_VARIABLE,METHOD,PARAMETER}) public @interface KeyPatternAn annotation used to annotate elements that must match against a validKeypattern.- Since:
- 4.14.0