Added methods for using Material instead of item ids