Skip to content

Fix occlusion cache errors and player visibility desyncs - #19

Open
Minecraft0122 wants to merge 1 commit into
MinceraftMC:masterfrom
Minecraft0122:codex/fix-open-issues
Open

Fix occlusion cache errors and player visibility desyncs#19
Minecraft0122 wants to merge 1 commit into
MinceraftMC:masterfrom
Minecraft0122:codex/fix-open-issues

Conversation

@Minecraft0122

@Minecraft0122 Minecraft0122 commented Jul 22, 2026

Copy link
Copy Markdown

Summary

  • reset stale hidden-player state on respawn and dimension changes
  • keep dead players visible and refresh Fabric wrappers against the replacement player entity
  • invalidate the cached chunk when the culling data provider switches worlds
  • publish occlusion cache data and vertical bounds as one consistent snapshot
  • handle empty chunks without negative array sizes and recompute safely when blocks change outside a minified cache
  • add regression coverage for empty chunks, downward cache growth, and same-coordinate world switches

Issues

Verification

  • gradlew :platform-common:test :core:test :platform-paper:compileJava --configure-on-demand --offline
  • Full repository GitHub Actions build, including all Paper, Folia, and Fabric targets
  • Build artifacts uploaded successfully

CI: https://github.com/Minecraft0122/PlayerCulling/actions/runs/29930646207

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant