KubeJS (Old)

KubeJS (Old)

3M Downloads

Compostable recipes not working.

RosaryMala opened this issue ยท 0 comments

commented

Minecraft Version

1.21.1

KubeJS Version

2101.7.2-build.295

Rhino Version

2101.2.7-build.81

Architectury Version

13.0.8

Forge/Fabric Version

Neoforge 21.1.214

Describe your issue

I have the following script in my server_scripts folder:

// Visit the wiki for more info - https://kubejs.com/
console.info('Hello, World! (Loaded server example script)')

ServerEvents.compostableRecipes(event => {
    event.add("minecraft:dirt", 0.75)
})

There's no errors visible in the log, but the dirt is not compostable.
Incidentally, JEI correctly is able to tell that it's not compostable, but EMI wrongly thinks that it is.

Crash report/logs

https://mclo.gs/cs8iPpJ