Add worldId to the entity structure.