I'm trying to get every entity in an AABB (with EntityJoinWorldEvent#getWorld().getEntitiesWithinAABB()) but it checks for the current dimension or the whole world.
I mean, if a zombie is at x:25, y:64, z:-100 in the nether and call getEntitiesWithinAABB() in the overworld, but where the zombie is in the nether, does the zombie get counted?
And how I can get every Player in a dimension? (e.g. End)