Need help with random generated dungeons/structures

Started by JamminNun on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help with random generated dungeons/structures

I am thinking of adding dungeons to my mod that generate randomly all over the world (either on surface or underground), but I have no idea how to do it.

My idea is to have segmented multiroom dungeons with rooms being chosen randomly, the size preferably being random too though it isn't that much of a priority. If someone could help out with my idea it would be really cool.

 

Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use Feature mod…
Tue, 12/07/2021 - 21:35

You can use Feature mod element to create a structure. While It's not really a structure, it works pretty similar(except you cant use /locate and some other small things).

As how to create multiroom dungeon...

Well the best way is to use Jigsaws, but 

1. They don't work for features

2. Require manual setup with code.

So you can watch this tutorial:

https://youtu.be/ikHn0YDuSkY

 

 

 

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The tutorial you linked is…
Wed, 12/08/2021 - 06:59

The tutorial you linked is great, but it has nothing about randomising the rooms, even in a set amount of rooms and size of the structure.

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I replied this same question…
Wed, 12/08/2021 - 09:11

I replied this same question something like 15 times last year

Make a new block (invisible if you want) and assign it to your structure A. When structure A generates it has our block where you want

When block placed if randomize = generate structure B if not then structure C

And so on

This way you can create all big structures you want and randomize rooms generation (for example in a dungeon)