Tool Belt

Tool Belt

51M Downloads

Common config file not getting generated.

starmun-0010 opened this issue · 6 comments

commented

ToolBelt-1.16.3-1.15.2
MC 1.16.5
Forge 36.1.2

I need to disable toolbelt's anvil upgrade recipes for my mopdpack.
Looking at the code I see that there is an anvilUpgrading property in common config.
But, the problem is that the common config never gets generated.

Also, looking at the decompiled code of the 1.15.2 version I can see that registerConfig is never called for common config.

commented

The 1.15 version never had a common config. Those values are in the server config.

If you have somehow managed to never once deal with serverconfigs in 1.13`, you can find those files in the serverconfig folder in the save directory. Eg:

<instance>/saves/<save folder>/serverconfig/toolbelt-server.toml

If you are building a modpack, you can copy the serverconfigs folder into defaultconfigs in the root. Those files will be applied to new saves, or existing saves when updating the pack. Eg:

<instance>/defaultconfigs/toolbelt-server.toml

Just remember to update the defaultconfigs folder after tweaking, before releasing your pack!

commented

Wait, you said 1.13?

I am working with minecraft 1.16.5.
ToolBelt version 1.16.3-1.15.2

I had already checked the server config before creating the issue. It does not have an anvilUpgrading property.

This is the server config file that gets generated.

toolbelt-server.zip

commented

Oh my bad, I saw you mention 1.15.2 and assumed that was the mc version you used. 🤦

commented

So after looking at the 1.16 version, I do have this fixed, but it may be I never released an update with that fix... I'll look into it.

commented

That will be great. Thank you

commented

Should be fixed in v1.16.0