KubeJS-Mods / KubeJS

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

ServerEvents.recipes breaks Grindstone interaction with Spelunkery #838

Open TheLoganizer42 opened 6 months ago

TheLoganizer42 commented 6 months ago

Minecraft Version

1.20.1

KubeJS Version

2001.6.5-build.7

Rhino Version

2001.2.2-build.18

Architectury Version

9.2.14

Forge/Fabric Version

Fabric 0.15.11 FabricAPI 0.92.1

Describe your issue

Spelunkery mod adds a crafting system where right clicking a grindstone with certain items in hand (namely rough gems), it polishes them. Simply having the line ServerEvents.recipes(event =>{}) in a server script entirely stops you from polishing items. Interacting normally just opens the gui, and sneak+interacting either does nothing, or places the item if its a block. I'm posting this to Spelunkery's GitHub as well.

Crash report/logs

No response

ChiefArug commented 6 months ago

Usually this is caused by a mod injecting stuff into the RecipeManager, but it doesn't seem like Spelunkery is doing that, unless its abstracted into a library they are using.

Also, can you link the two issues by commenting a link of the other in one of them?

TheLoganizer42 commented 6 months ago

https://github.com/AstralOrdana/Spelunkery/issues/225

pietro-lopes commented 6 months ago

You said

"I found this issue while developing a private modpack, but it works with just Spelunkery, KubeJS, and their dependencies."

So you didn't manage to reproduce?

TheLoganizer42 commented 6 months ago

You said

"I found this issue while developing a private modpack, but it works with just Spelunkery, KubeJS, and their dependencies."

So you didn't manage to reproduce?

I did reproduce it with just the mods in the screenshot. I already went through the effort of going through 200+ mods to figure out what was causing it, I didnt see any reason not to do any further testing.