DAI 3.0 · STEP-BY-STEP

Structures & Modular Rooms

Create recognized physical structures with bounds, anchors, sockets, placement validation and repair logic.

Build from scratchTest in MinecraftMultiplayer-safe by designDAI 3.0

What you are building

Primary path: data/<namespace>/dai_structures/ + functions
Create recognized physical structures with bounds, anchors, sockets, placement validation and repair logic.

Step-by-step

  1. Define the module contractRecord size, anchor, connection sockets, occupied volume, rotation rules and capabilities.
  2. Build one physical template/functionCreate a room that is valid by itself before connecting anything.
  3. Add a recognition definitionRecognition proves the room exists physically instead of trusting only a purchase scoreboard.
  4. Validate a parent socketBefore building a child, prove the parent/socket/orientation/clear volume.
  5. Place server-sideConsume cost and place only after validation.
  6. Rescan/register the graphCapabilities become active only after the new room is recognized.
  7. Add repair/migrationVersioned repair functions fix old rooms without resetting the world.

Definition of done

  • The feature still works after save/reload.
  • Server state is authoritative; presentation mirrors it.
  • Invalid input cannot duplicate rewards or bypass costs.
  • Two players can use the system without sharing unintended temporary state.
  • Any optional resource pack can be disabled without breaking datapack logic.

Next integration

Once this feature works alone, connect it to a complete loop instead of adding more isolated content. Use the complete-game tracks to see where it belongs in ACMS, Space Between Blocks, MineTrigger or Hollow Spiral.