KubeJS breaks recipes from Tinkerer's Smithing
mintynoura opened this issue ยท 1 comments
Minecraft Version
Quilt 1.20.1
KubeJS Version
kubejs-fabric-2001.6.4-build.138
Rhino Version
rhino-fabric-2001.2.2-build.18
Architectury Version
architectury-9.1.12-fabric
Forge/Fabric Version
Quilt 0.25.0
Describe your issue
It seems that using startup scripts from KubeJS to modify or register anything (not necessarily related to anvils/smithing) will disable all the crafting and smithing recipes from Tinkerer's Smithing, as well as the vanilla anvil repairing mechanics. The developers of Tinkerer's Smithing responded here explaining that the issue can't be fixed on their side, so I'm reporting it here. The Minecraft/KubeJS logs don't seem to mention anything related to the problem.
Crash report/logs
N/A
It's unlikely that KubeJS will change those mixins, but if the mod author wants to/someone wants to PR it then they can make a KubeJS plugin to register their java generated recipes.
KubeJS/common/src/main/java/dev/latvian/mods/kubejs/KubeJSPlugin.java
Lines 110 to 114 in 220391f
The steps for doing this are:
- Make a class that extends KubeJSPlugin
- Override
injectRuntimeRecipes
and add your recipes there - Cancel your normal recipe adding if KubeJS is installed (though that seems like it is already happening here)
- Add a kubejs.plugins.txt to the root of your jar (the
resources
folder) that contains a single line of the full classpath of your KubeJS plugin, iemods.chiefarug.moddymcmodface.compat.kubejs.ModdyKubeJSPlugin