Place the black peppercorns, mixed peppercorns, star anise, and dried red chilies into a dry skillet.
Toast over medium heat for 3 to 5 minutes, shaking the pan frequently, until the spices are highly fragrant. Remove from heat and let cool.
Grind the toasted spices into a fine powder using a spice grinder or a mortar and pestle.
In a bowl, mix the freshly ground spices with the red chili powder, dried green herbs, sea salt, ground spices, and dried thyme.
Transfer the dry spice mixture into a food processor. Add the fresh basil, fresh rosemary leaves, garlic cloves, lemon zest, lavender flowers, and fresh parsley.
Pulse until the mixture forms a coarse, damp paste. Apply immediately as a seasoning rub to meats or vegetables.