Use a procedure instead of an iterator when ticking block components