Electric Posted July 10, 2020 Posted July 10, 2020 (edited) I'm attempting to render a mob within my Gui screen. In the past I was able to do this using getRenderManager#renderEntity, but since this no longer exists I am trying to use getRenderManager#renderEntityStatic. My current attempt: Minecraft.getInstance().getRenderManager().renderEntityStatic(new PigEntity(EntityType.PIG,field_230706_i_.world), 0.0D, 0.0D, 0.0D, 0.0f, partialticks, matrixStack, field_230706_i_.getRenderTypeBuffers().getBufferSource(), 500); This method causes some weird orientation, as shown in the screenshot below. I just want this entity to render from a normal, third person viewpoint. There used to be a getRenderManager#setPlayerViewY but this is gone as well. I found the method getRenderManager#setCameraOrientation, but it doesn't seem to do anything (I'm horrible with Quaternions). I tried: getRenderManager().setCameraOrientation(Vector3f.YP.rotationDegrees(180)); Any suggestions? Pig feet are nice but what I'm really tryna stare at is some thicc cakeee my simple Gui screen class: https://pastebin.com/KMtCvxRy Edit: I figured it out. Just needed to change z pos to move it in front of me lol. Edited July 11, 2020 by Electric Solved problem Quote
Recommended Posts
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.