EwyBoy / OreTweaker

Add, remove, tweak and configure ore and underground generation features for Minecraft Forge
https://www.curseforge.com/minecraft/mc-mods/ore-tweaker
MIT License
20 stars 7 forks source link

[Bug] Way too many ores after upgrading #31

Closed Angular-Angel closed 3 years ago

Angular-Angel commented 3 years ago
Minecraft Version

1.17.1

Forge Version

37.0.43

Mod Version

2.4.0

Describe the bug

After upgrading, I have way too many ores: image

How to reproduce

Install an old version of the mod, modify the json file, then upgrade.

Angular-Angel commented 3 years ago

I get the same thing for coal, and probably for other ores.

EwyBoy commented 3 years ago

It's probably a edge case in the automated updater. Nothing I can really do at this point. You can try delete the data folder and move the backup out of the backup folder back into the main folder and restart and se if it's fixes itself. If not you have to just reconfigure the mod manually.

There should be a backup of your file in the generated backup folder.

Angular-Angel commented 3 years ago

Lookingat the defaults folder, it seems the defaults are messed up too? Like, check out your defaults for nether quartz - it has two entries, one with a frequency of 10, the other with a frequency of 32. That seems a little strange? :/

https://github.com/EwyBoy/OreTweaker/blob/master/src/main/java/com/ewyboy/oretweaker/json/template/templates/defaults/nether/ore/NetherQuartzOreTweak.java