First of all: This is for a Minigame! My Question: Is there a way to get these Air Bubbles while playing normal MCPE. You are walking on dirt, stone, grass....... And if you go under water the Air Bubbles are away. So you twist the 2 options. I hope you understand^^ Have a nice day.
Yes, there is away. But the problem is, that it only lasts a split second. The water bubble particle isn’t meant to be above water, so it doesn’t last as long. It disappears as suddenly as you spawn the particle. I advise looking into other particles
I have a feeling that he could be talking about the air bubbles which appear in the ui as soon as you dive into water and which indicate how much air you have left
You'll need to overwrite Entity::isInsideOfWater() probably through PlayerCreationEvent, then invert the bool vaules you get from isInsideOfWater().