
[Bug] When I add Mantle mod,I cant run my game
DeliciousBread481 opened this issue · 7 comments
Minecraft Version
1.20.1
KubeJS Version
2001.6.5-build.16
Rhino Version
2001.2.2-build.18
Architectury Version
9.2.14
Forge/Fabric Version
47.3.0
Describe your issue
When I add the mantle 1.11.36
,and I start my game
I will get a crash,it reported that there is a error in the startup_scripts:example.js#29
Cannot convert ArrowFunction (1) => {...} to net.minecraft.world.food.FoodProperties
then I check my js,but I have no idea about this problem
I think it is related to #820
Crash report/logs
Hey can you try the solution mentioned in this thread: https://kubejs.com/support/tickets/8905D152 and let me know if it works.
like...this? I'm sorrry if I made a mistake
I get a error:
example.js#29: Error in 'ItemEvents.modification': TypeError: Cannot find function kjs$setFoodProperties(java.util.function.Consumer) in object qttg.
well.....🤔
Startup script errors:
1) Error in 'ItemEvents.modification': Line 29: 'java()' is no longer supported! Read more on wiki: https://kubejs.com/kjs6
thats not what i meant. The string is still a string and needs to go inside the [] brackets
(T▽T)
example.js#29: Error in 'ItemEvents.modification': TypeError: Cannot find function setFoodProperties(java.util.function.Consumer) in object qttg.