You're using the getEntitiesWithinAABBExcludingEntity() method. The reason it says "excluding entity" means that it does not include that entity. In your code it is excluding the exploder but I'm not sure what entity you're passing to that. If you're passing the player then the player would not be affected.
I have a custom explosion class
Class
in doExplosionA the player takes no damage or is not set in motion while all other entities are? Why?
You're using the getEntitiesWithinAABBExcludingEntity() method. The reason it says "excluding entity" means that it does not include that entity. In your code it is excluding the exploder but I'm not sure what entity you're passing to that. If you're passing the player then the player would not be affected.
Passing null instead of exploder did it. Thanks