Skip to content

Blockentity client rendering out of sync in 1.17 fabric #1800

Discussion options

You must be logged in to vote

The MixinClientPlayNetworkHandler does a redirect, so both you and the fabric api can't do it at the same time.
If you want your own version, you would need to remove the fabric-api version.

The symptoms of what you describe, make it sound like the data is not being sent to the client when you right click.
But it is hard to say without seeing the code.

Are you calling sync() when you change the block entity's state on the server?
https://github.com/FabricMC/fabric/blob/1.17/fabric-networking-blockentity-v0/src/main/java/net/fabricmc/fabric/api/block/entity/BlockEntityClientSerializable.java

Try adding some debug messages to your "toClientNBT()" and "fromClientTag()" to see if they are bei…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@theAfish
Comment options

@theAfish
Comment options

Answer selected by theAfish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants