KubeJS-Mods / KubeJS

https://kubejs.com
GNU Lesser General Public License v3.0
307 stars 90 forks source link

KubeJS breaks recipes from Tinkerer's Smithing #822

Open mintynoura opened 5 months ago

mintynoura commented 5 months ago

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.

323741601-f4aeed8d-2911-4a9d-a501-bf90cb937c71

323742263-8dd5da10-53e8-4949-a344-1b6577d87445

Crash report/logs

N/A

ChiefArug commented 4 months ago

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. https://github.com/KubeJS-Mods/KubeJS/blob/220391f6d46609b30a754ce60c2cce943d699f89/common/src/main/java/dev/latvian/mods/kubejs/KubeJSPlugin.java#L110-L114

The steps for doing this are: