Updated to use mc-dev rename revision 1

This commit is contained in:
Nathan Adams
2011-11-29 23:17:43 +00:00
parent 8665161eaa
commit 8fbe78a2c3
117 changed files with 907 additions and 1161 deletions

View File

@@ -9,12 +9,12 @@ public class ContainerWorkbench extends Container {
private int i;
private int j;
public ContainerWorkbench(InventoryPlayer inventoryplayer, World world, int i, int j, int k) {
public ContainerWorkbench(PlayerInventory playerinventory, World world, int i, int j, int k) {
this.c = world;
this.h = i;
this.i = j;
this.j = k;
this.a((Slot) (new SlotResult(inventoryplayer.d, this.craftInventory, this.resultInventory, 0, 124, 35)));
this.a((Slot) (new SlotResult(playerinventory.d, this.craftInventory, this.resultInventory, 0, 124, 35)));
int l;
int i1;
@@ -27,12 +27,12 @@ public class ContainerWorkbench extends Container {
for (l = 0; l < 3; ++l) {
for (i1 = 0; i1 < 9; ++i1) {
this.a(new Slot(inventoryplayer, i1 + l * 9 + 9, 8 + i1 * 18, 84 + l * 18));
this.a(new Slot(playerinventory, i1 + l * 9 + 9, 8 + i1 * 18, 84 + l * 18));
}
}
for (l = 0; l < 9; ++l) {
this.a(new Slot(inventoryplayer, l, 8 + l * 18, 142));
this.a(new Slot(playerinventory, l, 8 + l * 18, 142));
}
this.a((IInventory) this.craftInventory);