Is it possible to make a trigger that causes a sequence of left mouse clicks?

I'm trying to make a touchbar "macro" that (action) sends a sequence of left-mouse clicks (3) to a java app (minecraft)

Can anyone point me toward a solution??


You can just add 3 leftclick actions to any trigger (if necessary you can add some delay between them)