Jump to content

How to locate generated structures


jstastny

Recommended Posts

Hello,

I'm working on updating certain old mod from 1.12.2 to 1.15.2 and I stumbled upon a certain issue. In this mod, I need a function that gives me coordinates of the nearest generated structure (things like villages, temples, etc.). I already found a method that can do this, but unfortunately, this method requires an instance of the class ServerWorld. In order to get this instance, I tried reverse-engineering several other mods for 1.15.2 and parts of Forge code, but none of the methods I tried ever worked. Does anyone know how to solve this? Thanks for any response.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.