Fabric API

Fabric API

106M Downloads

BlockEntityType's registry is not synced on 1.18.x, causing desyncs

Patbox opened this issue · 1 comments

commented

Since 1.18, Minecraft uses raw BlockEntityType ids in packet for syncing data (BlockEntityUpdateS2CPacket).
Fabric currently doesn't sync these, which can cause desyncs.

Placing PipeBlock, and displaying Block (Entity) update packets, uses wrong BlockEntityType
image

Effected packet's serialization
image

Effected line: https://github.com/FabricMC/fabric/blob/1.18/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/impl/registry/sync/FabricRegistryInit.java#L89

commented

That’s annoying. At least it’s a trivial fix.