Posted October 13, 201312 yr Hello! I'm trying a bit of a crazy project here. My final plan involves rendering an area of a world from inside a GUI. Now I'm only in the experimentation phase and what I'm trying to do at the moment is simply shift the players view to that location when he opens the GUI. Now I do this by using the following code when the GUI is opened: EntityLivingBase e; e = new EntityOtherPlayerMP(mc.theWorld, "Cam"); e.posX = mc.thePlayer.posX; e.posY = mc.thePlayer.posY + 2; e.posZ = mc.thePlayer.posZ; mc.renderViewEntity = e; Now I just set a value just above the player so I would be able to check if it works without worrying about chunks loading and so on. The problem is that it seems to bounce back and forth between rendering what the new renderViewEntity sees and what the player is seeing. I figured maybe it's getting called to reset it to the player but it doesn't seem like it, and besides since the player is only opening the GUI once it shouldn't jump back and forth? If you guys dont get it.. then well ya.. try harder...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.