Multithreading for the entities of different worlds