Be sure to make to map pedestal be reachable on the map and add blocks so it looks the same to make it work! I hope this helps! Also, keep the MOBEID variable. I changed it to see if I could use it. Note: The mobs seem to spawn all in one group. I'm not sure how to fix that.
Thanks to @SCMC54 for his amazing project!