DungeonArchitetury banner
DungeonArchitetury icon

DungeonArchitetury

I need a Minecraft Paper Plugin (Java Edition). Target Version: 1.21.1 (Forward compatible). Plugin Name: ArchitectGen Plugin ID: architect_gen ARCHITECTURE:...

10
paperServer1.21.1mod

ArchitectGen adds procedural dungeon generation for Paper 1.21.1 with a hard dependency on FastAsyncWorldEdit. Use /architect dungeon build <theme> to spawn a dungeon from your position, /architect dungeon list to see detected themes, and /architect dungeon undo to roll back your last generation.

Key details:

  • Dungeon themes live in plugins/ArchitectGen/dungeons/<theme>/ with start, rooms, corridors, and end folders holding WorldEdit/FAWE schematics (.schem, .schematic, .we). Start and end folders must contain at least one schematic.
  • Default dungeons.yml defines crypt and forest_ruins with grid sizes and min/max path lengths; the chain length is chosen randomly within those bounds. Theme directories are created on first launch.
  • Generation runs asynchronously through FAWE/WorldEdit, ignores air when pasting, blocks edits to bedrock, and aborts if a schematic would exceed Y=320 or drop below Y=1. Chains extend in the direction you face (fallback north) using the configured grid size.
  • Each step chooses rooms 70% of the time (corridors otherwise); a start is pasted first, followed by the chain, then an end. Sponge blocks inside schematics act as optional connector targets for the next segment and are cleared after paste; if none exist the grid offset is used.
  • Undo relies on FAWE/WorldEdit history; one undo credit is stored per generated dungeon per player. If you make other WorldEdit edits before undoing, history order may affect what gets reverted.

Suggestions and limitations:

  • Place schematics in the theme folders before running /architect dungeon build; missing start or end schematics prevent generation. Only themes defined in dungeons.yml can be built, even if other folders exist.
  • The world populator side of the project is not implemented here; only the procedural dungeon workflow is provided.

Server Validation

Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.