code: private void allChildrenRecursive(Entity e, List<Entity> result) {
          for (Entity child : e.getChildren()) {
              result.add(child);
              allChildrenRecursive(child, result);
          }
      }
docs: rapid patch