Dimensions white list for structural generation
SirSteev opened this issue ยท 11 comments
The structures actually by default generate in overworld only unless they have a specific dimension white/black list specified themselves.
Are you seeing structures generating in custom dimensions with default AW settings?
I'm putting together a new modpack, and I'm seeing ancient warfare villages and such spawning in futurepack dimension Tyros (dim id 74).
I have been flying in Tyros for quite a while and have seen quite a bit of good terrain for AW generation, but yet not a single structure.
Have you perhaps used an older version and then updated to .168? at some point earlier this year I have added the default for overworld only when the structure template doesn't provide any white/black list. So I believe what happened for you is that you have generated the dimension with the release that didn't have this change and update to the newest version doesn't remove already generated structures just prevents spawning of new ones.
If you are in fact able to recreate this with a new world and the latest build let me know, but otherwise I am going to close.
Is there a quick way to get to this dimension? I couldn't figure it out in my dev
I'm running 1.7.10 so idk if your even supporting that version anymore, but i was using Mystcraft and with it you create your own dimensions and the pregen structures are popping up in them. so i'm not sure if its on the other mods end of yours but i have yet to see normal villages spawn in the Mystcraft dimensions. but yes i was using default settings
p.s.- sorry about ignoring you the past month
In my build i can type "//dimension/74 myname" - replace myname with your name :) Some builds have a teleport or tp command.
Ahh derp, I had town generation turned off in my dev environment hence why I was seeing no towns.
And apparently despite town templates having a dimension whitelist set correctly the code to check for these settings wasn't included so I have fixed that and after this change these should only gen in overworld by default.
btw: If you wanted to test the change here's an updated version with the fix https://bintray.com/p3pp3rf1y/maven/download_file?file_path=ancientwarfare-1.12.2-2.5.178unstable.jar
I will release the fix officially in a week or so.
Tested it and didn't find any villages in dimension 74, but did find them in dimension 0, so perfect. Awesome, thanks a lot.
Used same versions as above, no other mods and deleted old configs.
Seed = 3588025716415211103
//dimension 74 myname
flew to: x:136,z:269
At least this one is the correct height, so I see that as a lot less of a problem.
It's unfortunate that ancient warfare 2 doesn't have a dimension white or black list, instead it looks for blocks that it can place it's structures on, so any dimension that has grass, stone etc is fair game.