Hi,
I'm making a mod that requires I render chunks across dimensions. In order for me to do this, I need to create multiple instances of RenderGlobal, each linked to a separate dimension id. Because I'm trying to render stuff across dimensions, my new RenderGlobal instance must have a separate WorldClient instance (an instance associated with the dimension id, so the correct chunks are rendered). The thing that has me stumped is creating a new WorldClient instance. I've tried a bunch of things, but nothing seems to create a correct instance. Here is the code the creates a new WorldClient:
This code successfully creates new WorldClient, but the dimension is wrong and I have absolutely no idea why. I'm setting the dimension in the constructor to -1, but it somehow gets reset to 0. (The console prints "0, 0")
Any insight onto this would be helpful, Thanks
Hi,
I'm making a mod that requires I render chunks across dimensions. In order for me to do this, I need to create multiple instances of RenderGlobal, each linked to a separate dimension id. Because I'm trying to render stuff across dimensions, my new RenderGlobal instance must have a separate WorldClient instance (an instance associated with the dimension id, so the correct chunks are rendered). The thing that has me stumped is creating a new WorldClient instance. I've tried a bunch of things, but nothing seems to create a correct instance. Here is the code the creates a new WorldClient:
This code successfully creates new WorldClient, but the dimension is wrong and I have absolutely no idea why. I'm setting the dimension in the constructor to -1, but it somehow gets reset to 0. (The console prints "0, 0")
Any insight onto this would be helpful, Thanks