Merge remote-tracking branch 'origin/master'

This commit is contained in:
pahimar 2012-10-02 22:01:15 -04:00
commit 640a1cbb56
8 changed files with 3 additions and 2 deletions

View file

@ -20,6 +20,7 @@ public class GuiCalcinator extends GuiContainer {
public GuiCalcinator(InventoryPlayer player, TileCalcinator calcinator) {
super(new ContainerCalcinator(player, calcinator));
this.ySize = 176;
this.calcinator = calcinator;
}

View file

@ -31,14 +31,14 @@ public class ContainerCalcinator extends Container {
{
for (int inventoryColumnIndex = 0; inventoryColumnIndex < 9; ++inventoryColumnIndex)
{
this.addSlotToContainer(new Slot(inventoryPlayer, inventoryColumnIndex + inventoryRowIndex * 9 + 9, 8 + inventoryColumnIndex * 18, 84 + inventoryRowIndex * 18));
this.addSlotToContainer(new Slot(inventoryPlayer, inventoryColumnIndex + inventoryRowIndex * 9 + 9, 8 + inventoryColumnIndex * 18, 94 + inventoryRowIndex * 18));
}
}
// Add the player's action bar slots to the container
for (int actionBarSlotIndex = 0; actionBarSlotIndex < 9; ++actionBarSlotIndex)
{
this.addSlotToContainer(new Slot(inventoryPlayer, actionBarSlotIndex, 8 + actionBarSlotIndex * 18, 142));
this.addSlotToContainer(new Slot(inventoryPlayer, actionBarSlotIndex, 8 + actionBarSlotIndex * 18, 152));
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.