The Minecraft client doesn’t set an app_id, it’s empty. So I’ve been using this:
[class = // title = /^Minecraft .+/] # Minecraft
This should (correct me if I’m wrong 😬) match an empty app_id (for Wayland) or class (for X11). Instead it matches any app_id/class. Especially notorious with browser windows.
As a workaround I’m using class != /.+/ for now, but I believe the above behaviour to be unintended.