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] Crash on Create World #56

Closed AbieTheFishman closed 2 years ago

AbieTheFishman commented 2 years ago
Minecraft Version

Minecraft Version: 1.18.1

Forge Version

Forge: net.minecraftforge:39.1.2

Mod Version

OreTweaker-1.18.1-3.0.2.jar

Describe the bug

Crash on World Create

How to reproduce

Create a new world

Link to crashlog [If Applicable]

crash-2022-04-04_13.24.49-client.txt

Type here

Screenshots / Images

Ctrl + V here

EwyBoy commented 2 years ago

Have you edited any of the files?

AbieTheFishman commented 2 years ago

Also datapack error on loading old world

latest.log

AbieTheFishman commented 2 years ago

Some of the config files?

EwyBoy commented 2 years ago

Some of the config files?

Yes any of the files inside config/oretweaker/data 📂

AbieTheFishman commented 2 years ago

Yes

EwyBoy commented 2 years ago

Looks like you messed up somewhere. You have an null error on one of your ores. You can send me a link to some of the files and I can look into it for you.

AbieTheFishman commented 2 years ago

Should I try to replace the files in data with the defaults in templates?

EwyBoy commented 2 years ago

You can make a copy of your config/oretweaker/data 📂 Then delete the entire oretweaker 📂 inside config 📂 and restart Minecraft. It will regenerate all the default files as they should be.

And when you start editing the files. Edit one file at the time and run a test to see if it works. Easier for you to figure out when something goes wrong and where the error is.

AbieTheFishman commented 2 years ago

Yep it was one the json files. Had an extra comma.

Thanks

EwyBoy commented 2 years ago

Np, working on a system to detect these extra commas etc and fix it before it breaks everything. Sorry for the trouble 🥳

AbieTheFishman commented 2 years ago

No, thank you