Merge pull request #943 from dmillerw/master
Fixed pipes rendering in hand as flat texture
This commit is contained in:
commit
a4765c766e
1 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,8 @@ public class PipeItemRenderer implements IItemRenderer {
|
||||||
return true;
|
return true;
|
||||||
case EQUIPPED:
|
case EQUIPPED:
|
||||||
return true;
|
return true;
|
||||||
|
case EQUIPPED_FIRST_PERSON:
|
||||||
|
return true;
|
||||||
case INVENTORY:
|
case INVENTORY:
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
|
@ -90,6 +92,9 @@ public class PipeItemRenderer implements IItemRenderer {
|
||||||
case EQUIPPED:
|
case EQUIPPED:
|
||||||
renderPipeItem((RenderBlocks) data[0], item, -0.4f, 0.50f, 0.35f);
|
renderPipeItem((RenderBlocks) data[0], item, -0.4f, 0.50f, 0.35f);
|
||||||
break;
|
break;
|
||||||
|
case EQUIPPED_FIRST_PERSON:
|
||||||
|
renderPipeItem((RenderBlocks) data[0], item, -0.4f, 0.50f, 0.35f);
|
||||||
|
break;
|
||||||
case INVENTORY:
|
case INVENTORY:
|
||||||
renderPipeItem((RenderBlocks) data[0], item, -0.5f, -0.5f, -0.5f);
|
renderPipeItem((RenderBlocks) data[0], item, -0.5f, -0.5f, -0.5f);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue