Ancient Warfare 2

Ancient Warfare 2

6M Downloads

[1.12.2] Whitelist/Blacklist for Worldgen in dimensions

NielsPilgaard opened this issue ยท 6 comments

commented

Hello!

I'd like to request a config for whitelisting or blacklisting AW2 worldgen in specific dimensions.
AW2 currently generates villages/structures in all dimensions other than -1 and 1 as far as I know, and the structures and NPCs clash with the feel of some dimensions - specifically Advanced Rocketry planets, without oxygen.

I hope you'll consider it :)

commented

Sounds reasonable and I am actually currently looking into world gen so depending how easy it is going to be I may even add it as part of those changes.

commented

Thank you very much!

commented

Whitelist is specifically needed for mod packs that add lots of dimensions like advanced rocketry, etc.

commented

So now that I got to this I have actually found out that AW already supports whitelist/blacklisting structures on template level (dimensionlist property for the list of dimensions and dimensionwhitelist to set whether this is black or white list). Templates just don't seem to have this defined.

So I have made a small change that defaults these settings to only overworld whitelisted in case template doesn't define where the structure should appear.

commented

Sounds good, thank you!

commented

Btw, new version uploaded to curseforge that has this fix. It just needs to be approved by curse and then you will be able to download it.