AllenSeitz / DimDungeons

A Minecraft mod which adds proceedurally generated dungeons.
14 stars 11 forks source link

[Suggestion] Add ability to make custom dungeons using other mods structures #73

Open RedBlockCreator opened 9 months ago

RedBlockCreator commented 9 months ago

Basically what the title says. I would like the ability to add structures from other mods into the config files that do not fit the standard format of 16x16 so that on a multiplayer server I could make a crafting recipe for a specific dungeon key and players be able to get their own instance of that dungeon, rather than having to roam around looking for a newly generated on. I also think this would add a lot of utility for custom mod packs.

AllenSeitz commented 9 months ago

I like this idea. I would probably implement it similar to the personal build dimension, except of course the desired structure would be right there in the open. But if the structure is meant to be found underground or underwater that might be awkward? Like imagine doing this to an Ocean Monument or a Twilight Forest Labyrinth.

Someone has already achieved this effect by using a hack. First they created an "entrance room" that was huge. I think 64x64 or whatever the maximum was. Then they placed a Lich's Tower (also from Twilight Forest) on it. Save. Now for the surrounding rooms create empty structures. Save that as theme 4 (or whatever) and now all blank theme keys with nbt "theme=4" will lead to a Lich's Tower. The chest contents will be random but the layout won't be. But each key leads to a new instance of that tower.

AllenSeitz commented 9 months ago

Something I need to consider though, is how to position the entrance portal. One of the benefits of the 8x8 grid besides working nicely with vanilla maps is that subsequent dungeons have an easily predictable position. The 10th dungeon on any server will be located at x=2560 z=0. But with arbitrary structures anything goes, and nether fortresses can snake for quite a bit. Some work will need to be done to keep structures from colliding in the void.