update forge + make grid work with forge model

This commit is contained in:
Raoul Van den Berge
2015-12-26 23:00:11 +01:00
parent e7fe264f5a
commit 49baf7a3f7
6 changed files with 20 additions and 137 deletions

View File

@@ -114,7 +114,7 @@ public abstract class BlockBase extends Block
if (tile instanceof TileBase)
{
((TileBase) tile).setDirection(BlockPistonBase.func_180695_a(world, pos, player));
((TileBase) tile).setDirection(BlockPistonBase.getFacingFromEntity(world, pos, player));
}
}

View File

@@ -162,11 +162,11 @@ public abstract class GuiBase extends GuiContainer
font = fontRendererObj;
}
itemRender.func_180450_b(stack, x, y);
itemRender.renderItemIntoGUI(stack, x, y);
if (withOverlay)
{
itemRender.func_180453_a(font, stack, x, y, null);
itemRender.renderItemOverlayIntoGUI(font, stack, x, y, null);
}
zLevel = 0.0F;