package com.choonster.testmod3.recipe;

import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.ItemAxe;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.ShapelessRecipes;
import scala.actors.threadpool.Arrays;

import java.util.Random;

public class ShapelessCuttingRecipe extends ShapelessRecipes {

	private Random random = new Random();

	public ShapelessCuttingRecipe(ItemStack output, ItemStack... input) {
		super(output, Arrays.asList(input));
	}

	private ItemStack damageAxe(ItemStack stack) {
		if (stack.attemptDamageItem(1, random)) {
			return null;
		}

		return stack;
	}

	@Override
	public ItemStack[] getRemainingItems(InventoryCrafting inventoryCrafting) {
		ItemStack[] remainingItems = new ItemStack[inventoryCrafting.getSizeInventory()];

		for (int i = 0; i < remainingItems.length; ++i) {
			ItemStack itemstack = inventoryCrafting.getStackInSlot(i);

			if (itemstack != null && itemstack.getItem() instanceof ItemAxe) {
				remainingItems[i] = damageAxe(itemstack.copy());
			} else {
				remainingItems[i] = net.minecraftforge.common.ForgeHooks.getContainerItem(itemstack);
			}
		}

		return remainingItems;
	}
}

@@ -212,37 +212,24 @@
 es;%0A
+%0A
 import 
-scala.actors.threadpoo
+java.uti
 l.Ar
@@ -234,17 +234,16 @@
 Arrays;%0A
-%0A
 import j

Fix wrong Arrays import in ShapelessCuttingRecipe