Ametrin-Studios / DungeonsEnhanced

Official Dungeons Enhanced Minecraft mod repository
https://www.curseforge.com/minecraft/mc-mods/dungeonsenhanced
Other
2 stars 7 forks source link

Loosen dimension checking to allow structures to spawn in modded dimensions #47

Open BarionLP opened 5 hours ago

BarionLP commented 5 hours ago

Problem: Users want structures to generate in modded dimensions but dungeons enhanced uses structure gels biome checking to make sure they only spawn in the intended dimension.

jjyutm4532 commented 5 hours ago

Hello, we tried to solve the issue.

This is what we did:

Modified DEBaseStructure to include a dimension check, allowing structures to generate in modded dimensions while still respecting biome restrictions.

You can review changes in this commit: https://github.com/jjyutm4532/Ametrin-Studios-DungeonsEnhanced-47/commit/376d098bab1660f26ad3dd16dcf8296178488a45.

[!CAUTION] Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.


If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.