Open mckerrnel opened 10 years ago
Well I dunno, not a coder so I have no idea. I'd imagine though, that we'll need to contact the devs to figure this out.
Let me know if this is something you guys want to do, as I'm part of the EBXL team. It depends on what your code looks for when placing the structures and/or could require an API.
The generator gets what chunk biome it is at a specific coordinate, then does a hardcoded check for specific biomes (if ((biome instanceof BiomeGenDesert) || (biome instanceof BiomeGenJungle) etc). So it'd need some way of accessing the EBXL biomes.
Looking at the current EbXL biome API that scott wrote a while back I am not sure if it will do what you need as I have never had to use it. It is located at https://github.com/ExtrabiomesXL/ExtrabiomesXL/blob/master/src/main/java/extrabiomes/api/Biomes.java but I don't know if will do what you need.
I think the comment is the code do a better job of explaining it, but if you need any changes feel free to either let me know or push a commit as needed, and I'll be more than willing to work it on it to get it working as needed.
From what I understand, the structures are only built on vanilla biomes. Unfortunately most 1.5 servers are running Biomes O' Plenty or ExtraBiomesXL.. Could you consider supporting these mods? With the large number of biomes they generate, finding vanilla biomes is nearly impossible.