Okay there are a few things that you'll need to change and it should be working just great
Firstly, you'll need shouldUseRenderHelper() to return true, otherwise nothing will render when you ask it to,
Second, change, "(Entity) data[1]", to null, because it doesn't need the entity holding it to render,
Third, your code here should be changed from (I put in the code after the changes I already mentioned)
@Override
public void renderItem(ItemRenderType type, ItemStack item, Object... data)
{
if (type == ItemRenderType.EQUIPPED) {
GL11.glPushMatrix();
Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(ModInfo.ID.toLowerCase() + ":textures/items/LaserWrench.png"));
float scale = 1.4F;
GL11.glScalef(scale, scale, scale);
GL11.glRotatef(90, -1, 0, 0);
GL11.glRotatef(85, 0, 0, 1);
GL11.glRotatef(180, 0, 1, 0);
GL11.glRotatef(135, 1, 0, 0);
GL11.glTranslatef(-0.1F, -0.5F, 0.5F); // Left-Right
// Forward-Backwards Up-Down
model.render(null, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F,
0.0625F);
GL11.glPopMatrix();
}
}
to
@Override
public void renderItem(ItemRenderType type, ItemStack item, Object... data) {
GL11.glPushMatrix();
Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation(
"ModInfo.ID.toLowerCase() + :textures/items/LaserWrench.png"));
switch (type) {
case EQUIPPED:
//scale, rotate, and translate to your liking
break;
case EQUIPPED_FIRST_PERSON:
//scale, rotate, and translate to your liking
break;
default:
break;
}
model.render(null, 0, 0, 0, 0, 0, 0.625F);
GL11.glPopMatrix();
}
You could use nested if statements if you wanted to I guess, this is just the way that I do mine. The type "EQUIPPED" is only the third person render view which doesn't allow for any other way to be rendered. And having default break makes it not even attempt to render if it's given any other render type. Hope I helped