Skip to content

Commit

Permalink
Made first- and thirdperson rendering look nicer
Browse files Browse the repository at this point in the history
Moved plate up slightly in first and thirdperson
  • Loading branch information
MrSpring committed Dec 9, 2016
1 parent e534170 commit af4a783
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,20 @@ public ItemRenderPlate()
this.renderLikeBlock();
}

@Override
public void renderEquipped(ItemRenderType type, ItemStack stack, Object... data)
{
super.renderEquipped(type, stack, data);
translate(0F, -0.4F, 0F);
}

@Override
public void renderEquippedFirstPerson(ItemRenderType type, ItemStack stack, Object... data)
{
super.renderEquippedFirstPerson(type, stack, data);
translate(0F, -0.4F, 0F);
}

@Override
public void renderAnyTypes(ItemStack item, Object... data)
{
Expand Down

0 comments on commit af4a783

Please sign in to comment.