The issue is solved. The problem was that in world.getBiome(x, z) x and z aren't the same as block coordinates. They are a factor of 16, i.e. a number of chunk rather than a coordinate within it
I'm writing a PaperMC plugin that should restore all biomes in the world within a specified radius.
The issue here is that biomes aren't restoring.
Can someone please tell me what am i doing wrong?
I've tested this code on PaperMC 1.19.0-1.19.4
Here is a full plugin code:
package...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.