第一次进入世界时TileEntity数据不同步问题 #114
Answered
by
3TUSK
dong031001
asked this question in
Q&A
-
问题描述:在第一次进入世界时TileEntity的客户端和服务端数据并未同步,需要更新方块状态才可以达到同步(譬如破坏一个临近的方块) 调试工具输出方块数据:
|
Beta Was this translation helpful? Give feedback.
Answered by
3TUSK
Jul 12, 2021
Replies: 2 comments 6 replies
-
每Tick更新解决了:
但还是求一个更加效率的解决方案 |
Beta Was this translation helpful? Give feedback.
0 replies
-
https://harbinger.covertdragon.team/chapter-07/tile-entity-sync.html#getupdatetag Harbinger 有专门提到过这个问题的解决方案。在 1.16 中的写法应该一致。 |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
3TUSK
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://harbinger.covertdragon.team/chapter-07/tile-entity-sync.html#getupdatetag
Harbinger 有专门提到过这个问题的解决方案。在 1.16 中的写法应该一致。