MCreator Addons Creation
Installation
First install MCreator 2024.3 and install this plugin
Project creation
Create a 1.20.1 Forge project. On the bottom click ressources -> Import structure(s)... select your nbt structure.
After importing create new procedure. Set Event Trigger to Mod loaded in the game.
Add add base to city from The Lost City API category, in the field paste text element with your_mod_id:nbt_file_name. Done, save procedure and build your mod.