Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize network and fix Sliding Rail Syncing 优化网络包,修复滑轨同步 #1430

Merged
merged 2 commits into from
Dec 31, 2024

Conversation

YocyCraft
Copy link
Contributor

  • 优化了物品探测器的getUpdateTag方法,现在物品探测器不会在每次改变信号状态时向客户端发送同步探测范围的网络包了。
  • 利用Level#blockEvent机制为修复了滑轨的同步问题,现在滑轨在推动方块时不会出现闪烁状态了。
    • 此前版本中,滑轨推动方块时不会将MovingPistonBlock及其方块实体的创建同步至客户端,这导致客户端无法正常渲染被滑轨推动的方块。

@Gu-ZT Gu-ZT merged commit a097274 into Anvil-Dev:releases/1.21 Dec 31, 2024
1 check passed
@YocyCraft YocyCraft deleted the dev/optimize_and_sync branch December 31, 2024 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants