So I'm trying to make a command that just simply checks if there's any object at a specific location.
for (Object obj : getObjectsAt(300, 200, Actor.class)) { if (obj instanceof Player) { // do something -- for example ... ((Player) obj).setHealth(100); } }