Add support for the new ItemRenderer type

This commit is contained in:
pahimar 2013-05-13 21:20:53 -04:00
parent d841fbef4f
commit fb90f5708c
4 changed files with 16 additions and 0 deletions

View file

@ -55,6 +55,10 @@ public class ItemAlchemicalChestRenderer implements IItemRenderer {
renderAlchemicalChest(1.0F, 1.0F, 1.0F); renderAlchemicalChest(1.0F, 1.0F, 1.0F);
break; break;
} }
case EQUIPPED_FIRST_PERSON: {
renderAlchemicalChest(1.0F, 1.0F, 1.0F);
break;
}
case INVENTORY: { case INVENTORY: {
renderAlchemicalChest(0.0F, 0.075F, 0.0F); renderAlchemicalChest(0.0F, 0.075F, 0.0F);
break; break;

View file

@ -55,6 +55,10 @@ public class ItemAludelRenderer implements IItemRenderer {
renderAludel(0.0F, 0.0F, 1.0F, 1.0F); renderAludel(0.0F, 0.0F, 1.0F, 1.0F);
return; return;
} }
case EQUIPPED_FIRST_PERSON: {
renderAludel(0.0F, 0.0F, 1.0F, 1.0F);
return;
}
case INVENTORY: { case INVENTORY: {
renderAludel(-1.0F, -0.9F, 0.0F, 1.0F); renderAludel(-1.0F, -0.9F, 0.0F, 1.0F);
return; return;

View file

@ -55,6 +55,10 @@ public class ItemCalcinatorRenderer implements IItemRenderer {
renderCalcinator(0.0F, 0.0F, 1.0F, 1.0F); renderCalcinator(0.0F, 0.0F, 1.0F, 1.0F);
return; return;
} }
case EQUIPPED_FIRST_PERSON: {
renderCalcinator(0.0F, 0.0F, 1.0F, 1.0F);
return;
}
case INVENTORY: { case INVENTORY: {
renderCalcinator(0.0F, -0.1F, 1.0F, 1.0F); renderCalcinator(0.0F, -0.1F, 1.0F, 1.0F);
return; return;

View file

@ -55,6 +55,10 @@ public class ItemGlassBellRenderer implements IItemRenderer {
renderGlassBell(-0.2F, -0.85F, 0.8F, 1.4F); renderGlassBell(-0.2F, -0.85F, 0.8F, 1.4F);
return; return;
} }
case EQUIPPED_FIRST_PERSON: {
renderGlassBell(-0.2F, -0.85F, 0.8F, 1.4F);
return;
}
case INVENTORY: { case INVENTORY: {
renderGlassBell(-1.0F, -1.675F, 0.0F, 1.4F); renderGlassBell(-1.0F, -1.675F, 0.0F, 1.4F);
return; return;