pufmat / skillsmod

A Minecraft mod that adds a fully configurable skill system to the game.
Other
36 stars 10 forks source link

Minecraft 1.20.1 "Invalid Configuration, please check log." (not on server) #90

Open JakeYde opened 3 months ago

JakeYde commented 3 months ago

After updating to the latest version I get this error. I do not recall which version I updated from. Reverting to version 0.11.0 of the mod and deleting the config files makes the mod playable. I can upgrade all the way to 0.11.6 and everything works as expected. Switching to 0.12.0 or 0.12.1 completely breaks the mod/game. Reverting back to 0.11.6 after trying to upgrade solves the issue of playability, but not the latest version which is still unplayable.

JakeYde commented 2 months ago

More data as I tried the latest update again. The following was thrown as an error on loading the game.

[02:01:13] [Server thread/ERROR]:
 [puffish_skills] Configuration could not be loaded:
Expected valid attribute at `attribute` at `data` at index 0 at `rewards` at `root_melee_damage+3%` at `categories\combat\definitions.json`
Expected valid attribute at `attribute` at `data` at index 0 at `rewards` at `root_resistance+1%` at `categories\combat\definitions.json`
Expected valid attribute at `attribute` at `data` at index 0 at `rewards` at `resistance+1%` at `categories\combat\definitions.json`
Expected valid attribute at `attribute` at `data` at index 0 at `rewards` at `healing+5%` at `categories\combat\definitions.json`
Expected valid attribute at `attribute` at `data` at index 0 at `rewards` at `jump+5%` at `categories\combat\definitions.json`
Expected valid attribute at `attribute` at `data` at index 0 at `rewards` at `root_ranged_damage+3%` at `categories\combat\definitions.json`
Expected valid attribute at `attribute` at `data` at index 0 at `rewards` at `ranged_damage+3%` at `categories\combat\definitions.json`
Expected valid attribute at `attribute` at `data` at index 0 at `rewards` at `melee_damage+3%` at `categories\combat\definitions.json`
Expected valid attribute at `attribute` at `data` at index 0 at `rewards` at `stamina+5%` at `categories\combat\definitions.json`
Expected valid attribute at `attribute` at `data` at index 0 at `rewards` at `fortune+0.1` at `categories\mining\definitions.json`
[02:00:45] [Render thread/INFO] Mods:
    at net.minecraft.client.main.Main.main(Main.java:250)
Expected valid attribute at `attribute` at `data` at index 0 at `rewards` at `mining_speed+3%` at `categories\mining\definitions.json`
pufmat commented 1 month ago

In the 0.12.0 update the mod was split. Attributes are now in a separate mod Pufferfish's Attributes, which you need to install. If you have removed the config it can now be downloaded as a Default Skill Trees data pack. For more information about installing it check the data pack installation tutorial on Minecraft Wiki.