Global BlockEntityRenderers are run on removed BlockEntities
Kneelawk opened this issue ยท 0 comments
System Informatinon
- Minecraft Version: 1.17.1
- Canvas Version: 3908fac
- Operating System: Linux Kubuntu 20.04.2
- Graphics Card: GeForce GTX 1060 6GB/PCIe/SSE2
Other mods and versions installed
- bitraster-1.4.12
- fabric-0.37.0+1.17
- fermion-2.11
- fermion-orientation-1.2
- fermion-varia-2.6
- frex-5.4
- frex-events-1.3
- jmx-1.22
- special-circumstances-1.9
These are all Canvas dependencies as of 3908fac
How you triggered the behavior
- In a new world, place a beacon with enough of a platform to activate it, such that the beam is shown.
- Move a far enough distance away that the beacon's chunk is unloaded.
- Move back to the beacon's chunk.
- Break the beacon block.
What you expected would happen
- The beacon beam should disappear.
What actually happened
- The beacon beam remains after the block is broken.
Logs and screenshots
Notes
When I first encountered this issue, I was working on my own mod and noticed that my BlockEntityRenderers were rendering multiple BlockEntities per block in chunks that had been unloaded and loaded again. Using my debugger, I discovered that all except for one of the multiple BlockEntities being rendered in a block had their removed == true
. Given that beacons are also globally rendered BlockEntities, I decided to see if they suffer from the same issue and found that they do.