package info.jbcs.minecraft.vending.inventory;
import info.jbcs.minecraft.vending.tileentity.TileEntityVendingMachine;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
public class ContainerMultipleVendingMachine extends ContainerTileEntity<TileEntityVendingMachine> {
public ContainerMultipleVendingMachine(IInventory playerInv, TileEntityVendingMachine machine) {
super(playerInv, machine, 8, 84);
for (int y = 0; y < 3; y++) {
for (int x = 0; x < 3; x++) {
addSlotToContainer(new Slot(machine, y * 3 + x, 62 + x * 18, 17 + y * 18));
}
}
for (int y = 0; y < 2; y++) {
for (int x = 0; x < 2; x++) {
addSlotToContainer(new Slot(machine, 9 + y * 2 + x, 14 + x * 18, 26 + y * 18));
}
}
addSlotToContainer(new Slot(machine, 13, 134, 35));
}
}