====== Worldgen Structures ====== LanteaCraft's planned village Stargate uses a vanilla Minecraft structure template for the platform and decorative shell: ''src/main/resources/data/lanteacraft/structure/village_stargate_platform.nbt'' The Java generator still places the live Stargate frame and matching DHD after the template is placed. This keeps variant selection, address registration, and planned-gate dialing deterministic while letting the visible platform be edited like a normal Minecraft structure. ===== Template Contract ===== The default template is authored with the front of the gate/platform facing south. * Template size: ''11 x 2 x 9'' * Gate base pivot: ''(5, 1, 2)'' * DHD support area: around ''(5, 0, 6)'' * The generator rotates the template to match the planned gate facing. When replacing the template, leave enough clear space for the code-placed Stargate: * Frame spans ''x = -3..3'', ''y = 0..6'' relative to the gate base. * DHD is placed 4 blocks in front of the gate. * The generator clears the Stargate/DHD footprint after placing the template, so do not put important decorative blocks inside that live-block area. ===== Editing Workflow ===== - Build the platform in-game around a structure block. - Keep the gate base position at template coordinate ''(5, 1, 2)''. - Save the structure as ''lanteacraft:village_stargate_platform''. - Copy the generated ''.nbt'' into ''src/main/resources/data/lanteacraft/structure/village_stargate_platform.nbt''. - Rebuild the mod. The generator code that loads this template lives in: ''src/main/java/com/pclogix/lanteacraft/worldgen/StargateVillageGenerator.java''