Table of Contents

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.

When replacing the template, leave enough clear space for the code-placed Stargate:

Editing Workflow

  1. Build the platform in-game around a structure block.
  2. Keep the gate base position at template coordinate (5, 1, 2).
  3. Save the structure as lanteacraft:village_stargate_platform.
  4. Copy the generated .nbt into src/main/resources/data/lanteacraft/structure/village_stargate_platform.nbt.
  5. Rebuild the mod.

The generator code that loads this template lives in:

src/main/java/com/pclogix/lanteacraft/worldgen/StargateVillageGenerator.java