Merge pull request #1762 from MatthiasMann/sliceAndSplice_gui

align the progress arrow and output slot with the input slots
This commit is contained in:
tterrag1098 committed 2015-01-24 15:47:34 -05:00
commit 09cc619b9b
3 files changed
+3 -3

No files matched your search

@@ -21,7 +21,7 @@ public class ContainerSliceAndSplice extends AbstractMachineContainer {
new Point(72,16)
};
public static final Point OUTPUT_SLOT = new Point(134, 48);
public static final Point OUTPUT_SLOT = new Point(134, 49);
public ContainerSliceAndSplice(InventoryPlayer playerInv, AbstractMachineEntity te) {
super(playerInv, te);
@@ -12,7 +12,7 @@ public class GuiSliceAndSplice extends GuiPoweredMachineBase<TileSliceAndSplice>
public GuiSliceAndSplice(InventoryPlayer par1InventoryPlayer, TileSliceAndSplice te) {
super(te, new ContainerSliceAndSplice(par1InventoryPlayer, te));
addProgressTooltip(101, 46, 24, 16);
addProgressTooltip(103, 49, 24, 16);
}
/**
@@ -30,7 +30,7 @@ public class GuiSliceAndSplice extends GuiPoweredMachineBase<TileSliceAndSplice>
if(shouldRenderProgress()) {
int scaled = getTileEntity().getProgressScaled(24);
drawTexturedModalRect(k + 101, l + 46, 176, 14, scaled + 1, 16);
drawTexturedModalRect(k + 103, l + 49, 176, 14, scaled + 1, 16);
}
super.drawGuiContainerBackgroundLayer(par1, par2, par3);