Cubitect / cubiomes

C library that mimics the Minecraft biome generation.
MIT License
556 stars 98 forks source link

Incorrect structure config for pre-1.16 shipwrecks results in wrong position values #113

Closed AeroAstroid closed 8 months ago

AeroAstroid commented 8 months ago

Reproducible by using the getStructurePos function to find a shipwreck in any version from MC_1_13 to MC_1_15 (or by using cubiomes-viewer to locate one in these versions), loading up the seed in-game in the corresponding version, and verifying that the reported positions differ from the result of /locate Shipwreck.

For instance, seed 7568941961015246499 is described by cubiomes-viewer as having a shipwreck at 32, 32 in any of these three versions, whereas for all of them the correct location for that region is 112, 112.

Cubitect commented 8 months ago

Thanks for the report and fix.