Hello,
I'm working on updating certain old mod, this time from 1.12.2 to 1.19.4, and I again stumbled upon the same issue. In this mod, I still need the function that gives me coordinates of the nearest generated structure. I again found a method that can do this, but unfortunately, this time the method requires an instance of the class ServerLevel (probably a new name for ServerWorld). In order to get this instance, I again tried reverse-engineering several mods for 1.19.4 and parts of Forge code, but just as in case of 1.15.2, none of the methods I tried worked. Does anyone know how to solve this? Thanks for any response.