public @ NonNull SelectorComponent pattern ( final @ NonNull String pattern ) { return new SelectorComponent ( this . children , this . color , this . obfuscated , this . bold , this . strikethrough , this . underlined , this . italic , this . clickEvent , this . hoverEvent , this . insertion , requireNonNull ( pattern , "pattern" ) ) ; }
Sets the selector pattern .