package reborncore.api;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;

/**
 * Added onto an item
 */
public interface IToolHandler {

	/**
	 * Called when a machine is actived with the item that has IToolHandler on it
	 *
	 * @param pos the pos of the block
	 * @param world the world of the block
	 * @param player the player that actived the block
	 * @param side the side that the player actived
	 * @param damage if the tool should be damged, or power taken
	 * @return If the tool can handle being actived on the block, return false when the tool is broken or out of power for example.
	 */
	boolean handleTool(BlockPos pos, World world, EntityPlayer player, EnumFacing side, boolean damage);

}

@@ -67,16 +67,53 @@
 Player;%0A
+import net.minecraft.item.ItemStack;%0A
 import n
@@ -369,16 +369,52 @@
  it%0A%09 *%0A
+%09 * @param stack the held itemstack%0A
 %09 * @par
@@ -799,16 +799,33 @@
 dleTool(
+ItemStack stack, 
 BlockPos

Add the stack as it might be useful :P