@Override
public ContainerAdvanced getContainer(BackpackSave backpack, IInventory[] inventories, EntityPlayer entityPlayer) {
IInventory[] containerInventories = new IInventory[4];
InventoryCraftingGrid craftingGrid = new InventoryCraftingGrid(inventories[1]);
InventoryRecipes recipes = null;
if(backpack.isIntelligent()) {
recipes = new InventoryRecipes(craftingGrid);
}
containerInventories[0] = inventories[0];
containerInventories[1] = inventories[1];
containerInventories[2] = craftingGrid;