#EncoderException when running KubeJS with GTCEu 1.4.5 on 1.21.1

6 messages · Page 1 of 1 (latest)

fresh peak
#

I've attached a screenshot of the installed mods from my Prism instance.
There's only KJS and GTCEu 1.4.5 (and dependencies). I did not have this issue on the previous version of GT.

The only script that isn't the default script is main.js in server_scripts:

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

ServerEvents.recipes(event => {
    // you don't even need anything in here, just adding the callback is enough
})

When joining a singleplayer world (freshly created), the game disconnects me (but doesn't crash) with clientbound/minecraft:update_recipes.
Here's the log: https://mclo.gs/ySDMO25

silent moon
#

oh, balls.

fresh peak
#

not sure if relevant to this issue, but in the previous version i had a similar problem with the clientbound/minecraft:update_recipes due to a class casting error, but that was only when adding fluid outputs to centrifuge recipes

#

i made a post about that in the KJS discord, i can find the logs and stuff from that if you want though

silent moon
#

how the hell did it get a recipe with no ID

#

wtf