GUI Portal and/or Chunkloading Not Working
The GUI portals in the Fabric version work phenomenally. However, following the same steps with the Forge version is not working correctly. In my code, when my container (screenhandler in Fabric) loads, I create a chunkloader and add it to NewChunkTrackingGraph. I then render on my screen and remove the chunkloader when the container closes. However, the chunks don't seem to load client-side, so just the sky gets rendered.
For Forge, rendering happens here: https://gitlab.com/TheFloydman/linking-books/-/blob/master/src/main/java/thefloydman/linkingbooks/client/gui/widget/LinkingPanelWidget.java#L90-104
Forge chunk (un)loading happens here: https://gitlab.com/TheFloydman/linking-books/-/blob/master/src/main/java/thefloydman/linkingbooks/inventory/container/LinkingBookContainer.java#L56 https://gitlab.com/TheFloydman/linking-books/-/blob/master/src/main/java/thefloydman/linkingbooks/inventory/container/LinkingBookContainer.java#L70 https://gitlab.com/TheFloydman/linking-books/-/blob/master/src/main/java/thefloydman/linkingbooks/integration/ImmersivePortalsIntegration.java
For Fabric, rendering happens here: https://gitlab.com/TheFloydman/linking-books-fabric/-/blob/master/src/main/java/thefloydman/linkingbooks/client/gui/widget/LinkingPanelWidget.java
Fabric chunk (un)loading happens here: https://gitlab.com/TheFloydman/linking-books-fabric/-/blob/master/src/main/java/thefloydman/linkingbooks/client/gui/widget/LinkingPanelWidget.java https://gitlab.com/TheFloydman/linking-books-fabric/-/blob/master/src/main/java/thefloydman/linkingbooks/screen/LinkingBookScreenHandler.java#L89 https://gitlab.com/TheFloydman/linking-books-fabric/-/blob/master/src/main/java/thefloydman/linkingbooks/integration/ImmersivePortalsIntegration.java
I've also confirmed that when I try to render a chunk that's loaded because I'm in it, no entities get rendered, including myself.
Just to continue my observations here, water and entities are rendering incorrectly in GUI portals. My previous comment that entities don't render is wrong; they just get rendered in the wrong place.