fabric icon indicating copy to clipboard operation
fabric copied to clipboard

Sequential packets and break block events

Open zly2006 opened this issue 8 months ago • 0 comments

The bug

  1. cancel all AttackBlockCallback.EVENT
  2. place a sign with some texts
  3. break the sign
  4. the sign still exists, but the texts disappeared
  5. if you rejoin the game, the texts appear again

This is a bug in vanilla minecraft, but will fabric api fix it? All you need to do is to send a PlayerActionResponseS2CPacket before BlockUpdateS2CPacket, so the client-side block entity will not be in a removal state.

zly2006 avatar Jun 06 '24 14:06 zly2006