CraftTweaker

CraftTweaker

186M Downloads

can't connect to server after /reload

alfredo2210 opened this issue · 6 comments

commented

Issue description

I created a new recipe on a server, I used the /reload command and now the server is inaccessible by everyone with the error code “internal exception: io.netty.handler.codec.decoderexception: failed to decode packet çlientbound/minecraft:update_recepies” I even tried to use an old backup but it gives the same error, I attach the log

disconnect-2025-03-04_19.41.45-client.txt

Steps to reproduce

No response

Script used

https://gist.github.com/alfredo2210/5af0b68d05fd414603ad7e662b7e315d

The crafttweaker.log file

https://gist.github.com/alfredo2210/d09e75db1670b318e785e0aed4008b67

Minecraft version

1.21.1

Modloader

Fabric

Modloader version

0.16.9

CraftTweaker version

21.0.24

Other relevant information

No response

The latest.log file

https://gist.github.com/alfredo2210/f779d6fff4238417381fba709c3a86cc

commented

The latest.log file says it is using CraftTweaker 21.0.2, however the server is using 21.0.24, try upgrading the version on the client and se eif you can still reproduce

commented

thank you very much it works now

commented

I tried but it still doesn't work, it gives me the same error and this log
https://gist.github.com/alfredo2210/bf7a87ebbc8a419fd9eeaf17a2d8976f

commented

please provide the script file that adds the recipe, none of the urls you linked have any scripts.

commented

Can you try this script:

craftingTable.addShaped("dispenser_whitout_bow", <item:minecraft:dispenser> * 1, [
    [<item:minecraft:air>, <item:minecraft:stick>, <item:minecraft:string>],
    [<item:minecraft:stick>, <item:minecraft:dropper>, <item:minecraft:string>],
    [<item:minecraft:air>, <item:minecraft:stick>, <item:minecraft:string>]]);

You are using tags that I don't think exist