BucketLib

BucketLib

6M Downloads

[Bug]: [Fabric 1.21.1] Bucketlib crashing with EncoderException

jshipley opened this issue · 5 comments

commented

Minecraft Version

1.21.1

Mod Loader

Fabric

Mod Loader Version

0.16.10

Mod Version

1.21-4.1.2.2

Modpack or other Mod

Installed mods:
BucketLib 1.21-4.1.2.2
(disabled) Ceramic Bucket 1.21-6.1.10
Cloth Config 15.0.140
(disabled) EMI 1.1.21+1.21.1+fabric
Fabric API 0.115.4+1.21.1
(disabled) Jade 15.10.0+fabric
(disabled) Wooden Bucket 1.21-4.1.1.0

The same error happened before I disabled all but the very minimum for BucketLib to run.

Describe the Issue

When starting a world, the game crashes with the message:

Connection Lost

Internal Exception: io.netty.handler.codec.EncoderException: Failed to encode packet 'clientbound/minecraft:update_recipes'

Logs

https://mclo.gs/0esog3p

Do you use any performance-enhancing mods (e.g. OptiFine)?

No response

commented

Hey @jshipley,

Thanks for your report! I will look into that, when I have time.
Do you using a datapack or some custom recipes or is that a plain installation?

Thanks again! :)

commented
commented

I did some more research to try to isolate this more.

It looks like this was working up to and including Fabric API 0.110.0+1.21.1, but the crash starts with Fabric API 0.114.0+1.21.1.

I looked at the changelist for 0.114.0+1.21.1, and found this: FabricMC/fabric#4322

Removing the cake.json recipe from bucketlib, or replacing the milk custom ingredient with a tag (not expecting it to work) makes it so that I can load the world and run.

commented

Thanks for your research. That will help me a lot! :)
As a workaround you could downgrade the FabricAPI until this issue is fixed on my side. :)

commented

Thanks again for your report! The milk ingredient was broken in Fabric since the beginning of 1.21 xD
The issue is fixed in 1.21-4.1.2.3 and 1.21.3-4.2.0.7.