Contains the code I used to find a cluster of 6 dungeons spawning in a straight line (Minecraft JE 1.16-1.17).
In this folder you'll find the CUDA bruteforce kernel I used to find all the chunk seeds that could generate a chain of 3 dungeons, and some C++ code that created pairs of chunk seeds that could generate the full 6-dungeon chains. I've also included the program output so that you don't have to run these if you only want the results :)
Here you'll find the Java code (part2/src/main/java) that converted the chunk seed pairs into usable world seeds (more formally, lower 48 bits of world seeds), and the program that was used to find suitable sister seeds (dungeon generation also depends on biomes!) and filter out any seed that didn't generate the first dungeon. The outputs of these programs are also included (part2/src/main/resources).