Posted July 13, 201213 yr Pretty self-explanatory. I'd like to see this implemented into IItemRenderer, which lets you decide whether you want the item to render the swing progress or not. public enum ItemRendererHelper { + SWING_PROGRESS } public void renderItemInFirstPerson(float par1) { ... if (custom.shouldUseRenderHelper(FIRST_PERSON_MAP, var14, SWING_PROGRESS)) { var7 = 0.8F; var17 = var3.getSwingProgress(par1); var18 = MathHelper.sin(var17 * (float)Math.PI); var10 = MathHelper.sin(MathHelper.sqrt_float(var17) * (float)Math.PI); GL11.glTranslatef(-var10 * 0.4F, MathHelper.sin(MathHelper.sqrt_float(var17) * (float)Math.PI * 2.0F) * 0.2F, -var18 * 0.2F); var17 = 1.0F - var4 / 45.0F + 0.1F; if (var17 < 0.0F) { var17 = 0.0F; } if (var17 > 1.0F) { var17 = 1.0F; } var17 = -MathHelper.cos(var17 * (float)Math.PI) * 0.5F + 0.5F; GL11.glTranslatef(0.0F, 0.0F * var7 - (1.0F - var2) * 1.2F - var17 * 0.5F + 0.04F, -0.9F * var7); GL11.glRotatef(90.0F, 0.0F, 1.0F, 0.0F); GL11.glRotatef(var17 * -85.0F, 0.0F, 0.0F, 1.0F); } ...
July 17, 201213 yr Author Okay, just making sure I wasn't being ignored. I have this feeling Lex doesn't like me, lol.
July 17, 201213 yr Just a note, I am ignoring this until 1.3 And you can take it personally I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
August 18, 201213 yr Not quite, we're squashing bugs and dealing with ModLoader. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
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.