update forge + make grid work with forge model
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user