gigaherz / SewingKit

SewingKit (working title) is an API mod for Minecraft Forge designed for other mods to add sewing recipes for tailoring and leatherworking
Other
5 stars 4 forks source link

[1.18.2] Too many mods in a single pack stops toolbelt recipe from registering. #9

Closed Baggytrousers27 closed 2 years ago

Baggytrousers27 commented 2 years ago

Not sure if it's too many mods or one specific mod (narrowing down while typing this) but jei won't show a recipe for the Toolbelt (from your other mod). Will get back to you with more info soon.

gigaherz commented 2 years ago

Can you provide a log file? If there's a loading error it should appear in the latest.log

Baggytrousers27 commented 2 years ago

_[09May2022 14:08:38.800] [Server thread/INFO] [net.minecraft.world.item.crafting.RecipeManager/]: Skipping loading recipe toolbelt:belt_viasewing as it's serializer returned null From Latest.log Let me know if debug is needed as well.

gigaherz commented 2 years ago

Wait scratch that. I looked too quickly and did a brainfart. The other recipe errors are annoying but not the issue. The issue is that Tool Belt thinks Sewing Kit is not present or disabled.

gigaherz commented 2 years ago

OOPS I found a bug in the config.

            enableSewingKitSupport = builder
                    .comment("If set to FALSE, support for sewing recipes will not be enabled regardless of the mod's presence.")
                    .translation("text.toolbelt.config.disable_anvil_update")
                    .define("disableAnvilUpgrading", false);

There's a config value that I forgot to rename, "disableAnvilUpgrading" should really be called "enableSewingKitSupport". If you set that to false, set it to true.

Baggytrousers27 commented 2 years ago

That worked. Thanking you muchly. ¦D