{
List<ItemStack> toolParts = new ArrayList<ItemStack>();
mat = TConstructRegistry.toolMaterials.get(matID);
for (ItemKey key : PatternBuilder.instance.materials)
{
MaterialSet set = PatternBuilder.instance.materialSets.get(key.key);
if (set.materialID == matID)
{
ItemStack stack = new ItemStack(key.item, 1, key.damage);
toolParts.add(stack);
}