Hi. I'm trying to execute a command as every entity in the world. However when using world.getDimension.getEntities. This creates an array that cant be used immediately with runCommandAsync. I want to know how I could use the array or use an alternative method to execute as every entity
(I also need to make particles spawn in a circle, but thats an entirely bigger problem)