The Lost Cities

The Lost Cities

59M Downloads

Terrain generation offset from biome

sinopike opened this issue ยท 3 comments

commented

2020-09-17_17 30 55
2020-09-17_17 32 46

The actual river is one chunk east from the river biome, which is not the case when using vanilla world type.

commented

First Image: normal world, same set of mods
Second Image: Lost cities, where the river is one chunk offset to the east.

Modpack: Omnifactory 1.2.2

commented

Minecraft version: 1.12.2

commented

found the problem: in line 26 of the following file:
src/main/java/mcjty/lostcities/dimensions/world/lost/BiomeInfo.java

info.biomesForBiomeCheck = provider.worldObj.getBiomeProvider().getBiomesForGeneration(info.biomesForBiomeCheck, (chunkX - 1) * 4 - 2, chunkZ * 4 - 2, 10, 10);

Not sure why is there a "-1" in (chunkX - 1). My guess is that this feature is intended for generation of buildings, not for terrain.